Line | |
---|
1 | #navigation { |
---|
2 | } |
---|
3 | |
---|
4 | #navigation .niveau1 { |
---|
5 | position:relative; |
---|
6 | float:left; |
---|
7 | padding:0 0 10px 0; |
---|
8 | margin-right:12px; |
---|
9 | height:12px; |
---|
10 | } |
---|
11 | |
---|
12 | .niveau1 { |
---|
13 | font-size: 12px; |
---|
14 | } |
---|
15 | |
---|
16 | .niveau1 a { |
---|
17 | text-decoration: none; |
---|
18 | color: #fff; |
---|
19 | } |
---|
20 | |
---|
21 | .niveau1 a:hover { |
---|
22 | color: #FF5125; |
---|
23 | } |
---|
24 | |
---|
25 | .ulniveau2 { |
---|
26 | display: none; |
---|
27 | width: 18em; |
---|
28 | position: absolute; |
---|
29 | top: 16px; |
---|
30 | left: 0; |
---|
31 | z-index: 300; |
---|
32 | font-size: 11px; |
---|
33 | } |
---|
34 | |
---|
35 | .niveau2 { |
---|
36 | width: 100%; |
---|
37 | padding:1px 0; |
---|
38 | } |
---|
39 | |
---|
40 | .ulniveau2 a { |
---|
41 | text-decoration: none; |
---|
42 | color:#eee; |
---|
43 | background: url('fond-menu.png') repeat; |
---|
44 | padding:1px 3px; |
---|
45 | } |
---|
46 | |
---|
47 | .ulniveau2 a:hover { |
---|
48 | background-color: #333; |
---|
49 | color: #fff; |
---|
50 | } |
---|
51 | |
---|
52 | /*#navigation li>ul { |
---|
53 | to override top and left in browsers other than IE, |
---|
54 | which will position to the top right of the containing li, |
---|
55 | rather than bottom left |
---|
56 | top: auto; |
---|
57 | left: auto; |
---|
58 | }*/ |
---|
59 | |
---|
60 | #navigation li:hover ul, li.over ul { |
---|
61 | /* lists nested under hovered list items */ |
---|
62 | display: block; |
---|
63 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.