Conversion to SASS
See updated README.md for details.
This commit is contained in:
parent
83030c60c0
commit
df85ee4450
13 changed files with 513 additions and 249 deletions
318
style.css
Executable file → Normal file
318
style.css
Executable file → Normal file
|
@ -3,304 +3,130 @@ 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; }
|
||||
|
||||
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; }
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
fieldset, img { border: 0; }
|
||||
|
||||
fieldset, img {
|
||||
border: 0;
|
||||
}
|
||||
address, caption, cite, dfn, th, var { font-style: normal; font-weight: normal; }
|
||||
|
||||
address, caption, cite, dfn, th, var {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
caption, th { text-align: left; }
|
||||
|
||||
caption, th {
|
||||
text-align: left;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: bold; }
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
q:before, q:after { content: ''; }
|
||||
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
}
|
||||
abbr, acronym { border: 0; }
|
||||
|
||||
abbr, acronym {
|
||||
border: 0;
|
||||
}
|
||||
html { background-color: white; color: #222222; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 0.875em; line-height: 1.5; }
|
||||
|
||||
/* =Normalisation
|
||||
-------------------------------------------------------------- */
|
||||
h1, h2, h3, h4, h5, h6, p, ul, ol, table, pre, fieldset { margin-bottom: 21px; }
|
||||
|
||||
html {
|
||||
background-color: #fff;
|
||||
font: 1em/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
ul ul, ol ol { margin-bottom: 0; }
|
||||
|
||||
h1, h2, h3, h4, h5, h6, p, ol, ul, address, table, pre, blockquote {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
h1 { font-size: 2em; line-height: 0.75em; }
|
||||
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
line-height: 1em;
|
||||
}
|
||||
h2 { font-size: 1.71429em; line-height: 0.875em; }
|
||||
|
||||
h2 {
|
||||
font-size: 1.375em;
|
||||
line-height: 1.0909em;
|
||||
}
|
||||
h3 { font-size: 1.5em; line-height: 1em; }
|
||||
|
||||
h3 {
|
||||
font-size: 1.25em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
h4 { font-size: 1.28571em; line-height: 1.16667em; }
|
||||
|
||||
h4 {
|
||||
font-size: 1.125em;
|
||||
line-height: 1.333em;
|
||||
}
|
||||
h5 { font-size: 1.14286em; line-height: 1.3125em; }
|
||||
|
||||
h5, h6 {
|
||||
font-size: 1em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
h6 { font-size: 1.14286em; line-height: 1.3125em; }
|
||||
|
||||
ul, ol, cite {
|
||||
margin-left: 20px;
|
||||
}
|
||||
ul, ol { margin-left: 24px; }
|
||||
|
||||
blockquote {
|
||||
padding-left: 15px;
|
||||
border-left: solid 5px #ddd;
|
||||
}
|
||||
a { text-decoration: none; }
|
||||
|
||||
cite {
|
||||
font-weight: bold;
|
||||
}
|
||||
.alignleft { float: left; }
|
||||
|
||||
a {
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
img.alignleft { margin-right: 20px; }
|
||||
|
||||
/* =Forms
|
||||
-------------------------------------------------------------- */
|
||||
.alignright { float: right; }
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
img.alignright { margin-left: 20px; }
|
||||
|
||||
input, select, textarea {
|
||||
display: inline-block;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
line-height: 1.5em;
|
||||
border: solid 1px #000;
|
||||
padding: 4px;
|
||||
color: #000;
|
||||
width: 220px;
|
||||
}
|
||||
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
|
||||
|
||||
select {
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
width: 220px;
|
||||
}
|
||||
.container { width: 1200px; margin-left: auto; margin-right: auto; padding: 0 40px; }
|
||||
@media (max-width: 767px) { .container { width: auto; } }
|
||||
|
||||
.control-label {
|
||||
float: left;
|
||||
width: 160px;
|
||||
}
|
||||
@media (max-width: 767px) { .container-fluid { padding: 0; } }
|
||||
|
||||
.controls {
|
||||
margin-left: 160px;
|
||||
}
|
||||
.row { margin-left: -20px; *zoom: 1; }
|
||||
@media (max-width: 767px) { .row { margin-left: 0; } }
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
background-color: #999;
|
||||
border: solid 1px #999;
|
||||
box-shadow: none;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
padding: 4px 18px;
|
||||
width: auto;
|
||||
}
|
||||
.row:before, .row:after { display: table; line-height: 0; content: ""; }
|
||||
|
||||
/* =Ulility Classes
|
||||
-------------------------------------------------------------- */
|
||||
.row:after { clear: both; }
|
||||
|
||||
.alignleft {
|
||||
float: left;
|
||||
}
|
||||
@media (max-width: 767px) { .row-fluid { padding: 0; } }
|
||||
|
||||
img.alignleft {
|
||||
margin: 0 20px 24px 0;
|
||||
}
|
||||
.col { display: inline-block; *display: inline; float: left; margin-left: 20px; }
|
||||
.col img { width: 100%; }
|
||||
@media (max-width: 767px) { .col { display: block; float: none; width: 100%; margin-left: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } }
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
}
|
||||
.col1 { width: 81.66667px; }
|
||||
|
||||
img.alignright {
|
||||
margin: 0 0 24px 20px;
|
||||
}
|
||||
.col2 { width: 183.33333px; }
|
||||
|
||||
/* =Nav Abstraction
|
||||
-------------------------------------------------------------- */
|
||||
.col3 { width: 285px; }
|
||||
|
||||
.nav {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
.col4 { width: 386.66667px; }
|
||||
|
||||
.nav > li {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
}
|
||||
|
||||
.nav > li > a {
|
||||
display: block;
|
||||
}
|
||||
.col5 { width: 488.33333px; }
|
||||
|
||||
/* =Scaffolding
|
||||
-------------------------------------------------------------- */
|
||||
.col6 { width: 590px; }
|
||||
|
||||
.row {
|
||||
margin-left: -20px;
|
||||
*zoom: 1;
|
||||
}
|
||||
.col7 { width: 691.66667px; }
|
||||
|
||||
.row:before, .row:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.col8 { width: 793.33333px; }
|
||||
|
||||
.row:after {
|
||||
clear: both;
|
||||
}
|
||||
.col9 { width: 895px; }
|
||||
|
||||
[class*="span"] {
|
||||
float: left;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.col10 { width: 996.66667px; }
|
||||
|
||||
/* IE 6/7 fix */
|
||||
.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
|
||||
float: left;
|
||||
display: inline;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.col11 { width: 1098.33333px; }
|
||||
|
||||
.span12 { width: 940px; }
|
||||
.span11 { width: 860px; }
|
||||
.span10 { width: 780px; }
|
||||
.span9 { width: 700px; }
|
||||
.span8 { width: 620px; }
|
||||
.span7 { width: 540px; }
|
||||
.span6 { width: 460px; }
|
||||
.span5 { width: 380px; }
|
||||
.span4 { width: 300px; }
|
||||
.span3 { width: 220px; }
|
||||
.span2 { width: 140px; }
|
||||
.span1 { width: 60px; }
|
||||
.col12 { width: 1200px; }
|
||||
|
||||
.offset12 { margin-left: 980px; }
|
||||
.offset11 { margin-left: 900px; }
|
||||
.offset10 { margin-left: 820px; }
|
||||
.offset9 { margin-left: 740px; }
|
||||
.offset8 { margin-left: 660px; }
|
||||
.offset7 { margin-left: 580px; }
|
||||
.offset6 { margin-left: 500px; }
|
||||
.offset5 { margin-left: 420px; }
|
||||
.offset4 { margin-left: 340px; }
|
||||
.offset3 { margin-left: 260px; }
|
||||
.offset2 { margin-left: 180px; }
|
||||
.offset1 { margin-left: 100px; }
|
||||
.nav { list-style: none; margin-left: 0; }
|
||||
|
||||
.row-fluid {
|
||||
width: 100%;
|
||||
*zoom: 1;
|
||||
}
|
||||
.nav > li, .nav > li > a { display: inline-block; *display: inline; }
|
||||
|
||||
.row-fluid:before, .row-fluid:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.nav-list { border: solid 1px #ddd; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.row-fluid:after {
|
||||
clear: both;
|
||||
}
|
||||
.nav-list > li, .nav-list > li > a { display: block; }
|
||||
|
||||
.row-fluid > [class*="span"] {
|
||||
float: left;
|
||||
margin-left: 2.127659574%;
|
||||
}
|
||||
.nav-list > li { border-bottom: solid 1px #ddd; }
|
||||
|
||||
.row-fluid > [class*="span"]:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.nav-list > li:last-child { border-bottom: none; }
|
||||
|
||||
.row-fluid > .span12 { width: 99.99999998999999%; }
|
||||
.row-fluid > .span11 { width: 91.489361693%; }
|
||||
.row-fluid > .span10 { width: 82.97872339599999%; }
|
||||
.row-fluid > .span9 { width: 74.468085099%; }
|
||||
.row-fluid > .span8 { width: 65.95744680199999%; }
|
||||
.row-fluid > .span7 { width: 57.446808505%; }
|
||||
.row-fluid > .span6 { width: 48.93617020799999%; }
|
||||
.row-fluid > .span5 { width: 40.425531911%; }
|
||||
.row-fluid > .span4 { width: 31.914893614%; }
|
||||
.row-fluid > .span3 { width: 23.404255317%; }
|
||||
.row-fluid > .span2 { width: 14.89361702%; }
|
||||
.row-fluid > .span1 { width: 6.382978723%; }
|
||||
.nav-list > li > a { padding: 10px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 940px;
|
||||
padding: 0 20px;
|
||||
*zoom: 1;
|
||||
}
|
||||
.container:before, .container:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.nav-list > li > a:hover { background-color: #fafafa; }
|
||||
|
||||
.container:after {
|
||||
clear: both;
|
||||
}
|
||||
.table { width: 100%; border-collapse: collapse; }
|
||||
|
||||
.container-fluid {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
*zoom: 1;
|
||||
}
|
||||
.table th, .table td { text-align: left; vertical-align: top; border-top: 1px solid #dddddd; padding: 10.5px 10px; }
|
||||
|
||||
.container-fluid:before,
|
||||
.container-fluid:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.table th { font-weight: bold; border-top: 0; }
|
||||
|
||||
.container-fluid:after {
|
||||
clear: both;
|
||||
}
|
||||
.table thead th { vertical-align: bottom; }
|
||||
|
||||
/* =Layout
|
||||
-------------------------------------------------------------- */
|
||||
input, select, textarea, button { display: inline-block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1em; line-height: marginBottompx; color: #222; padding: 9.5px; background-color: white; border: solid 1px #cccccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; margin-right: 5px; }
|
||||
|
||||
.control-group { margin-bottom: 21px; }
|
||||
|
||||
.control-label { float: left; width: 140px; }
|
||||
|
||||
.controls { margin-left: 160px; }
|
||||
|
||||
.btn { display: inline-block; background-color: #eeeeee; border: solid 1px #cccccc; padding: 9.5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.icon { display: inline-block; *display: inline; width: 16px; height: 16px; vertical-align: text-top; background: red; }
|
||||
|
||||
body { background: url(http://basehold.it/i/21); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue