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:
+19
-1
@@ -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
@@ -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;
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user