1 /* category.css - some additional styles for the CategoryMenu macro 2 which can be included in screen.css using... 3 4 @import "category.css"; 5 6 ...before any rules. 7 8 Copyright (c) 2008 by Paul Boddie 9 Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. 10 */ 11 12 /* Category menus... */ 13 14 ul.category-menu { 15 list-style: none; 16 margin-left: 0; 17 padding-left: 0; 18 width: 20em; 19 } 20 21 ul.category-submenu { 22 list-style: none; 23 margin-left: 0; 24 padding-left: 0; 25 padding-top: 0.25em; 26 } 27 28 ul.category-menu li { 29 list-style: none; 30 padding: 0.25em; 31 background-color: #073683; 32 color: white; 33 } 34 35 ul.category-menu a, 36 ul.category-menu a:visited, 37 ul.category-menu a:hover { 38 text-decoration: none; 39 color: white; 40 } 41 42 ul.category-menu li.selected, 43 ul.category-menu li:hover { 44 background-color: #10adf7; 45 } 46 47 ul.category-submenu li.selected { 48 background-color: #073683; 49 } 50 51 ul.category-menu li.current, 52 ul.category-submenu li.selected { 53 font-weight: bold; 54 } 55 56 ul.category-submenu li { 57 font-weight: normal; 58 } 59 60 /* vim: tabstop=4 expandtab shiftwidth=4 61 */