source: extensions/floPure/content.css @ 3417

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

first commit

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  text-align:left;
162  vertical-align: top;
163  font: bold 18px Arial, Helvetica, sans-serif;
164}
165
166TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; }
167
168DIV.calImg {
169  overflow: hidden;
170  vertical-align: bottom;
171  z-index: 1;
172  position: relative; /*<- this required by IE*/
173}
174
175.calImg img {
176  position: relative;
177  border: 0;
178}
179
180.calBackDate {
181  padding-left: 4px;
182  padding-top: 0px;
183  z-index: 2;
184  position: absolute;
185  text-align: left;
186  vertical-align: top;
187  color: #000;
188}
189
190.calForeDate {
191  padding-left: 5px;
192  padding-top: 1px;
193  z-index: 3;
194  position: absolute;
195  text-align: left;
196  vertical-align: top;
197  color: #fff;
198}
199
200/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
201.content UL.thumbnailCategories {
202  margin: 0;
203  padding: 0;
204  list-style: none;
205  text-align: center;
206  overflow: hidden;
207  width: 100%;
208}
209
210.content UL.thumbnailCategories LI {
211  margin:0;
212  padding:0;
213  float:left;
214}
215
216.content DIV.thumbnailCategory {
217  display:block;
218  padding: 2px 0px 0px 2px;
219  margin: 5px;
220}
221
222.content DIV.thumbnailCategory DIV.description {
223  font-size: 90%;
224  overflow: auto;
225  /*width: inherit;*/
226}
227
228.content DIV.thumbnailCategory DIV.description H3 {
229  text-align: left;
230  background: transparent;
231  margin: 0;
232  padding: 0.1em;
233  font-size: 120%;
234}
235
236.content DIV.thumbnailCategory DIV.description P {
237  margin: 0;
238}
239
240.content DIV.thumbnailCategory DIV.illustration {
241  text-align: left;
242  margin: 2px 0 0 2px;
243  float: left;
244}
Note: See TracBrowser for help on using the repository browser.