Created
November 3, 2014 08:21
-
-
Save janbiasi/6c1d2e7c50104995e59c to your computer and use it in GitHub Desktop.
Basic CSS for WebApps
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=Open+Sans:400,300,700,600); | |
* { | |
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
} | |
html, | |
body, | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
a, | |
.link, | |
.btn, | |
.ico { | |
transition: all .3s linear; | |
-moz-transition: all .3s linear; | |
-webkit-transition: all .3s linear; | |
} | |
body { | |
font-family: 'Open Sans', Arial, sans-serif; | |
color: #000; | |
} | |
a { | |
color: #469EE1; | |
text-decoration: none; | |
} | |
a:hover { | |
opacity: .7; | |
} | |
p { | |
font-size: 14px; | |
font-weight: 300; | |
} | |
h1, h2, h3, h4, h5, h6, | |
a, p, li, span, em, strong { | |
-webkit-font-smoothing: antialiased; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-weight: 500; | |
margin: 10px 0 15px 0; | |
} | |
.btn { | |
font-size: 14px; | |
display: inline-block; | |
padding: 6px 12px; | |
margin-bottom: 0; | |
border: 1px solid #eee; | |
border-radius: 4px; | |
-moz-border-radius: 4px; | |
-webkit-border-radius: 4px; | |
} | |
.btn:hover { | |
background-color: #eee; | |
border-color: #ddd; | |
} | |
/* helper classes */ | |
.center { | |
text-align: center; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.page, | |
.wrap { | |
max-width: 1024px; | |
margin: 0 auto; | |
} | |
.jumbo { | |
width: 100%; | |
padding: 40px 0; | |
} | |
.jumbo * { | |
text-align: center; | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment