source: extensions/floPure/content.css @ 3474

Last change on this file since 3474 was 3474, checked in by flop25, 15 years ago

refresh all the tpl with current yoga tpl.

maj avec le yoga de pwg 2.0.2

File size: 4.6 KB
Line 
1/* $Id: content.css 2352 2008-05-20 00:27:26Z patdenice $ */
2.content {
3    margin-right: 1em;
4    margin-bottom: 1em; /* when it's longer than menu bar */
5}
6#autre_content {
7        padding-bottom: 1em;
8}
9
10BODY#theCommentsPage .content,
11BODY#theUploadPage .content,
12BODY#theRegisterPage .content,
13BODY#theIdentificationPage .content,
14BODY#theProfilePage .content,
15BODY#theSearchPage .content,
16BODY#theAboutPage .content,
17BODY#thePopuphelpPage .content,
18BODY#thePasswordPage .content,
19BODY#theNotificationPage .content,
20BODY#theTagsPage .content,
21BODY#theNBMPage .content
22{
23  margin: 1em;
24}
25
26.content H3 {
27    margin-bottom: 1ex;
28}
29
30.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
31
32.content H3 {
33    text-align: center;
34}
35
36.content .navigationBar, .content .additional_info {
37    margin: 10px 0;
38    text-align: center;
39}
40
41.content .pageNumberSelected {
42        font-style: italic;
43        font-weight: bold;
44}
45
46.content .additional_info {
47    font-size: 110%;
48}
49
50.content FORM {
51    text-align: left;
52}
53
54/* content defaults */
55.content DL, DD { margin: 10px; }
56.content DT {
57  margin-bottom: 5px;
58  font-style: italic;
59  font-size: 110%;
60}
61
62/* actions */
63UL.categoryActions {
64  margin: 0 2px;
65  width: auto;
66  padding: 0;
67  text-indent: 0;
68  list-style: none;
69  text-align: center;
70}
71
72.content DIV.titrePage UL.categoryActions {
73  float: right;
74  text-align: center;
75}
76
77.content DIV.titrePage {
78  padding: 0;
79}
80
81.content UL.categoryActions LI {
82  display: inline;
83}
84
85.content UL.categoryActions A IMG, UL.categoryActions A {
86  border: none;
87  margin-bottom: -5px;
88}
89
90/* User comments */
91
92.content DIV#comments {
93  padding-left: 5px;
94  padding-right: 5px;
95}
96.content DIV.comment {
97  margin: 0 0 0.5em 0;
98  padding: 0;
99  overflow: hidden; /* these 2 lines keep the floating child in the DIV */
100  width: 100%;      /* don't ask why. It's a very usefull trick         */
101}
102
103.content DIV.comment A.illustration {
104  display: block;
105  float: left;
106  margin: 0.5em 0 0 0.5em;
107}
108
109.content DIV.comment P.commentHeader {
110  text-align: right;
111  margin: 0.5em 0.5em 0 0;
112}
113
114.content DIV.comment UL.actions {
115  text-align: center;
116  margin: 0.2em;
117}
118
119.content DIV.comment BLOCKQUOTE {
120  margin-right: 0.5em;
121  overflow: visible; /*avoid a very strange margin behaviour (all browsers) */
122}
123
124/* begin chronology/calendar elements*/
125.content DIV.calendarViews {
126  display: block;
127  float: right;
128  margin: 2px 0 0;
129}
130
131.content DIV.calendarBar { margin: 8px 4px; }
132
133SPAN.calItem, SPAN.calItemEmpty {
134  font-weight: bold;
135  margin: 0 1px;
136}
137
138SPAN.calItem A { border:0 }
139
140.content DIV.calendarCalBar {
141  margin: 10px 10px;
142  text-align: left;
143}
144
145SPAN.calCalHead {
146  font-weight: bold;
147  font-size: 110%;
148  margin: 0 2px;
149}
150
151SPAN.calCal { margin: 0 2px; }
152
153/* nice looking month calendar*/
154TABLE.calMonth {
155  border: none;
156  border-collapse: collapse;
157  margin-bottom: 10px;  /*<-IE ignores this */
158}
159
160TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
161        vertical-align: top;
162  font-weight: bold;
163  font-size: 18px;
164}
165
166TD.calDayHead {
167  font-weight: bold;
168  font-size: 12px;
169        text-align: center;
170}
171
172DIV.calImg {
173  overflow: hidden;
174  vertical-align: bottom;
175  z-index: 1;
176  position: relative; /*<- this required by IE*/
177}
178
179.calImg img {
180  position: relative;
181  border: 0;
182}
183
184.calBackDate {
185  padding-left: 4px;
186  padding-top: 0px;
187  z-index: 2;
188  position: absolute;
189  text-align: left;
190  vertical-align: top;
191  color: #000;
192}
193
194.calForeDate {
195  padding-left: 5px;
196  padding-top: 1px;
197  z-index: 3;
198  position: absolute;
199  text-align: left;
200  vertical-align: top;
201  color: #fff;
202}
203
204/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
205.content UL.thumbnailCategories {
206  margin: 0;
207  padding: 0;
208  list-style: none;
209  text-align: center;
210  overflow: hidden;
211  width: 100%;
212}
213
214.content UL.thumbnailCategories LI {
215  margin:0;
216  padding:0;
217  float:left;
218}
219
220.content DIV.thumbnailCategory {
221  display:block;
222  padding: 2px 0px 0px 2px;
223  margin: 5px;
224}
225
226.content DIV.thumbnailCategory DIV.description {
227  font-size: 90%;
228  overflow: auto;
229  /*width: inherit;*/
230}
231
232.content DIV.thumbnailCategory DIV.description H3 {
233  text-align: left;
234  background: transparent;
235  margin: 0;
236  padding: 0.1em;
237  font-size: 120%;
238}
239
240.content DIV.thumbnailCategory DIV.description P {
241  margin: 0;
242}
243
244.content DIV.thumbnailCategory DIV.illustration {
245  text-align: left;
246  margin: 2px 0 0 2px;
247  float: left;
248}
Note: See TracBrowser for help on using the repository browser.