2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

front page docs updated to include old getting started section, update code styles to look like github gists, and lots more docs updates

This commit is contained in:
Mark Otto
2012-01-06 23:59:22 -08:00
parent 5cb76037ae
commit cfc2353059
14 changed files with 341 additions and 92 deletions
+10
View File
@@ -137,6 +137,16 @@ textarea {
padding-top: 6px; // has to be padding because margin collaspes
}
// Radios and checkboxes on same line
.radio.inline,
.checkbox.inline {
display: inline-block;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
margin-left: 10px;
}
// FOCUS STATE
+5
View File
@@ -53,6 +53,11 @@
}
}
// Navbar forms
.navbar-form {
margin-bottom: 0; // remove default bottom margin
}
// Navbar search
.navbar-search {
position: relative;
+7 -4
View File
@@ -8,19 +8,22 @@
.side-nav .nav-label,
.side-nav .nav-item {
display: block;
padding: 3px 16px;
padding: 3px 15px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.side-nav .nav-label {
font-size: 11px;
line-height: @baseLineHeight;
color: @grayDark;
color: @grayLight;
text-transform: uppercase;
}
.side-nav .nav-group {
margin: 0 -1px;
margin: 0; // clear default ul margins
list-style: none;
}
.side-nav .nav-group + .nav-label {
margin-top: 9px;
}
.side-nav .nav-item {
font-weight: bold;
@@ -34,7 +37,7 @@
.side-nav .active .nav-item {
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
#gradient > .vertical(#ccc, #aaa);
#gradient > .vertical(#ccc, #999);
@shadow: inset 0 1px 0 rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.05);
.box-shadow(@shadow);
}
+6 -6
View File
@@ -50,20 +50,20 @@ h3 {
font-size: 14px;
}
}
h4, h5, h6 {
line-height: @baseLineHeight;
}
h4 {
font-size: 16px;
line-height: @baseLineHeight * 2;
font-size: 14px;
small {
font-size: 12px;
}
}
h5 {
font-size: 14px;
line-height: @baseLineHeight;
font-size: 12px;
}
h6 {
font-size: 13px;
line-height: @baseLineHeight;
font-size: 11px;
color: @grayLight;
text-transform: uppercase;
}