-
-
Save adam/9c246090a895764cd366 to your computer and use it in GitHub Desktop.
How to make the header section of the Tidy paper lantern theme float
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/styled/Tidy/styles.css b/styled/Tidy/styles.css | |
index 5520f5c..41356c8 100644 | |
--- a/styled/Tidy/styles.css | |
+++ b/styled/Tidy/styles.css | |
@@ -6,39 +6,20 @@ body { | |
color: #444; | |
direction: ltr; | |
font-family: 'Roboto', sans-serif; | |
- front-size:small; | |
+ font-size:small; | |
+ padding-top:125px; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
footer { | |
min-height: inherit; | |
-} | |
- | |
-/* HOWTO: remove the floaty header */ | |
-header .navbar-fixed-top { | |
- /* no fixed header */ | |
- position:relative; | |
- top:inherit; | |
- width:inherit; | |
-} | |
-body { | |
- padding-top:0; | |
-} | |
-.navbar { | |
- margin-bottom:0; | |
-} | |
-/* END HOWTO*/ | |
-footer { | |
margin-top:2em; | |
background:none; | |
} | |
footer ul li a { | |
font-size:12px; | |
} | |
-img#imgLogo::after { | |
- content:"Mooooooooooo"; | |
-} | |
.navbar-cpanel { | |
background-color: #EFEFEF; | |
@@ -47,6 +28,11 @@ img#imgLogo::after { | |
#quickLinks { | |
background:#333333; | |
color:#FFFFFF; | |
+ position:fixed; | |
+ top:60px; | |
+ right:0; | |
+ left:0; | |
+ z-index:1030; | |
} | |
#quickLinks a { | |
color:#FFFFFF; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment