Skip to content

Instantly share code, notes, and snippets.

@oseifrimpong
Created April 5, 2014 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oseifrimpong/9990987 to your computer and use it in GitHub Desktop.
Save oseifrimpong/9990987 to your computer and use it in GitHub Desktop.
CSS file
@import "bootstrap";
/*mixins, variables, etc*/
$grayMediumLight: #eaeaea;
@mixin box_sizing {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* universal */
html
{
overflow-y: scroll;
}
body{
padding-top:60px;
}
section {
overflow: auto;
}
textarea {
resize: vertical;
}
.center {
text-align: center;
}
.center h1 {
margin-bottom : 10px;
}
/* typography */
h1, h2, h3, h4, h5, h6 {
line-height: 1;
}
h1 {
font-size: 3em;
letter-spacing: -2px;
margin-bottom: 30px;
text-align: center;
}
h2 {
font-size: 1.7em;
letter-spacing: -1px;
margin-bottom: 30px;
text-align: center;
font-weight: normal;
color: #999;
}
p {
font-size: 1.1em;
line-height: 1.7em;
}
/*header */
#logo {
float: left;
margin-right: 10px;
font-size: 1.7em;
color: 4d89e3;
text-transform: uppercase;
letter-spacing: -1px;
padding-top: 9px;
font-weight: bold;
line-height: 1;
}
#logo:hover {
color: #fff;
text-decoration: none;
}
/* footer */
footer {
margin-top:45px;
padding-top:5px;
border-top:1px solid #eaeaea;
color: #999;
}
footer a {
color: #555;
}
footer a:hover {
color: #222;
}
footer small {
float: left;
}
footer ul {
float: right;
list-style:none;
}
footer ul li {
float: left;
margin-left: 10px;
}
/* miscellaneous */
.debug_dump {
clear: both;
float: left;
width: 100%;
height: auto;
margin-top: 45px;
@include box_sizing;
}
/* forms */
input, textarea, select, .uneditable-input {
border: 1px solid #bbb;
width: 100%;
margin-bottom: 15px;
@include box_sizing;
}
input {
height: auto !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment