1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

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

110
less/normalize.less vendored
View File

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