Skip to content

Commit ff62228

Browse files
committedMay 5, 2015
use static navbars in bootstrap3
This makes things look a bit better, especially if the navbar expands. Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent a403a21 commit ff62228

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed
 

‎CHANGES.txt

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ New in master
44
Features
55
--------
66

7+
* Use static navbars in bootstrap3 themes
8+
79
Bugfixes
810
--------
911

‎nikola/data/themes/bootstrap3-jinja/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<!-- Menubar -->
1515

16-
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
16+
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
1717
<div class="container"><!-- This keeps the margins nice -->
1818
<div class="navbar-header">
1919
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">

‎nikola/data/themes/bootstrap3/assets/css/theme.css

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
body {
2-
margin-top: 60px;
3-
}
4-
51
#container {
62
width: 960px;
73
margin: 0 auto;

‎nikola/data/themes/bootstrap3/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ${template_hooks['extra_head']()}
1313

1414
<!-- Menubar -->
1515

16-
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
16+
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
1717
<div class="container"><!-- This keeps the margins nice -->
1818
<div class="navbar-header">
1919
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">

0 commit comments

Comments
 (0)
Please sign in to comment.