Skip to content

Commit 2091de3

Browse files
committed
Fix navlinks for small screens
1 parent 9137542 commit 2091de3

23 files changed

Lines changed: 100 additions & 305 deletions

chapters/01/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647

4748
<div class="navbar-nav ml-auto">
@@ -50,6 +51,7 @@
5051

5152
</nav>
5253

54+
</div>
5355

5456
<main role="main" class="container">
5557

@@ -150,21 +152,6 @@ <h1 id="Create-A-Database">Create A Database<a class="anchor-link" href="#Create
150152

151153

152154

153-
<footer class="footer">
154-
<div class="container">
155-
<span class="text-muted">
156-
<p class="small">
157-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
158-
The flights database, and much of the SQL code, is taken, with grateful thanks,
159-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
160-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
161-
<br/>
162-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
163-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
164-
</p>
165-
</span>
166-
</div>
167-
</footer>
168155

169156

170157
<script>

chapters/02/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../01/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -245,21 +247,6 @@ <h1 id="Create-a-Table">Create a Table<a class="anchor-link" href="#Create-a-Tab
245247

246248

247249

248-
<footer class="footer">
249-
<div class="container">
250-
<span class="text-muted">
251-
<p class="small">
252-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
253-
The flights database, and much of the SQL code, is taken, with grateful thanks,
254-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
255-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
256-
<br/>
257-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
258-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
259-
</p>
260-
</span>
261-
</div>
262-
</footer>
263250

264251

265252
<script>

chapters/03/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../02/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -260,21 +262,6 @@ <h1 id="Add-Some-Data">Add Some Data<a class="anchor-link" href="#Add-Some-Data"
260262

261263

262264

263-
<footer class="footer">
264-
<div class="container">
265-
<span class="text-muted">
266-
<p class="small">
267-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
268-
The flights database, and much of the SQL code, is taken, with grateful thanks,
269-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
270-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
271-
<br/>
272-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
273-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
274-
</p>
275-
</span>
276-
</div>
277-
</footer>
278265

279266

280267
<script>

chapters/04/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../03/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -231,21 +233,6 @@ <h1 id="Look-At-The-Data">Look At The Data<a class="anchor-link" href="#Look-At-
231233

232234

233235

234-
<footer class="footer">
235-
<div class="container">
236-
<span class="text-muted">
237-
<p class="small">
238-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
239-
The flights database, and much of the SQL code, is taken, with grateful thanks,
240-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
241-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
242-
<br/>
243-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
244-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
245-
</p>
246-
</span>
247-
</div>
248-
</footer>
249236

250237

251238
<script>

chapters/05/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../04/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -361,21 +363,6 @@ <h1 id="Change-The-Data">Change The Data<a class="anchor-link" href="#Change-The
361363

362364

363365

364-
<footer class="footer">
365-
<div class="container">
366-
<span class="text-muted">
367-
<p class="small">
368-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
369-
The flights database, and much of the SQL code, is taken, with grateful thanks,
370-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
371-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
372-
<br/>
373-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
374-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
375-
</p>
376-
</span>
377-
</div>
378-
</footer>
379366

380367

381368
<script>

chapters/06/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../05/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -401,21 +403,6 @@ <h1 id="Delete-Some-Data">Delete Some Data<a class="anchor-link" href="#Delete-S
401403

402404

403405

404-
<footer class="footer">
405-
<div class="container">
406-
<span class="text-muted">
407-
<p class="small">
408-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
409-
The flights database, and much of the SQL code, is taken, with grateful thanks,
410-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
411-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
412-
<br/>
413-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
414-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
415-
</p>
416-
</span>
417-
</div>
418-
</footer>
419406

420407

421408
<script>

chapters/07/index.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
</head>
1818

1919
<body>
20-
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
20+
<div class="fixed-top">
21+
22+
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
2123

2224
<a class="navbar-brand" href="#">SQL for Python Programmers</a>
2325

@@ -40,8 +42,7 @@
4042
</div>
4143
</div>
4244
</nav>
43-
44-
<nav class="navbar bg-white fixed-top" id="navlinks">
45+
<nav class="navbar bg-white">
4546

4647
<div class="navbar-nav">
4748
<a class="btn btn-outline-primary btn-sm" href="../06/"><i class="fa fa-backward fa-fw" aria-hidden="true"></i>&nbsp;Previous</a>
@@ -54,6 +55,7 @@
5455

5556
</nav>
5657

58+
</div>
5759

5860
<main role="main" class="container">
5961

@@ -294,21 +296,6 @@ <h1 id="Dynamic-SQL">Dynamic SQL<a class="anchor-link" href="#Dynamic-SQL">&#182
294296

295297

296298

297-
<footer class="footer">
298-
<div class="container">
299-
<span class="text-muted">
300-
<p class="small">
301-
This tutorial was inspired by a talk given by <a href="https://twitter.com/waveform80">Dave Jones</a> at <a href="https://twitter.com/pythonnw">Python North West</a>.
302-
The flights database, and much of the SQL code, is taken, with grateful thanks,
303-
from the <a href="https://waveform.org.uk/presentations/sql">slides</a> and
304-
<a href="https://github.com/waveform80/presentations">source code</a> for that talk.
305-
<br/>
306-
Many thanks also to <a href="https://vknight.org/">Dr. Vincent Knight</a> of <a href="http://www.cardiff.ac.uk">Cardiff University</a> for the use of his
307-
<a href="https://vknight.org/gt/">Game Theory Course Notes</a> and their <a href="https://github.com/drvinceknight/gt">source code</a>.
308-
</p>
309-
</span>
310-
</div>
311-
</footer>
312299

313300

314301
<script>

0 commit comments

Comments
 (0)