Created
August 19, 2012 21:26
-
-
Save rwaterlow/3397824 to your computer and use it in GitHub Desktop.
Separated NAV
This file contains hidden or 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
| /** | |
| * Separated NAV | |
| */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background: #272727; | |
| font-family: Armata,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif; | |
| min-height: 100%; | |
| } | |
| header { | |
| width: 800px; | |
| margin: 0 auto; | |
| /*background: url(http://www.rufuswaterlow.com/img/header.png) no-repeat 50%;*/} | |
| nav { | |
| margin-top: -55px; | |
| font-size: 30px; | |
| word-spacing: -7px; | |
| text-transform: uppercase; | |
| } | |
| a { | |
| color: #272727; | |
| text-decoration: none; | |
| } | |
| nav a { | |
| padding: 5px 22px; | |
| } | |
| nav a:hover { | |
| color: yellow; | |
| background: #272727; | |
| opacity: 0.85; | |
| } | |
| .nav-left { | |
| float: left; | |
| width: 320px; | |
| text-align: left; | |
| padding-left: 31px; | |
| } | |
| .nav-right { | |
| float: right; | |
| width: 320px; | |
| text-align: right; | |
| } | |
| .border-left { | |
| border-left: solid 2px gray; | |
| } | |
| .border-right { | |
| border-right: solid 2px gray; | |
| } | |
| .head-wrapper { | |
| position: fixed; | |
| width: 100%; | |
| height: auto; | |
| top: 0px; | |
| background: url() yellow repeat-x 50%; | |
| border-bottom: solid white; | |
| } | |
| .logo { | |
| background: /*url(http://www.rufuswaterlow.com/_wip/test2/img/orange.png) */repeat-y 50%; | |
| height: 80px; | |
| margin: 0 auto; | |
| } | |
| .circle { | |
| width: 125px; | |
| height: 125px; | |
| border-radius: 75px; | |
| font-size: 35px; | |
| color: #fff; | |
| line-height: 125px; | |
| text-align: center; | |
| background: orange; | |
| border: solid white; | |
| margin: 0 auto; | |
| padding-top: 0px; | |
| } | |
| .circle a:hover { | |
| color: yellow; | |
| } | |
| .content-wrap { | |
| position: relative; | |
| width: 100%; | |
| height: auto; | |
| top: 85px; | |
| background: red; | |
| z-index: -100; | |
| } | |
| #section_1, #section_2, #section_3, #section_4 { | |
| width: 100%; | |
| height: 800px; | |
| } | |
| #section_1 { | |
| background: url(http://www.ohmydeer.be/img/shadow_bottom.png) repeat-x bottom, linear-gradient(180deg, blue, green); | |
| } | |
| #section_2 { | |
| background: url(http://www.ohmydeer.be/img/shadow_bottom.png) repeat-x bottom, green; | |
| } | |
| #section_3 { | |
| background: url(http://www.ohmydeer.be/img/shadow_bottom.png) repeat-x bottom, linear-gradient(180deg, green, teal); | |
| } | |
| #section_4 { | |
| background: url(http://www.ohmydeer.be/img/shadow_bottom.png) repeat-x bottom, teal; | |
| } | |
| footer { | |
| position: fixed; | |
| width: 100%; | |
| height: auto; | |
| bottom: 0px; | |
| padding: 20px 0px; | |
| background: linear-gradient(90deg, #393939, #202020); | |
| color: white; | |
| border-top: 2px solid white; | |
| } | |
| .foot { | |
| margin: 0 auto; | |
| width: 80%; | |
| } | |
| .foot a { | |
| /*margin-right: 250px;*/ | |
| float: right; | |
| color: white; | |
| } | |
| .foot a:hover { | |
| color: teal; | |
| } |
This file contains hidden or 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
| <link href="http://fonts.googleapis.com/css?family=Lato:300,400|Armata|Quicksand|Marvel" rel="stylesheet" type="text/css"> | |
| <!-- content to be placed inside <body>…</body> --> | |
| <div class="head-wrapper"> | |
| <header> | |
| <div class="logo"> | |
| <div class="circle"><a href="#">LOGO</a></div> | |
| </div> <!--END logo--> | |
| <div class="nav-left"> | |
| <nav> | |
| <a class="border-right" href="#section_1" title="Home">Home</a> | |
| <a class="border-right" href="#section_2" title="About">About</a> | |
| </nav> | |
| </div> <!--END nav-left--> | |
| <div class="nav-right"> | |
| <nav> | |
| <a class="border-left" href="#section_3" title="Music">Music</a> | |
| <a class="border-left" href="#section_4" title="Contact">Contact</a> | |
| </nav> <!--END nav--> | |
| </div> <!--END nav-right--> | |
| </header> | |
| </div> <!--END head-wrapper--> | |
| <div class="content-wrap"> | |
| <div id="section_1"></div> | |
| <div id="section_2"></div> | |
| <div id="section_3"></div> | |
| <div id="section_4"></div> | |
| </div> <!--END content-wrap--> | |
| <footer> | |
| <div class="foot"> | |
| A change will do you good ... | |
| <a href="http://www.rufuswaterlow.com">© Rufus Waterlow 2012</a> | |
| </div> | |
| </footer> | |
This file contains hidden or 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
| {"view":"separate","fontsize":"90","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment