diff options
| author | Mark Otto <[email protected]> | 2013-03-01 13:53:21 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-01 13:53:21 -0800 |
| commit | 1f160d4c12e2801d5ede245099d74386f91214a8 (patch) | |
| tree | 5984bee820ad1f6eec6db7de511f1ad46fb51a45 /docs/assets/css/docs.css | |
| parent | f59e4fdba32b99bdd4e6387f889dda4c9270f762 (diff) | |
| parent | e0647e8273aee5bd09d5461f6f974e36b3d0c3c9 (diff) | |
| download | bootstrap-1f160d4c12e2801d5ede245099d74386f91214a8.tar.xz bootstrap-1f160d4c12e2801d5ede245099d74386f91214a8.zip | |
Merge branch '3.0.0-wip' into bs3_makefile_separated_done
Conflicts:
Makefile
Diffstat (limited to 'docs/assets/css/docs.css')
| -rw-r--r-- | docs/assets/css/docs.css | 75 |
1 files changed, 66 insertions, 9 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 8a06cbc45..196cacb0f 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -9,13 +9,14 @@ -------------------------------------------------- */ body { + padding-top: 54px; position: relative; /* For scrollyspy */ /* We add the padding to the body for >768px only */ } /* */ -body > .container, -.footer .container { +.bs-docs-body > .container, +.bs-docs-footer .container { padding-left: 15px; padding-right: 15px; } @@ -41,6 +42,22 @@ section > ul li { +/* Navbar +-------------------------------------------------- */ + +.bs-docs-navbar { + background-color: #fff; + border-bottom: 1px solid #ccc; /* IE8 */ + border-bottom: 1px solid rgba(0,0,0,.1); +} +.bs-docs-navbar .nav > .active > a, +.bs-docs-navbar .nav > .active > a:hover { + font-weight: 500; + background-color: transparent; +} + + + /* Jumbotrons -------------------------------------------------- */ @@ -106,23 +123,23 @@ section > ul li { /* Marketing section of Overview -------------------------------------------------- */ -.marketing { +.bs-docs-marketing { text-align: center; color: #5a5a5a; } -.marketing h1 { +.bs-docs-marketing h1 { margin: 60px 0 10px; font-size: 50px; line-height: 1; } -.marketing h2 { +.bs-docs-marketing h2 { margin-bottom: 5px; } -.marketing p { +.bs-docs-marketing p { font-size: 16px; line-height: 1.4; } -.marketing .marketing-byline { +.bs-docs-marketing .marketing-byline { margin-bottom: 40px; font-size: 21px; font-weight: 300; @@ -242,6 +259,31 @@ section > ul li { margin-bottom: 0; } +/* Typography */ +.bs-docs-example-type .table td { + color: #999; + vertical-align: middle; + border-color: ; +} +.bs-docs-example-type .table td, +.bs-docs-example-type .table th { + padding: 15px 0; + border-color: #eee; +} +.bs-docs-example-type .table tr:first-child td, +.bs-docs-example-type .table tr:first-child th { + border-top: 0; +} +.bs-docs-example-type h1, +.bs-docs-example-type h2, +.bs-docs-example-type h3, +.bs-docs-example-type h4, +.bs-docs-example-type h5, +.bs-docs-example-type h6 { + margin: 0; +} + + /* Navbar examples */ .bs-navbar-top-example, .bs-navbar-bottom-example { @@ -310,6 +352,11 @@ section > ul li { margin-left: 20px; } +/* Example tabbable tabs */ +.bs-docs-example-tabs .nav-tabs { + margin-bottom: 15px; +} + /* Example templates -------------------------------------------------- */ @@ -436,13 +483,13 @@ section > ul li { /* Footer -------------------------------------------------- */ -.footer { +.bs-docs-footer { text-align: center; padding: 30px 0; margin-top: 100px; border-top: 1px solid #e5e5e5; } -.footer p { +.bs-docs-footer p { margin-bottom: 0; color: #777; } @@ -545,6 +592,16 @@ input.focused { /* Responsive variations -------------------------------------------------- */ +/* Hide code snippets on mobile devices */ +@media screen and (max-width: 480px) { + .bs-docs-example { + border-radius: 4px; + } + .highlight { + display: none; + } +} + /* Tablets and up */ @media screen and (min-width: 768px) { |
