A Pen by Oliver Pope on CodePen.
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
| // header.scss | |
| // oliver pope | |
| // VARIABLES | |
| // Base Styles | |
| $ff: "Helvetica Neue", Arial, Helvetica, sans-serif; // font | |
| $tx: #333; // color of text | |
| $bg: #fff; // color of <html> background |
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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| html { | |
| margin: 3em 15%; | |
| font-family: Helvetica, Arial, sans-serif; | |
| color: #111; | |
| background: #0074D9; | |
| } |
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
| /* Checkbox Hack */ | |
| input[type=checkbox] { | |
| position: absolute; | |
| top: -9999px; | |
| left: -9999px; | |
| } | |
| label { | |
| -webkit-appearance: push-button; | |
| -moz-appearance: button; |
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
| @import url(http://fonts.googleapis.com/css?family=Oswald); | |
| @import url(http://fonts.googleapis.com/css?family=Merriweather:400,700); | |
| @import url(https://fonts.googleapis.com/css?family=Open+Sans); | |
| html { | |
| margin: 0; | |
| font-family: "Open Sans"; | |
| } | |
| body { | |
| margin: 0; |
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
| @import url(http://fonts.googleapis.com/css?family=Oswald); | |
| @import url(http://fonts.googleapis.com/css?family=Merriweather:400,700); | |
| @import url(https://fonts.googleapis.com/css?family=Open+Sans); | |
| html { | |
| margin: 0; | |
| font-family: "Merriweather"; | |
| } | |
| body { | |
| margin: 0; |
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
| @import url(http://fonts.googleapis.com/css?family=Oswald); | |
| @import url(https://fonts.googleapis.com/css?family=Nunito:300); | |
| @import url(https://fonts.googleapis.com/css?family=Merriweather); | |
| @import url(https://fonts.googleapis.com/css?family=Open+Sans); | |
| html { | |
| margin: 0; | |
| font-family: "Oswald"; | |
| } | |
| body { |
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
| @import url(http://fonts.googleapis.com/css?family=Merriweather); | |
| @import url(http://fonts.googleapis.com/css?family=Oswald); |
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
| @import url(http://fonts.googleapis.com/css?family=Merriweather); | |
| @import url(http://fonts.googleapis.com/css?family=Oswald); | |
| #wrapper { | |
| padding-bottom: 100px; | |
| } | |
| header { | |
| font-family: "Oswald"; | |
| position: fixed; | |
| top: 0; | |
| right: 0; |