Created
February 12, 2015 00:05
-
-
Save carolineartz/f787fc2990328fa44932 to your computer and use it in GitHub Desktop.
raw responsify reset for import
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
/* CSS file generated by Responsify */ | |
/* Columns: 5, Gutter Width: 1.5, Breakpoints: 480 */ | |
html, body, main, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
abbr, address, cite, code, | |
del, dfn, em, img, ins, kbd, q, samp, | |
small, strong, sub, sup, var, | |
b, i, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, figcaption, figure, | |
footer, header, hgroup, menu, nav, section, summary, | |
time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
outline: 0; | |
font-size: 100%; | |
vertical-align: baseline; | |
background: transparent; | |
} | |
main, article, aside, details, figcaption, figure, | |
footer, header, hgroup, menu, nav, section { | |
/* display:block;*/ | |
font-family: 'Open Sans'; | |
} | |
.span1, .span2, .span3, .span4, .span5 { | |
float: left; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.col { | |
margin-left: 1.5%; | |
} | |
.col:first-child { | |
margin-left: 0; | |
} | |
.span1 { | |
width: 18.8%; | |
} | |
.span2 { | |
width: 39.1%; | |
} | |
.span3 { | |
width: 59.4%; | |
} | |
.span4 { | |
width: 79.7%; | |
} | |
.span5 { | |
width: 100%; | |
margin-left: 0; | |
} | |
h1 { | |
font-size: 1.714285714em; | |
/* 24 / 14 */ | |
line-height: 1.5em; | |
/* 21 / 14 */ | |
} | |
h2 { | |
font-size: 1.5em; | |
/* 21 / 14 */ | |
line-height: 1.5em; | |
/* 21 / 14 */ | |
} | |
p { | |
font-size: 1em; | |
/* 14 / 14 */ | |
line-height: 1.5em; | |
/* 21 / 14 */ | |
margin-bottom: 1.5em; | |
/* 21 / 14 */ | |
} | |
#container, .inner { | |
margin: 0 auto; | |
} | |
#container { | |
clear: both; | |
padding-top: 20px; | |
padding-right: 2em; | |
padding-left: 2em; | |
} | |
.alt { | |
color: #fff; | |
color: rgba(255, 255, 255, 0.9); | |
letter-spacing: 0.05em; | |
} | |
/*Button Reset*/ | |
.button { | |
border: none; | |
font-family: inherit; | |
background: none; | |
cursor: pointer; | |
display: inline-block; | |
margin: 15px 5px; | |
text-transform: uppercase; | |
letter-spacing: 1px; | |
font-weight: 600; | |
outline: none; | |
position: relative; | |
-webkit-transition: all 0.3s; | |
-o-transition: all 0.3s; | |
-moz-transition: all 0.3s; | |
transition: all 0.3s; | |
} | |
.button:after { | |
content: ''; | |
position: absolute; | |
z-index: -1; | |
-webkit-transition: all 0.3s; | |
-moz-transition: all 0.3s; | |
-o-transition: all 0.3s; | |
transition: all 0.3s; | |
} | |
.icon-star1:after, .icon-star2:after { | |
content: "using star"; | |
font-size: 2em; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
position: relative; | |
-webkit-font-smoothing: antialiased; | |
} | |
.cf { | |
*zoom: 1; | |
} | |
/* MEDIA QUERIES */ | |
/* Responsify Defaults */ | |
@media screen and (max-width: 768px) { | |
nav .span2 { | |
width: 100%; | |
} | |
.span3, article { | |
width: 100%; | |
} | |
.span2, aside { | |
width: 100%; | |
margin-left: 0; | |
} | |
#container, .inner { | |
width: 90%; | |
padding: 0 5% 0 5%; | |
} | |
} | |
@media screen and (max-width: 480px) { | |
.span1 { | |
width: 100%; | |
} | |
nav ul li { | |
width: 100%; | |
margin: 0 0 5px 0; | |
} | |
nav a { | |
margin: 0; | |
padding: 14px 0 14px 0; | |
} | |
} | |
/* Custom Breakpoints */ | |
@media screen and (max-width: 480px) { | |
/* Add your styles for devices with a maximum width of 480 */ | |
} | |
/*// Micro Clearfix */ | |
/* For modern browsers */ | |
.cf:before, | |
.cf:after { | |
content: ""; | |
display: table; | |
} | |
.cf:after { | |
clear: both; | |
} | |
/* For IE 6/7 (trigger hasLayout) */ | |
.cf { | |
*zoom: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment