Normalize indentation from 4 to 2 spaces

This commit is contained in:
Mark Otto 2012-12-20 14:11:40 -08:00
parent 1c33b857a6
commit 69f6149489
1 changed files with 55 additions and 55 deletions

110
less/normalize.less vendored
View File

@ -19,7 +19,7 @@ hgroup,
nav,
section,
summary {
display: block;
display: block;
}
//
@ -29,7 +29,7 @@ summary {
audio,
canvas,
video {
display: inline-block;
display: inline-block;
}
//
@ -38,8 +38,8 @@ video {
//
audio:not([controls]) {
display: none;
height: 0;
display: none;
height: 0;
}
//
@ -47,7 +47,7 @@ audio:not([controls]) {
//
[hidden] {
display: none;
display: none;
}
// ==========================================================================
@ -61,9 +61,9 @@ audio:not([controls]) {
//
html {
font-family: sans-serif; // 1
-webkit-text-size-adjust: 100%; // 2
-ms-text-size-adjust: 100%; // 2
font-family: sans-serif; // 1
-webkit-text-size-adjust: 100%; // 2
-ms-text-size-adjust: 100%; // 2
}
//
@ -71,7 +71,7 @@ html {
//
body {
margin: 0;
margin: 0;
}
// ==========================================================================
@ -83,7 +83,7 @@ body {
//
a:focus {
outline: thin dotted;
outline: thin dotted;
}
//
@ -92,7 +92,7 @@ a:focus {
a:active,
a:hover {
outline: 0;
outline: 0;
}
// ==========================================================================
@ -105,7 +105,7 @@ a:hover {
//
h1 {
font-size: 2em;
font-size: 2em;
}
//
@ -113,7 +113,7 @@ h1 {
//
abbr[title] {
border-bottom: 1px dotted;
border-bottom: 1px dotted;
}
//
@ -122,7 +122,7 @@ abbr[title] {
b,
strong {
font-weight: bold;
font-weight: bold;
}
//
@ -138,8 +138,8 @@ dfn {
//
mark {
background: #ff0;
color: #000;
background: #ff0;
color: #000;
}
//
@ -150,8 +150,8 @@ code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
font-family: monospace, serif;
font-size: 1em;
}
//
@ -159,9 +159,9 @@ samp {
//
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
//
@ -169,7 +169,7 @@ pre {
//
q {
quotes: "\201C" "\201D" "\2018" "\2019";
quotes: "\201C" "\201D" "\2018" "\2019";
}
//
@ -177,7 +177,7 @@ q {
//
small {
font-size: 80%;
font-size: 80%;
}
//
@ -186,18 +186,18 @@ small {
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
top: -0.5em;
}
sub {
bottom: -0.25em;
bottom: -0.25em;
}
// ==========================================================================
@ -209,7 +209,7 @@ sub {
//
img {
border: 0;
border: 0;
}
//
@ -241,9 +241,9 @@ figure {
//
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
//
@ -252,8 +252,8 @@ fieldset {
//
legend {
border: 0; // 1
padding: 0; // 2
border: 0; // 1
padding: 0; // 2
}
//
@ -266,9 +266,9 @@ button,
input,
select,
textarea {
font-family: inherit; // 1
font-size: 100%; // 2
margin: 0; // 3
font-family: inherit; // 1
font-size: 100%; // 2
margin: 0; // 3
}
//
@ -278,7 +278,7 @@ textarea {
button,
input {
line-height: normal;
line-height: normal;
}
//
@ -293,8 +293,8 @@ button,
html input[type="button"], // 1
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; // 2
cursor: pointer; // 3
-webkit-appearance: button; // 2
cursor: pointer; // 3
}
//
@ -303,7 +303,7 @@ input[type="submit"] {
button[disabled],
html input[disabled] {
cursor: default;
cursor: default;
}
//
@ -313,8 +313,8 @@ html input[disabled] {
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; // 1
padding: 0; // 2
box-sizing: border-box; // 1
padding: 0; // 2
}
//
@ -324,10 +324,10 @@ input[type="radio"] {
//
input[type="search"] {
-webkit-appearance: textfield; // 1
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; // 2
box-sizing: content-box;
-webkit-appearance: textfield; // 1
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; // 2
box-sizing: content-box;
}
//
@ -337,7 +337,7 @@ input[type="search"] {
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
-webkit-appearance: none;
}
//
@ -346,8 +346,8 @@ input[type="search"]::-webkit-search-decoration {
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
border: 0;
padding: 0;
}
//
@ -356,8 +356,8 @@ input::-moz-focus-inner {
//
textarea {
overflow: auto; // 1
vertical-align: top; // 2
overflow: auto; // 1
vertical-align: top; // 2
}
// ==========================================================================
@ -369,6 +369,6 @@ textarea {
//
table {
border-collapse: collapse;
border-spacing: 0;
border-collapse: collapse;
border-spacing: 0;
}