Tobias Grosser | fe6d984 | 2011-05-02 07:48:29 | [diff] [blame^] | 1 | /***************/ |
2 | /* page layout */ | ||||
3 | /***************/ | ||||
4 | |||||
5 | [id=menu] { | ||||
6 | width:25ex; | ||||
7 | float: left; | ||||
8 | } | ||||
9 | [id=content] { | ||||
10 | /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */ | ||||
11 | position:absolute; | ||||
12 | left:29ex; | ||||
13 | padding-right:4ex; | ||||
14 | } | ||||
15 | |||||
16 | /**************/ | ||||
17 | /* menu style */ | ||||
18 | /**************/ | ||||
19 | |||||
20 | #menu .submenu { | ||||
21 | padding-top:1em; | ||||
22 | display:block; | ||||
23 | } | ||||
24 | |||||
25 | #menu label { | ||||
26 | display:block; | ||||
27 | font-weight: bold; | ||||
28 | text-align: center; | ||||
29 | background-color: rgb(192,192,192); | ||||
30 | } | ||||
31 | #menu a { | ||||
32 | padding:0 .2em; | ||||
33 | display:block; | ||||
34 | text-align: center; | ||||
35 | background-color: rgb(235,235,235); | ||||
36 | } | ||||
37 | #menu a:visited { | ||||
38 | color:rgb(100,50,100); | ||||
39 | } |