diff --git a/assets/main.css b/assets/main.css index a6402f1..5656a9e 100644 --- a/assets/main.css +++ b/assets/main.css @@ -29,15 +29,41 @@ body { } .terms-sidebar { - /*margin-top: 40px;*/ + margin-top: 40px; } - .terms-sidebar ul { + .terms-sidebar .nav { position: fixed; } - .terms-sidebar ul > li > a { + .terms-sidebar .nav > li > a { padding-bottom: 5px; padding-top: 5px; } - .terms-sidebar ul > .active > a { - color: red; - } \ No newline at end of file + .terms-sidebar .nav > .active > a, + .terms-sidebar .nav > .active > a:hover, + .terms-sidebar .nav > .active > a:focus { + background-color: transparent; + border-left: 2px solid #2a6496; + color: #2a6496; + font-weight: bold; + margin-left: -2px; + text-decoration: none; + } + .terms-sidebar .nav > li > a:hover, + .terms-sidebar .nav > li > a:focus { + background-color: transparent; + border-left: 1px solid #2a6496; + margin-left: -1px; + text-decoration: none; + } + +.class-section, +.term-dl { + padding-top: 70px; + margin-top: -70px; +} + +@media screen and (max-width: 767px){ + .terms-sidebar { + display:none + } +} diff --git a/build/terms.tmpl b/build/terms.tmpl index 41de7e0..3744c6b 100644 --- a/build/terms.tmpl +++ b/build/terms.tmpl @@ -25,7 +25,7 @@
-