Bones/build/css/Ribs.css

1321 lines
31 KiB
CSS
Raw Normal View History

/*
#Ribs
## Copyright Information
Skeleton is Copyright 2011, Dave Gamache
Ribs is the evolution of Skeleton by Nick Pack
Free to use under the MIT license.
http://github.com/nickpack/Ribs
*/
2013-10-15 14:16:27 -04:00
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
2013-07-14 17:24:53 -04:00
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block; }
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
audio,
canvas,
video {
display: inline-block; }
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0; }
/**
* Address `[hidden]` styling not present in IE 8/9.
* Hide the `template` element in IE, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none; }
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/**
* Remove default margin.
*/
body {
margin: 0; }
/* ==========================================================================
Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent; }
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted; }
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0; }
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted; }
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold; }
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic; }
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0; }
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000; }
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em; }
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre-wrap; }
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019"; }
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sup {
top: -0.5em; }
sub {
bottom: -0.25em; }
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0; }
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden; }
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 0; }
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em; }
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0;
2013-07-14 17:24:53 -04:00
/* 1 */
padding: 0;
/* 2 */ }
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
2013-07-14 17:24:53 -04:00
/* 2 */
margin: 0;
/* 3 */ }
2013-07-14 17:24:53 -04:00
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal; }
2013-07-14 17:24:53 -04:00
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none; }
2013-07-14 17:24:53 -04:00
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */ }
2013-07-14 17:24:53 -04:00
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default; }
2013-07-14 17:24:53 -04:00
/**
2013-10-10 11:56:10 -04:00
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
2013-07-14 17:24:53 -04:00
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
2013-07-14 17:24:53 -04:00
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield;
/* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
/* 2 */
box-sizing: content-box; }
2013-07-14 17:24:53 -04:00
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
2013-07-14 17:24:53 -04:00
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto;
/* 1 */
vertical-align: top;
/* 2 */ }
2013-07-14 17:24:53 -04:00
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0; }
body {
background: #fff;
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
hr {
border: solid #dddddd;
border-width: 1px 0 0;
clear: both;
margin: 10px 0 30px;
height: 0; }
/*
#Grid System
<div class="one column alpha">One</div>
<div class="eleven columns omega">Eleven</div>
<div class="two columns alpha">Two</div>
<div class="ten columns omega">Ten</div>
<div class="three columns alpha">Three</div>
<div class="nine columns omega">Nine</div>
<div class="four columns alpha">Four</div>
<div class="eight columns omega">Eight</div>
<div class="five columns alpha">Five</div>
<div class="seven columns omega">Seven</div>
<div class="six columns alpha">Six</div>
<div class="six columns omega">Six</div>
<div class="seven columns alpha">Seven</div>
<div class="five columns omega">Five</div>
<div class="eight columns alpha">Eight</div>
<div class="four columns omega">Four</div>
<div class="nine columns alpha">Nine</div>
<div class="three columns omega">Three</div>
<div class="ten columns alpha">Ten</div>
<div class="two columns omega">Two</div>
<div class="eleven columns alpha">Eleven</div>
<div class="one column omega">One</div>
*/
.container {
position: relative;
margin: 0 auto;
padding: 0; }
.container .alpha {
margin-left: 0; }
.container .omega {
margin-right: 0; }
.column, .columns {
float: left;
margin-left: 10px;
margin-right: 10px; }
.alpha-omega {
margin-right: 0;
margin-left: 0; }
.row {
margin-bottom: 20px; }
.container {
width: 960px; }
.container .one {
width: 40px; }
.container .two {
width: 100px; }
.container .three {
width: 160px; }
.container .four {
width: 220px; }
.container .five {
width: 280px; }
.container .six {
width: 340px; }
.container .seven {
width: 400px; }
.container .eight {
width: 460px; }
.container .nine {
width: 520px; }
.container .ten {
width: 580px; }
.container .eleven {
width: 640px; }
.container .twelve {
width: 700px; }
.container .thirteen {
width: 760px; }
.container .fourteen {
width: 820px; }
.container .fifteen {
width: 880px; }
.container .sixteen {
width: 940px; }
.container .one-third {
width: 300px; }
.container .two-thirds {
width: 620px; }
2013-05-17 11:16:14 -04:00
.container .one-half {
width: 460px; }
.container .one-quarter {
width: 220px; }
.container .three-quarters {
width: 700px; }
.container .offset-by-one {
padding-left: 60px; }
.container .offset-by-two {
padding-left: 120px; }
.container .offset-by-three {
padding-left: 180px; }
.container .offset-by-four {
padding-left: 240px; }
.container .offset-by-five {
padding-left: 300px; }
.container .offset-by-six {
padding-left: 360px; }
.container .offset-by-seven {
padding-left: 420px; }
.container .offset-by-eight {
padding-left: 480px; }
.container .offset-by-nine {
padding-left: 540px; }
.container .offset-by-ten {
padding-left: 600px; }
.container .offset-by-eleven {
padding-left: 660px; }
.container .offset-by-twelve {
padding-left: 720px; }
.container .offset-by-thirteen {
padding-left: 780px; }
.container .offset-by-fourteen {
padding-left: 840px; }
.container .offset-by-fifteen {
padding-left: 900px; }
.container .pull-by-one {
left: -60px; }
.container .pull-by-two {
left: -120px; }
.container .pull-by-three {
left: -180px; }
.container .pull-by-four {
left: -240px; }
.container .pull-by-five {
left: -300px; }
.container .pull-by-six {
left: -360px; }
.container .pull-by-seven {
left: -420px; }
.container .pull-by-eight {
left: -480px; }
.container .pull-by-nine {
left: -540px; }
.container .pull-by-ten {
left: -600px; }
.container .pull-by-eleven {
left: -660px; }
.container .pull-by-twelve {
left: -720px; }
.container .pull-by-thirteen {
left: -780px; }
.container .pull-by-fourteen {
left: -840px; }
.container .pull-by-fifteen {
left: -900px; }
.container .push-by-one {
left: 60px; }
.container .push-by-two {
left: 120px; }
.container .push-by-three {
left: 180px; }
.container .push-by-four {
left: 240px; }
.container .push-by-five {
left: 300px; }
.container .push-by-six {
left: 360px; }
.container .push-by-seven {
left: 420px; }
.container .push-by-eight {
left: 480px; }
.container .push-by-nine {
left: 540px; }
.container .push-by-ten {
left: 600px; }
.container .push-by-eleven {
left: 660px; }
.container .push-by-twelve {
left: 720px; }
.container .push-by-thirteen {
left: 780px; }
.container .push-by-fourteen {
left: 840px; }
.container .push-by-fifteen {
left: 900px; }
@media only screen and (max-width: 959px) {
.container {
width: 768px; }
.container .one {
width: 28px; }
.container .two {
width: 76px; }
.container .three {
width: 124px; }
.container .four {
width: 172px; }
.container .five {
width: 220px; }
.container .six {
width: 268px; }
.container .seven {
width: 316px; }
.container .eight {
width: 364px; }
.container .nine {
width: 412px; }
.container .ten {
width: 460px; }
.container .eleven {
width: 508px; }
.container .twelve {
width: 556px; }
.container .thirteen {
width: 604px; }
.container .fourteen {
width: 652px; }
.container .fifteen {
width: 700px; }
.container .sixteen {
width: 748px; }
.container .one-third {
width: 236px; }
.container .two-thirds {
width: 492px; }
2013-05-17 11:16:14 -04:00
.container .one-half {
width: 364px; }
.container .one-quarter {
width: 172px; }
.container .three-quarters {
width: 556px; }
.container .offset-by-one {
padding-left: 48px; }
.container .offset-by-two {
padding-left: 96px; }
.container .offset-by-three {
padding-left: 144px; }
.container .offset-by-four {
padding-left: 192px; }
.container .offset-by-five {
padding-left: 240px; }
.container .offset-by-six {
padding-left: 288px; }
.container .offset-by-seven {
padding-left: 336px; }
.container .offset-by-eight {
padding-left: 384px; }
.container .offset-by-nine {
padding-left: 432px; }
.container .offset-by-ten {
padding-left: 480px; }
.container .offset-by-eleven {
padding-left: 528px; }
.container .offset-by-twelve {
padding-left: 576px; }
.container .offset-by-thirteen {
padding-left: 624px; }
.container .offset-by-fourteen {
padding-left: 672px; }
.container .offset-by-fifteen {
padding-left: 720px; }
.container .pull-by-one {
left: -48px; }
.container .pull-by-two {
left: -96px; }
.container .pull-by-three {
left: -144px; }
.container .pull-by-four {
left: -192px; }
.container .pull-by-five {
left: -240px; }
.container .pull-by-six {
left: -288px; }
.container .pull-by-seven {
left: -336px; }
.container .pull-by-eight {
left: -384px; }
.container .pull-by-nine {
left: -432px; }
.container .pull-by-ten {
left: -480px; }
.container .pull-by-eleven {
left: -528px; }
.container .pull-by-twelve {
left: -576px; }
.container .pull-by-thirteen {
left: -624px; }
.container .pull-by-fourteen {
left: -672px; }
.container .pull-by-fifteen {
left: -720px; }
.container .push-by-one {
left: 48px; }
.container .push-by-two {
left: 96px; }
.container .push-by-three {
left: 144px; }
.container .push-by-four {
left: 192px; }
.container .push-by-five {
left: 240px; }
.container .push-by-six {
left: 288px; }
.container .push-by-seven {
left: 336px; }
.container .push-by-eight {
left: 384px; }
.container .push-by-nine {
left: 432px; }
.container .push-by-ten {
left: 480px; }
.container .push-by-eleven {
left: 528px; }
.container .push-by-twelve {
left: 576px; }
.container .push-by-thirteen {
left: 624px; }
.container .push-by-fourteen {
left: 672px; }
.container .push-by-fifteen {
left: 720px; }
.container {
width: 768px; }
.container .alpha {
margin-right: 10px; }
.container .omega {
margin-left: 10px; } }
/*
#Mobile Grid
Every column element in this grid is the total grid width
*/
@media only screen and (max-width: 767px) {
.container {
2013-05-28 15:35:21 -04:00
width: 90%; }
2013-05-17 11:16:14 -04:00
.container .one, .container .two, .container .three, .container .four, .container .five, .container .six, .container .seven, .container .eight, .container .nine, .container .ten, .container .eleven, .container .twelve, .container .thirteen, .container .fourteen, .container .fifteen, .container .sixteen, .container .one-third, .container .two-thirds, .container .one-half, .container .one-quarter, .container .three-quarters {
width: 100%; }
.container .column, .container .columns {
margin: 0; }
.container .offset-by-one,
.container .offset-by-two,
.container .offset-by-three,
.container .offset-by-four,
.container .offset-by-five,
.container .offset-by-six,
.container .offset-by-seven,
.container .offset-by-eight,
.container .offset-by-nine,
.container .offset-by-ten,
.container .offset-by-eleven,
.container .offset-by-twelve,
.container .offset-by-thirteen,
.container .offset-by-fourteen,
.container .offset-by-fifteen {
padding-left: 0; } }
/*
##Auto-applied clearfix for .container elements
```<div class="container">
This element has clearfix applied in browsers that support the :after css selector
</div>```
*/
.container:after {
content: "\0020";
display: block;
height: 0;
clear: both;
visibility: hidden; }
/*
##General use clearfix class
```<div class="clearfix">This haz clearfix</div>```
Use this clearfix class on parent to clear nested columns, or:
wrap each row of columns in a ```<div class="row">...</div>```
*/
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
/*
##Auto-applied clearfix for .row elements
```<div class="row">
This element has clearfix applied in browsers that support the :after css selector
</div>```
*/
.row:after,
.clearfix:after {
clear: both; }
.row, .clearfix {
zoom: 1; }
/*
##Block level clear
You can also use a ```<br class="clear">``` to clear columns
*/
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
font-weight: inherit; }
h1 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 46px;
2013-05-30 04:30:45 -04:00
line-height: 69px;
margin: 0 0 14px 0; }
h2 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 35px;
2013-05-30 04:30:45 -04:00
line-height: 52.5px;
margin: 0 0 10px 0; }
h3 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 28px;
2013-05-30 04:30:45 -04:00
line-height: 42px;
margin: 0 0 8px 0; }
h4 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 21px;
2013-05-30 04:30:45 -04:00
line-height: 31.5px;
margin: 0 0 4px 0; }
h5 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 17px;
2013-05-30 04:30:45 -04:00
line-height: 25.5px; }
h6 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
font-size: 14px;
line-height: 21px; }
.subheader {
color: #777777; }
p {
2013-05-30 04:30:45 -04:00
margin: 0 0 20px 0;
line-height: 21px; }
p img {
margin: 0; }
.lead {
font-size: 21px;
2013-05-30 04:30:45 -04:00
line-height: 31.5px;
color: #777777; }
em {
font-style: italic; }
strong {
font-weight: bold;
color: #333333; }
small {
font-size: 80%; }
blockquote, blockquote p {
font-size: 17px;
line-height: 24px;
color: #777777;
font-style: italic; }
blockquote {
margin: 0 0 20px;
padding: 9px 20px 0 19px;
border-left: 1px solid #dddddd; }
blockquote cite {
display: block;
font-size: 12px;
color: #555555; }
blockquote cite:before {
content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited {
color: #555555; }
a, a:visited {
color: #333333;
text-decoration: underline; }
a:hover, a:focus {
color: black;
text-decoration: none;
outline: 0; }
p a, p a:visited {
line-height: inherit; }
ul, ol {
margin: 0 0 20px 0; }
ul {
list-style: none outside; }
ol {
list-style: decimal; }
ol, ul.square, ul.circle, ul.disc {
margin: 0 0 0 10px; }
ul.square {
list-style: square outside; }
ul.circle {
list-style: circle outside; }
ul.disc {
list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul {
margin: 4px 0 5px 30px;
font-size: 90%; }
li {
line-height: 18px;
margin: 0 0 12px 0; }
.large li {
line-height: 21px; }
li p {
line-height: 21px; }
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
background-color: #cccccc;
background-color: rgba(153, 153, 153, 0.2);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.2)), to(rgba(0, 0, 0, 0.2)));
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-repeat: repeat-x;
border: 1px solid #aaaaaa;
border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color: #444444;
display: inline-block;
font-size: 11px;
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, 0.75);
cursor: pointer;
margin: 0 0 20px 0;
line-height: normal;
padding: 8px 10px;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
background-color: #cccccc;
background-color: rgba(153, 153, 153, 0.3);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.3)), to(rgba(0, 0, 0, 0.3)));
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3));
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3));
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3));
background-repeat: repeat-x;
color: #222222;
border: 1px solid #888888;
border-top: 1px solid #aaaaaa;
border-left: 1px solid #aaaaaa; }
.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
background-color: #cccccc;
background-color: rgba(153, 153, 153, 0.2);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.2)), to(rgba(0, 0, 0, 0.2)));
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
background-repeat: repeat-x;
border: 1px solid #666666; }
.button .full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
width: 100%;
padding-left: 0;
padding-right: 0;
text-align: center; }
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }
/*
##General margins (all sides)
Applied to both form, and fieldset
*/
form {
margin: 0 0 20px 0; }
fieldset {
margin: 0 0 20px 0; }
/*
##Search/URL fields
Make these behave as text fields
*/
input[type="search"],
input[type="url"] {
-webkit-appearance: textfield;
-moz-appearance: textfield; }
/*
##General form element styles, border etc.
Applied to all except checkboxes
*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
select {
border: 1px solid #cccccc;
padding: 6px 4px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777777;
width: 210px;
max-width: 100%;
display: block;
margin: 0 0 20px 0;
background: white; }
/*
##Select boxes
Padding and width applied from settings
*/
select {
padding: 10px;
width: 220px; }
/*
##Form element focus styles
Applied to all except checkboxes and selects
*/
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
border: 1px solid #aaaaaa;
color: #444444;
outline: none;
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); }
textarea {
min-height: 60px; }
label,
legend {
display: block;
font-weight: bold;
font-size: 13px; }
input[type="checkbox"] {
display: inline; }
/*
##Spans inside legends, or labels
Alters font size, weight and colour based on variables
*/
label span,
legend span {
font-weight: normal;
font-size: 13px;
color: #444444; }
/*
## Scale an image in line with the responsive grid
```
<img src="foo.jpg" title="Scaling image of Foo" class="scale-with-grid">
```
*/
.scale-with-grid {
max-width: 100%;
height: auto; }
/*
##Basic table style
<table>
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Nick</td>
<td>Pack</td>
<td>@nickpack</td>
</tr>
</tbody>
</table>
*/
table {
max-width: 100%;
background: white;
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin: 10px 0; }
table th,
table td {
padding: 8px;
line-height: 21px;
text-align: left;
vertical-align: top;
border-top: 1px solid #cccccc; }
table th {
font-weight: bold; }
table thead th {
vertical-align: bottom; }
table caption thead tr:first-child th,
table caption thead tr:first-child td,
table colgroup thead tr:first-child th,
table colgroup thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
border-top: 0; }
table tbody tbody {
border-top: 2px solid #cccccc; }
table table {
background: white; }
/*
##Condensed table style
<table class="table-condensed">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Nick</td>
<td>Pack</td>
<td>@nickpack</td>
</tr>
</tbody>
</table>
*/
.table-condensed th,
.table-condensed td {
padding: 4px 5px; }
/*
##Bordered table style
<table class="table-bordered">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Nick</td>
<td>Pack</td>
<td>@nickpack</td>
</tr>
</tbody>
</table>
*/
.table-bordered {
border: 1px solid #cccccc;
border-collapse: separate;
border-left: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px; }
.table-bordered th,
.table-bordered td {
border-left: 1px solid #cccccc; }
.table-bordered caption thead tr:first-child th,
.table-bordered caption tbody tr:first-child th,
.table-bordered caption tbody tr:first-child td,
.table-bordered colgroup thead tr:first-child th,
.table-bordered colgroup tbody tr:first-child th,
.table-bordered colgroup tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
border-top: 0; }
.table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child {
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topleft: 3px;
border-top-left-radius: 3px; }
.table-bordered thead:first-child tr:first-child > th:last-child,
.table-bordered tbody:first-child tr:first-child > td:last-child,
.table-bordered tbody:first-child tr:first-child > th:last-child {
-webkit-border-top-right-radius: 3px;
-moz-border-radius-topright: 3px;
border-top-right-radius: 3px; }
.table-bordered thead:last-child tr:last-child > th:first-child,
.table-bordered tbody:last-child tr:last-child > td:first-child,
.table-bordered tbody:last-child tr:last-child > th:first-child,
.table-bordered tfoot:last-child tr:last-child > td:first-child,
.table-bordered tfoot:last-child tr:last-child > th:first-child {
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-bottomleft: 3px;
border-bottom-left-radius: 3px; }
.table-bordered thead:last-child tr:last-child > th:last-child,
.table-bordered tbody:last-child tr:last-child > td:last-child,
.table-bordered tbody:last-child tr:last-child > th:last-child,
.table-bordered tfoot:last-child tr:last-child > td:last-child,
.table-bordered tfoot:last-child tr:last-child > th:last-child {
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-bottomright: 3px;
border-bottom-right-radius: 3px; }
.table-bordered tfoot tbody:last-child tr:last-child td:first-child {
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0; }
.table-bordered tfoot tbody:last-child tr:last-child td:last-child {
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0; }
.table-bordered caption thead tr:first-child th:first-child,
.table-bordered caption tbody tr:first-child td:first-child,
.table-bordered colgroup thead tr:first-child th:first-child,
.table-bordered colgroup tbody tr:first-child td:first-child {
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topleft: 3px;
border-top-left-radius: 3px; }
.table-bordered caption thead tr:first-child th:last-child,
.table-bordered caption tbody tr:first-child td:last-child,
.table-bordered colgroup thead tr:first-child th:last-child,
.table-bordered colgroup tbody tr:first-child td:last-child {
-webkit-border-top-right-radius: 3px;
-moz-border-radius-topright: 3px;
border-top-right-radius: 3px; }
/*
##Striped table style
<table class="table-striped">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Nick</td>
<td>Pack</td>
<td>@nickpack</td>
</tr>
</tbody>
</table>
*/
.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
background-color: #efefef; }
/*
##Hover table style
<table class="table-hover">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Nick</td>
<td>Pack</td>
<td>@nickpack</td>
</tr>
</tbody>
</table>
*/
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
background-color: #999999; }