blob: 05c1bbfc82db73eaef836a663a7079cd5361aeed [file] [log] [blame]
Ted Kremenek5a9bd112010-02-08 23:50:54 +00001/* From 'A list apart', 'dropdowns' */
Ted Kremenek8bebc6e2010-02-09 23:05:59 +00002
Ted Kremenek5a9bd112010-02-08 23:50:54 +00003#nav {
Ted Kremenek8bebc6e2010-02-09 23:05:59 +00004 clear: left;
5 margin:0;
6 padding:0;
Ted Kremenek5a9bd112010-02-08 23:50:54 +00007 font-weight: bold;
Ted Kremenek8bebc6e2010-02-09 23:05:59 +00008 width:100%;
9 background-color: #EBF0FA;
10 border-bottom: 1px solid;
11 font-size: 80%;
Ted Kremenek591b9072009-06-08 21:21:24 +000012}
Ted Kremenek5a9bd112010-02-08 23:50:54 +000013#nav a {
14 text-decoration: none;
15}
16#nav a:hover {
17 text-decoration: underline;
Ted Kremenek591b9072009-06-08 21:21:24 +000018}
Ted Kremenek5a9bd112010-02-08 23:50:54 +000019.menubar ul {
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000020 list-style: none inside;
Ted Kremenek591b9072009-06-08 21:21:24 +000021}
Ted Kremenek5a9bd112010-02-08 23:50:54 +000022.menubar li {
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000023 margin: 0;
24 padding: 5px;
Ted Kremeneke28897a2010-02-09 23:16:24 +000025 text-align: left;
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000026 text-indent: 0px;
27 list-style-position: inside;
28 list-style:none;
Ted Kremenek5a9bd112010-02-08 23:50:54 +000029 float: left;
30 position: relative;
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000031 width: 13em;
Ted Kremenek5a9bd112010-02-08 23:50:54 +000032 cursor: default;
33 background-color: #EBF0FA;
34}
35.menubar li ul /* second level lists */ {
36 display: none;
37 position: absolute;
Ted Kremenek5a9bd112010-02-08 23:50:54 +000038 left: 0;
39}
40.menubar li>ul {
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000041 border-left: 1px solid;
42 border-right: 1px solid;
43 border-bottom: 1px solid;
Ted Kremenek5a9bd112010-02-08 23:50:54 +000044 padding: 0;
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000045 margin: 5px 0;
Ted Kremenek5a9bd112010-02-08 23:50:54 +000046 left:auto;
47 font-weight: normal;
48}
49.menubar li:hover ul, li.over ul { /* lists nested under hovered list items */
50 display: block;
51}
Ted Kremenek8bebc6e2010-02-09 23:05:59 +000052