1 | /* $Id: content.css 1243 2006-04-21 20:55:42Z nikrou $ */ |
---|
2 | #content { |
---|
3 | margin-right: 1em; |
---|
4 | margin-bottom: 1em; /* when it's longer than menu bar */ |
---|
5 | } |
---|
6 | |
---|
7 | BODY#theCommentsPage #content, |
---|
8 | BODY#theRegisterPage #content, |
---|
9 | BODY#theIdentificationPage #content, |
---|
10 | BODY#theProfilePage #content, |
---|
11 | BODY#theSearchPage #content, |
---|
12 | BODY#theAboutPage #content, |
---|
13 | BODY#thePopuphelpPage #content, |
---|
14 | BODY#thePasswordPage #content, |
---|
15 | BODY#theNotificationPage #content, |
---|
16 | BODY#theTagsPage #content, |
---|
17 | BODY#theNBMPage #content |
---|
18 | { |
---|
19 | margin: 1em; |
---|
20 | } |
---|
21 | |
---|
22 | #content H3 { |
---|
23 | margin-bottom: 1ex; |
---|
24 | } |
---|
25 | |
---|
26 | #content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/ |
---|
27 | |
---|
28 | #content H3 { |
---|
29 | text-align: center; |
---|
30 | } |
---|
31 | |
---|
32 | /* Thumbnails customization */ |
---|
33 | #content UL.thumbnails SPAN.thumbLegend { |
---|
34 | font-size: 80%; /* font size */ |
---|
35 | height: 3em; /* max legend height (don't set auto to be Geko friendly)*/ |
---|
36 | overflow: hidden; /* oversized legend is clipped */ |
---|
37 | } |
---|
38 | |
---|
39 | /* Thumbnail "elastic" layout */ |
---|
40 | #content UL.thumbnails { |
---|
41 | margin: 0; |
---|
42 | padding: 0; |
---|
43 | list-style: none; |
---|
44 | text-align: center; /* to center the whole collection in #content */ |
---|
45 | } |
---|
46 | #content UL.thumbnails LI { display: inline } |
---|
47 | |
---|
48 | #content UL.thumbnails SPAN.wrap1 { |
---|
49 | margin: 0 5px 5px 5px; |
---|
50 | display: table-cell; display: inline-table; display: inline-block; |
---|
51 | vertical-align: top; /* OK with Opera and IE6 not Geko */ |
---|
52 | text-align: center; /* to center the thumbnail and legend in Geko/Opera */ |
---|
53 | } |
---|
54 | #content UL.thumbnails SPAN.wrap2 { |
---|
55 | margin: 0; /* important reset the margins */ |
---|
56 | display: table-cell; /* block prevents vertical-align here */ |
---|
57 | vertical-align: middle; /* Ok with Opera and Geko not IE6 */ |
---|
58 | } |
---|
59 | #content UL.thumbnails SPAN.wrap2 A { |
---|
60 | display: block; |
---|
61 | border-bottom: none; |
---|
62 | } |
---|
63 | #content UL.thumbnails IMG { |
---|
64 | margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ |
---|
65 | } |
---|
66 | |
---|
67 | /* fix IE with another layout */ |
---|
68 | * html #content UL.thumbnails SPAN.wrap2 { |
---|
69 | display: block; |
---|
70 | position: relative; |
---|
71 | text-align: left; |
---|
72 | } |
---|
73 | * html #content UL.thumbnails SPAN.wrap2 A { |
---|
74 | overflow: visible; |
---|
75 | position: absolute; |
---|
76 | top: 50%; |
---|
77 | text-align: center; |
---|
78 | } |
---|
79 | * html #content UL.thumbnails IMG.thumbnail { |
---|
80 | position: relative; |
---|
81 | top: -50%; |
---|
82 | } |
---|
83 | |
---|
84 | #content .navigationBar, #content .additional_info { |
---|
85 | margin: 10px 0; |
---|
86 | text-align: center; |
---|
87 | } |
---|
88 | |
---|
89 | #content .pageNumberSelected { |
---|
90 | font-style: italic; |
---|
91 | } |
---|
92 | |
---|
93 | #content .additional_info { |
---|
94 | font-size: 110%; |
---|
95 | } |
---|
96 | |
---|
97 | #content FORM { |
---|
98 | text-align: left; |
---|
99 | } |
---|
100 | |
---|
101 | /* content defaults */ |
---|
102 | #content DL, DD { margin: 10px; } |
---|
103 | #content DT { |
---|
104 | margin-bottom: 5px; |
---|
105 | font-style: italic; |
---|
106 | font-size: 110%; |
---|
107 | } |
---|
108 | |
---|
109 | /* actions */ |
---|
110 | UL.categoryActions { |
---|
111 | margin: 0 2px; |
---|
112 | width: auto; |
---|
113 | padding: 0; |
---|
114 | text-indent: 0; |
---|
115 | list-style: none; |
---|
116 | text-align: center; |
---|
117 | } |
---|
118 | |
---|
119 | #content DIV.titrePage UL.categoryActions { |
---|
120 | float: right; |
---|
121 | text-align: center; |
---|
122 | } |
---|
123 | |
---|
124 | #content DIV.titrePage { |
---|
125 | padding: 0 0 3px; |
---|
126 | } |
---|
127 | |
---|
128 | #content UL.categoryActions LI { |
---|
129 | display: inline; |
---|
130 | } |
---|
131 | |
---|
132 | #content UL.categoryActions A IMG, UL.categoryActions A { |
---|
133 | border: none; |
---|
134 | margin-bottom: -5px; |
---|
135 | } |
---|
136 | |
---|
137 | /* User comments */ |
---|
138 | |
---|
139 | #content DIV#comments { |
---|
140 | padding-left: 5px; |
---|
141 | padding-right: 5px; |
---|
142 | -moz-box-sizing: padding-box; |
---|
143 | } |
---|
144 | #content DIV.comment { |
---|
145 | margin: 0 0 0.5em 0; |
---|
146 | padding: 0; |
---|
147 | overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */ |
---|
148 | width: 100%; /* don't ask why. It's a very usefull trick */ |
---|
149 | } |
---|
150 | |
---|
151 | #content DIV.comment A.illustration { |
---|
152 | display: block; |
---|
153 | float: left; |
---|
154 | margin: 0.5em 0 0 0.5em; |
---|
155 | } |
---|
156 | |
---|
157 | #content DIV.comment P.commentHeader { |
---|
158 | text-align: right; |
---|
159 | margin: 0.5em 0.5em 0 0; |
---|
160 | } |
---|
161 | |
---|
162 | #content DIV.comment UL.actions { |
---|
163 | text-align: center; |
---|
164 | margin: 0.2em; |
---|
165 | } |
---|
166 | |
---|
167 | #content DIV.comment BLOCKQUOTE { |
---|
168 | margin-top: 1em; |
---|
169 | margin-right: 0.5em; |
---|
170 | margin-bottom: 150px; |
---|
171 | padding: 0.5em; |
---|
172 | } |
---|
173 | |
---|
174 | /* should be in admin.css ? CSS properties also used in popuphelp */ |
---|
175 | |
---|
176 | SPAN.pwgScreen { |
---|
177 | border-bottom: 1px dotted black; |
---|
178 | } |
---|
179 | |
---|
180 | SPAN.filename:before { |
---|
181 | content: "["; |
---|
182 | } |
---|
183 | |
---|
184 | SPAN.filename:after { |
---|
185 | content: "]"; |
---|
186 | } |
---|
187 | |
---|
188 | TABLE.thumbnail { |
---|
189 | margin-left: auto; |
---|
190 | margin-right: auto; |
---|
191 | } |
---|
192 | TD.thumbnail label { |
---|
193 | position: relative; |
---|
194 | } |
---|
195 | TD.thumbnail input { |
---|
196 | position: absolute; |
---|
197 | left: 0; |
---|
198 | top: 0; |
---|
199 | background: transparent; |
---|
200 | border: none; |
---|
201 | } |
---|
202 | |
---|
203 | /* begin chronology/calendar elements*/ |
---|
204 | #content DIV.calendarViews { |
---|
205 | display: block; |
---|
206 | float: right; |
---|
207 | margin: 2px 0 0; |
---|
208 | } |
---|
209 | |
---|
210 | #content DIV.calendarBar { margin: 8px 4px; } |
---|
211 | |
---|
212 | SPAN.calItem, SPAN.calItemEmpty { |
---|
213 | font-weight: bold; |
---|
214 | margin: 0 1px; |
---|
215 | } |
---|
216 | |
---|
217 | SPAN.calItem A { border:0 } |
---|
218 | |
---|
219 | #content DIV.calendarCalBar { |
---|
220 | margin: 10px 10px; |
---|
221 | text-align: left; |
---|
222 | } |
---|
223 | |
---|
224 | SPAN.calCalHead { |
---|
225 | font-weight: bold; |
---|
226 | font-size: 110%; |
---|
227 | margin: 0 2px; |
---|
228 | } |
---|
229 | |
---|
230 | SPAN.calCal { margin: 0 2px; } |
---|
231 | |
---|
232 | /* nice looking month calendar*/ |
---|
233 | TABLE.calMonth { |
---|
234 | border: none; |
---|
235 | border-collapse: collapse; |
---|
236 | margin-bottom: 10px; /*<-IE ignores this */ |
---|
237 | } |
---|
238 | |
---|
239 | TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank { |
---|
240 | text-align:left; |
---|
241 | vertical-align: top; |
---|
242 | font: bold 18px Arial, Helvetica, sans-serif; |
---|
243 | } |
---|
244 | |
---|
245 | TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; } |
---|
246 | |
---|
247 | DIV.calImg { |
---|
248 | overflow: hidden; |
---|
249 | vertical-align: bottom; |
---|
250 | z-index: 1; |
---|
251 | position: relative; /*<- this required by IE*/ |
---|
252 | } |
---|
253 | |
---|
254 | .calImg img { |
---|
255 | position: relative; |
---|
256 | border: 0; |
---|
257 | } |
---|
258 | |
---|
259 | .calBackDate { |
---|
260 | padding-left: 4px; |
---|
261 | padding-top: 0px; |
---|
262 | z-index: 2; |
---|
263 | position: absolute; |
---|
264 | text-align: left; |
---|
265 | vertical-align: top; |
---|
266 | } |
---|
267 | |
---|
268 | .calForeDate { |
---|
269 | padding-left: 5px; |
---|
270 | padding-top: 1px; |
---|
271 | z-index: 3; |
---|
272 | position: absolute; |
---|
273 | text-align: left; |
---|
274 | vertical-align: top; |
---|
275 | } |
---|
276 | |
---|
277 | /* Category thumbnails on main page, CSS code inspired from MOD subcatify */ |
---|
278 | #content UL.thumbnailCategories { |
---|
279 | margin: 0; |
---|
280 | padding: 0; |
---|
281 | list-style: none; |
---|
282 | text-align: center; |
---|
283 | overflow: hidden; |
---|
284 | width: 100%; |
---|
285 | } |
---|
286 | |
---|
287 | * html #content UL.thumbnailCategories { |
---|
288 | width: 99%; /* buggy IE box model */ |
---|
289 | } |
---|
290 | |
---|
291 | #content UL.thumbnailCategories LI { |
---|
292 | margin:0; |
---|
293 | padding:0; |
---|
294 | float:left; |
---|
295 | } |
---|
296 | |
---|
297 | #content DIV.thumbnailCategory { |
---|
298 | display:block; |
---|
299 | padding: 2px 0px 0px 2px; |
---|
300 | margin: 5px; |
---|
301 | } |
---|
302 | |
---|
303 | #content DIV.thumbnailCategory DIV.description { |
---|
304 | font-size: 90%; |
---|
305 | overflow: auto; |
---|
306 | width: inherit; |
---|
307 | } |
---|
308 | |
---|
309 | #content DIV.thumbnailCategory DIV.description H3 { |
---|
310 | text-align: left; |
---|
311 | background: transparent; |
---|
312 | margin: 0; |
---|
313 | padding: 0.1em; |
---|
314 | font-size: 120%; |
---|
315 | } |
---|
316 | |
---|
317 | #content DIV.thumbnailCategory DIV.description P { |
---|
318 | margin: 0; |
---|
319 | } |
---|
320 | |
---|
321 | #content DIV.thumbnailCategory DIV.illustration { |
---|
322 | text-align: left; |
---|
323 | margin: 2px 0 2px 2px; |
---|
324 | float: left; |
---|
325 | } |
---|