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 float: left; 20 margin-right: 2em; 21 } 22 23 /* Prevent issues with the above float. */ 24 25 hr { 26 clear: left; 27 } 28 29 ul.category-submenu { 30 list-style: none; 31 margin-left: 0; 32 padding-left: 0; 33 padding-top: 0.25em; 34 } 35 36 ul.category-menu li { 37 list-style: none; 38 padding: 0.25em; 39 background-color: #073683; 40 color: white; 41 } 42 43 ul.category-menu a, 44 ul.category-menu a:visited, 45 ul.category-menu a:hover { 46 text-decoration: none; 47 color: white; 48 } 49 50 ul.category-menu li.selected, 51 ul.category-menu li:hover { 52 background-color: #10adf7; 53 } 54 55 ul.category-submenu li.selected { 56 background-color: #073683; 57 } 58 59 ul.category-menu li.current, 60 ul.category-submenu li.selected { 61 font-weight: bold; 62 } 63 64 ul.category-submenu li { 65 font-weight: normal; 66 } 67 68 /* vim: tabstop=4 expandtab shiftwidth=4 69 */