diff options
| author | Max Hurl | 2012-10-05 12:29:53 +0100 |
|---|---|---|
| committer | Max Hurl | 2012-10-05 12:29:53 +0100 |
| commit | f70a5edc1f538d80c507a776ea670b01adee06f0 (patch) | |
| tree | 25fc371edbb19447f3df31bc86a2d8155a44e9d6 /docs/static/css | |
| parent | ad5e6eb16f4db928e1fc8d0a6af4f9f4584f7b08 (diff) | |
| download | django-rest-framework-f70a5edc1f538d80c507a776ea670b01adee06f0.tar.bz2 | |
Added dabapps styles and general improvements to docs
Diffstat (limited to 'docs/static/css')
| -rwxr-xr-x[-rw-r--r--] | docs/static/css/bootstrap-responsive.css | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | docs/static/css/bootstrap.css | 2 | ||||
| -rw-r--r-- | docs/static/css/default.css | 70 |
3 files changed, 72 insertions, 2 deletions
diff --git a/docs/static/css/bootstrap-responsive.css b/docs/static/css/bootstrap-responsive.css index 9259d26d..a8caf451 100644..100755 --- a/docs/static/css/bootstrap-responsive.css +++ b/docs/static/css/bootstrap-responsive.css @@ -1055,4 +1055,4 @@ height: auto !important; overflow: visible !important; } -} +}
\ No newline at end of file diff --git a/docs/static/css/bootstrap.css b/docs/static/css/bootstrap.css index 9fa6f766..53df6859 100644..100755 --- a/docs/static/css/bootstrap.css +++ b/docs/static/css/bootstrap.css @@ -5771,4 +5771,4 @@ a.badge:hover { .affix { position: fixed; -} +}
\ No newline at end of file diff --git a/docs/static/css/default.css b/docs/static/css/default.css index 49aac3a3..28cd9a19 100644 --- a/docs/static/css/default.css +++ b/docs/static/css/default.css @@ -64,6 +64,7 @@ a.github:hover { /* Force TOC text to not overrun */ #table-of-contents { overflow: hidden; + margin: 0 0 20px 0; } /* Code blocks should scroll horizontally */ @@ -138,3 +139,72 @@ blockquote p:last-child { margin-top: 5px; } + +/*=== dabapps bootstrap styles ====*/ + +html{ + width:100%; + background: none; +} + +body, .navbar .navbar-inner .container-fluid{ + max-width: 1150px; + margin: 0 auto; +} + +body{ + background: url("../img/grid.png") repeat-x; +} + +/* custom navigation styles */ + +.navbar .navbar-inner{ + background: #2C2C2C; + color: white; + border: none; + border-top: 5px solid #A30000; +} + +.navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand{ + color: white; +} + +.nav-list > .active > a, .nav-list > .active > a:hover { + background: #2c2c2c; +} + +.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ + color: #A30000; +} +.navbar .navbar-inner .dropdown-menu li a:hover{ + background: #eeeeee; + color: #c20000; +} + +/* custom general page styles */ +.hero-unit h2, .hero-unit h1{ + color: #A30000; +} + +body a{ + color: #A30000; +} + +body a:hover{ + color: #c20000; +} + +/* subnavigation styles */ + +@media (min-width: 767px) { + .sidebar-nav-fixed { + position:fixed; + width:19%; + max-width: 240px; + } + + .navbar .navbar-inner .container-fluid{ + max-width: 1110px; + } + } + |
