aboutsummaryrefslogtreecommitdiffstats
path: root/template/public/yoga/content.css
blob: 7a890985632cb278634694e318ab2b32e343b968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
/* $Id$ */
#content {
    margin-right: 1em;
    margin-bottom: 1em; /* when it's longer than menu bar */
}

BODY#theCommentsPage #content,
BODY#theRegisterPage #content,
BODY#theIdentificationPage #content,
BODY#theProfilePage #content,
BODY#theSearchPage #content,
BODY#theAboutPage #content,
BODY#thePopuphelpPage #content,
BODY#thePasswordPage #content,
BODY#theNotificationPage #content,
BODY#theTagsPage #content,
BODY#theNBMPage #content
{
  margin: 1em;
}

#content H3 {
    margin-bottom: 1ex;
}

#content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/

#content H3 {
    text-align: center;
}

/* Thumbnails customization */
#content UL.thumbnails SPAN.thumbLegend {
  font-size: 80%;		/* font size */
  overflow: hidden;		/* oversized legend is clipped */
}

/* Thumbnail "elastic" layout */
#content UL.thumbnails {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;	/* to center the whole collection in #content */
}
#content UL.thumbnails LI { display: inline }

#content UL.thumbnails SPAN.wrap1 {
  margin: 0 5px 5px 5px;
  display: table-cell; display: inline-table; display: inline-block;
  vertical-align: top;		/* OK with Opera and IE6 not Geko */
  text-align: center;		/* to center the thumbnail and legend in Geko/Opera */
}
#content UL.thumbnails SPAN.wrap2 {
  margin: 0;			/* important reset the margins */
  display: table-cell;		/* block prevents vertical-align here */
  vertical-align: middle;	/* Ok with Opera and Geko not IE6 */
}
#content UL.thumbnails SPAN.wrap2 A,
#content UL.thumbnails SPAN.wrap2 LABEL {
  display: block;
  border-bottom: none;
}
#content UL.thumbnails IMG {
  margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
}

/* label and input used for caddie in admin section */
#content UL.thumbnails SPAN.wrap2 LABEL {
  position: relative;
}
:root #content UL.thumbnails SPAN.wrap2 INPUT { /* hide from Opera */
  position: absolute;
  left: 0;
  top: 0;
}

/* fix IE with another layout */
* html #content UL.thumbnails SPAN.wrap2 {
  display: block;
  position: relative;
  text-align: left;
}
* html #content UL.thumbnails SPAN.wrap2 A,
* html #content UL.thumbnails SPAN.wrap2 LABEL {
  overflow: visible;
  position: absolute;
  top: 50%;
  text-align: center;
}
* html #content UL.thumbnails IMG.thumbnail {
  position: relative;
  top: -50%;
  /*\*//*/
    margin-top: -40%;
  /**/
}
* html #content UL.thumbnails SPAN.wrap2 input {
  position: absolute;
  left: 0;
  top: -50%;  /* same as other browsers but not so pretty */
}

#content .navigationBar, #content .additional_info {
    margin: 10px 0;
    text-align: center;
}

#content .pageNumberSelected {
    font-style: italic;
}

#content .additional_info {
    font-size: 110%;
}

#content FORM {
    text-align: left;
}

/* content defaults */
#content DL, DD { margin: 10px; }
#content DT {
  margin-bottom: 5px;
  font-style: italic;
  font-size: 110%;
}

/* actions */
UL.categoryActions {
  margin: 0 2px;
  width: auto;
  padding: 0;
  text-indent: 0;
  list-style: none;
  text-align: center;
}

#content DIV.titrePage UL.categoryActions {
  float: right;
  text-align: center;
}

#content DIV.titrePage {
  padding: 0 0 3px;
}

#content UL.categoryActions LI {
  display: inline;
}

#content UL.categoryActions A IMG, UL.categoryActions A {
  border: none;
  margin-bottom: -5px;
}

/* User comments */

#content DIV#comments {
  padding-left: 5px;
  padding-right: 5px;
  -moz-box-sizing: padding-box;
}
#content DIV.comment {
  margin: 0 0 0.5em 0;
  padding: 0;
  overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */
  width: 100%;	    /* don't ask why. It's a very usefull trick                   */
}

#content DIV.comment A.illustration {
  display: block;
  float: left;
  margin: 0.5em 0 0 0.5em;
}

#content DIV.comment P.commentHeader {
  text-align: right;
  margin: 0.5em 0.5em 0 0;
}

#content DIV.comment UL.actions {
  text-align: center;
  margin: 0.2em;
}

#content DIV.comment BLOCKQUOTE {
  margin-top: 1em;
  margin-right: 0.5em;
  margin-bottom: 150px;
  padding: 0.5em;
}

/* should be in admin.css ? CSS properties also used in popuphelp */

SPAN.pwgScreen {
  border-bottom: 1px dotted black;
}

SPAN.filename:before {
  content: "[";
}

SPAN.filename:after {
  content: "]";
}

/* begin chronology/calendar elements*/
#content DIV.calendarViews {
  display: block;
  float: right;
  margin: 2px 0 0;
}

#content DIV.calendarBar { margin: 8px 4px; }

SPAN.calItem, SPAN.calItemEmpty {
  font-weight: bold;
  margin: 0 1px;
}

SPAN.calItem A { border:0 }

#content DIV.calendarCalBar {
  margin: 10px 10px;
  text-align: left;
}

SPAN.calCalHead {
  font-weight: bold;
  font-size: 110%;
  margin: 0 2px;
}

SPAN.calCal { margin: 0 2px; }

/* nice looking month calendar*/
TABLE.calMonth {
  border: none;
  border-collapse: collapse;
  margin-bottom: 10px;	/*<-IE ignores this */
}

TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
  text-align:left;
  vertical-align: top;
  font: bold 18px Arial, Helvetica, sans-serif;
}

TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; }

DIV.calImg {
  overflow: hidden;
  vertical-align: bottom;
  z-index: 1;
  position: relative; /*<- this required by IE*/
}

.calImg img {
  position: relative;
  border: 0;
}

.calBackDate {
  padding-left: 4px;
  padding-top: 0px;
  z-index: 2;
  position: absolute;
  text-align: left;
  vertical-align: top;
}

.calForeDate {
  padding-left: 5px;
  padding-top: 1px;
  z-index: 3;
  position: absolute;
  text-align: left;
  vertical-align: top;
}

/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
#content UL.thumbnailCategories {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

* html #content UL.thumbnailCategories {
  width: 99%; /* buggy IE box model */
}

#content UL.thumbnailCategories LI {
  margin:0;
  padding:0;
  float:left;
}

#content DIV.thumbnailCategory {
  display:block;
  padding: 2px 0px 0px 2px;
  margin: 5px;
}

#content DIV.thumbnailCategory DIV.description {
  font-size: 90%;
  overflow: auto;
  /*width: inherit;*/
}

#content DIV.thumbnailCategory DIV.description H3 {
  text-align: left;
  background: transparent;
  margin: 0;
  padding: 0.1em;
  font-size: 120%;
}

#content DIV.thumbnailCategory DIV.description P {
  margin: 0;
}

#content DIV.thumbnailCategory DIV.illustration {
  text-align: left;
  margin: 2px 0 0 2px;
  float: left;
}