barebones/style.css

383 lines
5.7 KiB
CSS

/*
Theme Name: Bare Bones
Theme URI: http://github.com/mikefrancis/barebones
Author: Mike Francis
*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img {
border: 0;
}
address, caption, cite, dfn, th, var {
font-style: normal;
font-weight: normal;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: bold;
}
q:before, q:after {
content: '';
}
abbr, acronym {
border: 0;
}
html {
background-color: white;
color: #333333;
font: 0.875em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, table, pre, fieldset {
margin-bottom: 21px;
}
h1 {
font-size: 2em;
line-height: 0.75em;
}
h2 {
font-size: 1.71429em;
line-height: 0.875em;
}
h3 {
font-size: 1.5em;
line-height: 1em;
}
h4 {
font-size: 1.28571em;
line-height: 1.16667em;
}
h5 {
font-size: 1.14286em;
line-height: 1.3125em;
}
h6 {
font-size: 1.14286em;
line-height: 1.3125em;
}
ul, ol {
margin-left: 24px;
}
ul ul, ol ol {
margin-bottom: 0;
}
img {
display: block;
max-width: 100%;
height: auto;
}
.alignleft {
float: left;
}
img.alignleft {
margin-right: 20px;
}
.alignright {
float: right;
}
img.alignright {
margin-left: 20px;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.clearfix, .controls, .container, .container-fluid, .row {
*zoom: 1;
}
.clearfix:before, .controls:before, .container:before, .container-fluid:before, .row:before, .clearfix:after, .controls:after, .container:after, .container-fluid:after, .row:after {
content: " ";
display: table;
}
.clearfix:after, .controls:after, .container:after, .container-fluid:after, .row:after {
clear: both;
}
input, select, textarea, button {
display: inline-block;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 21px;
padding: 2.5px 5px;
color: #333333;
background: white;
border: solid 1px #cccccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
margin-right: 5px;
margin-bottom: -1px;
width: 208px;
}
textarea {
min-height: 84px;
}
.control-group {
margin-bottom: 21px;
}
.control-label {
float: left;
width: 140px;
}
.controls {
margin-left: 160px;
}
.btn {
cursor: pointer;
display: inline-block;
background: #eeeeee;
color: #333333;
line-height: 21px;
border: solid 1px #cccccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
background-color: white;
background-image: -webkit-linear-gradient(white, #eeeeee);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#eeeeee));
background-image: -moz-linear-gradient(white, #eeeeee);
background-image: -o-linear-gradient(white, #eeeeee);
}
.btn:hover {
background-color: #eeeeee;
background-image: -webkit-linear-gradient(#eeeeee, white);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eeeeee), to(white));
background-image: -moz-linear-gradient(#eeeeee, white);
background-image: -o-linear-gradient(#eeeeee, white);
}
.container {
margin: 0 auto;
max-width: 940px;
padding: 0 20px;
}
.container-fluid {
width: 100%;
}
.row {
margin-left: -2.08333%;
_overflow: hidden;
}
@media screen and (max-width: 640px) {
.row {
margin-left: 0;
}
}
.column {
display: inline;
float: left;
margin-left: 2.08333%;
vertical-align: top;
}
@media screen and (max-width: 640px) {
.column {
display: block;
float: none;
margin-left: 0;
width: auto !important;
}
}
.column-span-1 {
width: 6.25%;
*width: 6.23%;
}
.column-span-2 {
width: 14.58333%;
*width: 14.56333%;
}
.column-span-3 {
width: 22.91667%;
*width: 22.89667%;
}
.column-span-4 {
width: 31.25%;
*width: 31.23%;
}
.column-span-5 {
width: 39.58333%;
*width: 39.56333%;
}
.column-span-6 {
width: 47.91667%;
*width: 47.89667%;
}
.column-span-7 {
width: 56.25%;
*width: 56.23%;
}
.column-span-8 {
width: 64.58333%;
*width: 64.56333%;
}
.column-span-9 {
width: 72.91667%;
*width: 72.89667%;
}
.column-span-10 {
width: 81.25%;
*width: 81.23%;
}
.column-span-11 {
width: 89.58333%;
*width: 89.56333%;
}
.column-span-12 {
width: 97.91667%;
*width: 97.89667%;
}
.row-no-gutters .column {
margin-left: 0;
}
.row-no-gutters .column-span-1 {
width: 8.33333%;
*width: 8.31333%;
}
.row-no-gutters .column-span-2 {
width: 16.66667%;
*width: 16.64667%;
}
.row-no-gutters .column-span-3 {
width: 25%;
*width: 24.98%;
}
.row-no-gutters .column-span-4 {
width: 33.33333%;
*width: 33.31333%;
}
.row-no-gutters .column-span-5 {
width: 41.66667%;
*width: 41.64667%;
}
.row-no-gutters .column-span-6 {
width: 50%;
*width: 49.98%;
}
.row-no-gutters .column-span-7 {
width: 58.33333%;
*width: 58.31333%;
}
.row-no-gutters .column-span-8 {
width: 66.66667%;
*width: 66.64667%;
}
.row-no-gutters .column-span-9 {
width: 75%;
*width: 74.98%;
}
.row-no-gutters .column-span-10 {
width: 83.33333%;
*width: 83.31333%;
}
.row-no-gutters .column-span-11 {
width: 91.66667%;
*width: 91.64667%;
}
.row-no-gutters .column-span-12 {
width: 100%;
*width: 99.98%;
}
.nav {
list-style: none;
margin-left: 0;
}
.nav > li {
display: inline-block;
*display: inline;
}
.nav > li > a {
display: block;
}
.table {
width: 100%;
border-collapse: collapse;
}
.table th,
.table td {
text-align: left;
vertical-align: top;
border-top: 1px solid #dddddd;
padding: 10.5px 10px;
}
.table th {
font-weight: bold;
border-top: 0;
}
.table thead th {
vertical-align: bottom;
}