equal
deleted
inserted
replaced
1 |
|
2 /* |
|
3 * Three main areas: |
|
4 * header |
|
5 * nav |
|
6 * content |
|
7 * |
|
8 * Border layout: |
|
9 * Header (bottom) |
|
10 * Content (left) |
|
11 */ |
|
12 |
|
13 /* |
|
14 * Global styles |
|
15 */ |
|
16 body { |
|
17 padding: 0px; |
|
18 margin: 0px; |
|
19 |
|
20 background-color: #ffffff; |
|
21 color: #000000; |
|
22 } |
|
23 |
|
24 /* |
|
25 * Top header |
|
26 */ |
|
27 div#header { |
|
28 padding: 30px; |
|
29 |
|
30 font-size: 48pt; |
|
31 font-weight: bold; |
|
32 |
|
33 border-bottom: 1px dashed #a5a5a5; |
|
34 } |
|
35 |
|
36 div#header a:hover { |
|
37 text-decoration: none; |
|
38 } |
|
39 |
|
40 /* |
|
41 * Container for layout items |
|
42 */ |
|
43 #container { |
|
44 overflow: hidden; |
|
45 } |
|
46 |
|
47 /* |
|
48 * Main navigation menu |
|
49 */ |
|
50 #nav { |
|
51 float: left; |
|
52 |
|
53 padding-bottom: 2000px; |
|
54 margin-bottom: -2000px; |
|
55 |
|
56 border-right: 1px dashed #a5a5a5; |
|
57 } |
|
58 |
|
59 #nav ul { |
|
60 margin: 0px; |
|
61 padding: 0px; |
|
62 |
|
63 list-style: none; |
|
64 |
|
65 width: 180px; |
|
66 |
|
67 padding-top: 25px; |
|
68 } |
|
69 |
|
70 #nav ul ul { |
|
71 padding-top: 0px; |
|
72 border-left: 15px solid #d0d0d0; |
|
73 } |
|
74 |
|
75 #nav li a { |
|
76 display: block; |
|
77 |
|
78 padding: 10px; |
|
79 padding-left: 20px; |
|
80 } |
|
81 |
|
82 #nav li a:hover { |
|
83 background-color: #d0d0d0; |
|
84 text-decoration: none; |
|
85 } |
|
86 |
|
87 #nav li a.selected-page { |
|
88 border-left: 5px solid black; |
|
89 padding-left: 15px; |
|
90 } |
|
91 |
|
92 /* |
|
93 * Content |
|
94 */ |
|
95 div#content { |
|
96 margin-left: 180px; |
|
97 padding: 25px; |
|
98 |
|
99 padding-right: 50px; |
|
100 } |
|
101 |
|
102 div#breadcrumb { |
|
103 font-size: x-small; |
|
104 } |
|
105 |
|
106 /* |
|
107 * Footer |
|
108 */ |
|
109 div#footer { |
|
110 padding: 10px; |
|
111 |
|
112 border-top: 1px dashed #a5a5a5; |
|
113 |
|
114 font-size: x-small; |
|
115 font-style: italic; |
|
116 } |
|
117 |
|
118 div#footer-left { |
|
119 float: left; |
|
120 } |
|
121 |
|
122 div#footer-right { |
|
123 float: right; |
|
124 text-align: right; |
|
125 } |
|
126 |
|
127 div#footer-center { |
|
128 text-align: center; |
|
129 } |
|
130 |
|
131 /* |
|
132 * General styles |
|
133 */ |
|
134 a { |
|
135 color: black; |
|
136 text-decoration: none; |
|
137 font-weight: bold; |
|
138 } |
|
139 |
|
140 a:hover { |
|
141 text-decoration: underline; |
|
142 } |
|
143 |
|
144 h1 { |
|
145 font-size: x-large; |
|
146 } |
|
147 |
|
148 h2 { |
|
149 font-size: large; |
|
150 } |
|
151 |
|
152 div#content p { |
|
153 margin-left: 0.5em; |
|
154 } |
|
155 |
|
156 #content li { |
|
157 padding: 2px; |
|
158 } |
|
159 |
|
160 #content a { |
|
161 padding-right: 13px; |
|
162 |
|
163 background: transparent url(/static/link.png) no-repeat center right; |
|
164 } |
|
165 |
|