diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-28 13:39:23 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-28 13:39:23 +0800 |
commit | 7ba3812f918983a47cda678c31d12e0cd089677a (patch) | |
tree | 5731a9549a18f348261df5c8913049b83ab4119c /static/css/sidebar.css | |
parent | 650b6c5f48bccd2f79e2489ecd9df9157bac421a (diff) | |
download | django-skaschool-7ba3812f918983a47cda678c31d12e0cd089677a.tar.bz2 |
* moved 'introduction.js' -> 'sidebar.js'
* moved 'introduction.css' -> 'sidebar.css'
* updated page introduction.html
* updated index.html and navbar.html
Diffstat (limited to 'static/css/sidebar.css')
-rw-r--r-- | static/css/sidebar.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/static/css/sidebar.css b/static/css/sidebar.css new file mode 100644 index 0000000..8208983 --- /dev/null +++ b/static/css/sidebar.css @@ -0,0 +1,32 @@ +/* + * css for sidebar + */ + +.navbar-bright { + background-color: #111155; + color: #fff; +} + +.affix-top, .affix{ + position: static; +} + +@media (min-width: 979px) { + #sidebar.affix-top { + position: static; + margin-top: 30px; + width: 228px; + } + + #sidebar.affix { + position: fixed; + top: 70px; + width: 228px; + } +} + +#sidebar li.active { + border: 0 #eee solid; + border-left-width: 5px; +} + |