diff options
| author | Mark Otto <[email protected]> | 2012-01-27 16:26:55 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-27 16:26:55 -0800 |
| commit | f6dc566963c63d5113e72f0098ad9da2c414f33f (patch) | |
| tree | 91072cd92fe08910009474ee4a128983b3bb75b9 /docs/assets/css/docs.css | |
| parent | 800d0b24e08dec4835e7f4126701428c5c5bae2c (diff) | |
| download | bootstrap-f6dc566963c63d5113e72f0098ad9da2c414f33f.tar.xz bootstrap-f6dc566963c63d5113e72f0098ad9da2c414f33f.zip | |
overhaul navbar behavior in responsive css
Diffstat (limited to 'docs/assets/css/docs.css')
| -rw-r--r-- | docs/assets/css/docs.css | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index bc3c97106..cf4b1962f 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -723,6 +723,11 @@ form.well { @media (max-width: 768px) { + /* Remove any padding from the body */ + body { + padding-top: 0; + } + /* Subnav */ .subnav { position: static; @@ -745,13 +750,6 @@ form.well { border-top: 1px solid #e5e5e5; } - /* Adjust the jumbotron */ - .jumbotron .benefits { - position: relative; - width: auto; - margin: 36px 0; - } - /* Popovers */ .large-bird { display: none; @@ -787,9 +785,14 @@ form.well { .jumbotron h1 { font-size: 54px; } + .masthead p { + font-size: 25px; + line-height: 36px; + } .jumbotron h1, .jumbotron p { margin-right: 0; + margin-left: 0; } } @@ -797,15 +800,27 @@ form.well { @media (min-width: 768px) and (max-width: 940px) { + /* Remove any padding from the body */ + body { + padding-top: 0; + } + /* Scale down the jumbotron content */ .jumbotron h1 { font-size: 72px; } - /* Provide enough space on right-hand side for benefits list */ - .jumbotron h1, - .jumbotron p { - margin-right: 40%; +} + +@media (max-width: 940px) { + + /* Unfloat brand */ + .navbar-fixed-top .brand { + float: none; + margin-left: 0; + padding-left: 15px; + padding-right: 15px; } + } |
