Created
September 11, 2014 20:11
-
-
Save elirousso/5e760867a74569a1dcd1 to your computer and use it in GitHub Desktop.
bslc
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
/*========================================= | |
Reset | |
=========================================== */ | |
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; } | |
blockquote, q { | |
quotes: none; } | |
blockquote:before, blockquote:after, q:before, q:after { | |
content: none; } | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; } | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; } | |
body { | |
font-family: "Gotham"; | |
background: #eee; | |
-webkit-font-smoothing: antialiased; } | |
.card { | |
background: white; | |
max-width: 600px; | |
margin: 40px auto; | |
position: relative; } | |
.card-inner { | |
margin: 0 80px; | |
padding-bottom: 20px; } | |
ul { | |
list-style: none; } | |
.card-main { | |
text-align: center; | |
padding: 50px 20px 10px 20px; } | |
h6 { | |
font-weight: bold; | |
color: #B8B8B8; | |
text-transform: uppercase; | |
font-size: 14px; } | |
.header { | |
padding: 30px; | |
border-bottom: 1px solid #eee; } | |
.header h4 { | |
font-size: 22px; } | |
.rate { | |
display: inline-block; | |
text-align: center; | |
padding: 30px 30px 25px 30px; | |
width: 50%; | |
padding: 40px; | |
border-top: 1px solid #eee; | |
border-bottom: 1px solid #eee; | |
margin-top: 40px; } | |
.rate:last-child { | |
border-left: 1px solid #eee; } | |
.rate h3 { | |
font-size: 24px; | |
font-size: 40px; | |
font-weight: 200; } | |
.rate h6 { | |
padding: 10px; } | |
.detail { | |
padding: 25px 0; | |
border-bottom: 1px solid #eee; | |
position: relative; } | |
.detail h6, h3 { | |
display: inline-block; } | |
.detail h6 { | |
float: left; | |
margin-top: 5px; } | |
.detail h3 { | |
float: right; | |
font-size: 24px; | |
font-weight: 200; } | |
.detail .helper { | |
position: absolute; | |
top: 23px; | |
right: -52px; | |
padding: 7px 10px; | |
background: #f1f1f1; | |
border-radius: 50%; | |
color: #8D8D8D; | |
text-decoration: none; | |
font-size: 12px; | |
font-weight: bold; } | |
.value { | |
font-size: 64px; | |
margin: 20px 0; | |
font-weight: 200; } | |
.card { | |
position: relative; } | |
.button-green { | |
padding: 25px; | |
display: block; | |
text-align: center; | |
margin-top: 40px; | |
margin-bottom: 40px; | |
border-radius: 3px; | |
text-transform: uppercase; | |
color: white; | |
font-weight: bold; | |
font-size: 14px; | |
letter-spacing: 1px; | |
background: #5EB833; } | |
.expire { | |
text-align: center; | |
text-transform: uppercase; | |
color: #aaa; | |
font-weight: bold; | |
font-size: 12px; | |
letter-spacing: 1px; | |
margin-top: 20px; | |
margin-bottom: 60px; } | |
.right { | |
float: right; } | |
.left { | |
float: left; } | |
@media (max-width: 640px) { | |
.wrapper .card-main { | |
padding: 30px 0 0 0; } | |
.wrapper .card { | |
margin-top: 0; | |
width: 100%; | |
min-width: 100%; | |
margin-bottom: 0; } | |
.wrapper .card .header { | |
padding: 20px; } | |
.wrapper .card .header h4 { | |
text-align: center; | |
font-size: 18px; } | |
.wrapper .card .value { | |
font-size: 42px; | |
margin: 10px 0; | |
font-weight: 200; } | |
.wrapper .card .card-inner { | |
margin: 0; | |
padding-bottom: 0; } | |
.wrapper .card h6 { | |
font-size: 11px; | |
letter-spacing: .05em; | |
margin-top: 2px; } | |
.wrapper .card h3 { | |
font-size: 20px; | |
font-weight: 400; } | |
.wrapper .card .rate { | |
padding: 25px; | |
padding-bottom: 15px; | |
height: 100px; } | |
.wrapper .card .detail { | |
padding: 20px; } | |
.wrapper .card .detail h3 { | |
font-size: 16px; | |
font-weight: 400; } | |
.wrapper .card .button-green { | |
margin-top: 0; | |
border-radius: 0; | |
font-size: 12px; | |
margin-bottom: 0; } | |
.wrapper .helper { | |
display: none; } | |
.wrapper .expire { | |
margin-top: 0; | |
font-size: 10px; | |
line-height: 0; | |
padding: 20px 0 60px 0; } | |
.wrapper .expire p { | |
margin: 0; } } | |
/** | |
* For modern browsers | |
* 1. The space content is one way to avoid an Opera bug when the | |
* contenteditable attribute is included anywhere else in the document. | |
* Otherwise it causes space to appear at the top and bottom of elements | |
* that are clearfixed. | |
* 2. The use of `table` rather than `block` is only necessary if using | |
* `:before` to contain the top-margins of child elements. | |
*/ | |
.cf:before, | |
.cf:after { | |
content: " "; | |
/* 1 */ | |
display: table; | |
/* 2 */ } | |
.cf:after { | |
clear: both; } | |
/** | |
* For IE 6/7 only | |
* Include this rule to trigger hasLayout and contain floats. | |
*/ | |
.cf { | |
*zoom: 1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment