-
-
Save scriptonian/e06cf87ee106759dbee8 to your computer and use it in GitHub Desktop.
Base CSS document with google fonts, Eric Meyer's reset.css, Ethan Schoonover's solarized palette and some basic responsive code.
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=Roboto+Slab:700|Exo+2:300,600); | |
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */ | |
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} | |
/* Solarized Palette - http://ethanschoonover.com/solarized --------- | |
lightgray : #819090; | |
gray : #708284; | |
mediumgray : #536870; | |
darkgray : #475B62; | |
darkblue : #0A2933; | |
darkerblue : #042029; | |
paleryellow : #FCF4DC; | |
paleyellow : #EAE3CB; | |
yellow : #A57706; | |
orange : #BD3613; | |
red : #D11C24; | |
pink : #C61C6F; | |
purple : #595AB7; | |
blue : #2176C7; | |
cyan : #259286; | |
green : #738A05; */ | |
body { | |
font-family: "Exo 2", "Helvetica Neue", Helvetica, sans-serif; | |
font-weight: 300; | |
font-size: 1.2em; | |
line-height: 1.2em; | |
background: #FDF6E3; | |
color: #475B62; | |
} | |
strong { | |
font-weight: 600; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: 'Roboto Slab', "Helvetica Neue", Helvetica, sans-serif; | |
font-weight: 700; | |
color: #CB4B19; | |
font-size: 1.75em; | |
margin-bottom: .4em; | |
} | |
p { | |
margin-bottom: .5em; | |
} | |
.container { | |
width: 80%; | |
max-width: 1200px; | |
margin: 0 auto; | |
margin-top:10px; | |
} | |
@media all and (max-width: 500px) { | |
h2 { | |
padding-left: 10px; | |
text-align: center; | |
} | |
.container { | |
width: 100%; | |
} | |
} | |
#graphic { | |
margin: 0 auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment