2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

adding code and .label sections to type section

This commit is contained in:
Mark Otto
2011-09-10 15:29:38 -07:00
parent 6d99ae5659
commit 99ede580cf
8 changed files with 211 additions and 19 deletions
+19 -1
View File
@@ -897,7 +897,7 @@ input[type=submit].btn {
}
// Pattern Animations
// PATTERN ANIMATIONS
// ------------------
.fade {
@@ -906,4 +906,22 @@ input[type=submit].btn {
&.in {
opacity: 1;
}
}
// LABELS
// ------
.label {
padding: 1px 3px 2px;
background-color: @grayLight;
font-size: @basefont * .75;
font-weight: bold;
color: @white;
text-transform: uppercase;
.border-radius(3px);
&.important { background-color: #c43c35; }
&.warning { background-color: @orange; }
&.success { background-color: @green; }
&.notice { background-color: lighten(@blue, 25%); }
}
+4 -1
View File
@@ -58,9 +58,12 @@
// Clearfix for clearing floats like a boss h5bp.com/q
.clearfix {
zoom: 1;
&:before, &:after {
&:before,
&:after {
display: table;
content: "";
zoom: 1;
*display: inline;
}
&:after {
clear: both;
+2
View File
@@ -86,6 +86,7 @@ body {
// Fluid layouts (left aligned, with sidebar, min- & max-width content)
.container-fluid {
position: relative;
padding-left: 20px;
padding-right: 20px;
.clearfix();
@@ -98,6 +99,7 @@ body {
min-width: 700px;
max-width: 1180px;
margin-left: 240px;
.clearfix();
}
}
+1 -1
View File
@@ -173,7 +173,7 @@ code {
pre {
background-color: #f5f5f5;
display: block;
padding: @baseline - 1;
padding: (@baseline - 1) / 2;
margin: 0 0 @baseline;
line-height: @baseline;
font-size: 12px;