source: extensions/floPure/content.css @ 3724

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

-menubar is compatible with template-extension

  • better compatibility with pwg_stuff

ready for 211

File size: 4.7 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        display:block;
79        padding-top: 5px;
80        padding-right: 0px;
81        padding-bottom: 5px;
82        padding-left: 0px;
83}
84
85.content UL.categoryActions LI {
86  display: inline;
87}
88
89.content UL.categoryActions A IMG, UL.categoryActions A {
90  border: none;
91  margin-bottom: -5px;
92}
93
94/* User comments */
95
96.content DIV#comments {
97  padding-left: 5px;
98  padding-right: 5px;
99}
100.content DIV.comment {
101  margin: 0 0 0.5em 0;
102  padding: 0;
103  overflow: hidden; /* these 2 lines keep the floating child in the DIV */
104  width: 100%;      /* don't ask why. It's a very usefull trick         */
105}
106
107.content DIV.comment A.illustration {
108  display: block;
109  float: left;
110  margin: 0.5em 0 0 0.5em;
111}
112
113.content DIV.comment P.commentHeader {
114  text-align: right;
115  margin: 0.5em 0.5em 0 0;
116}
117
118.content DIV.comment UL.actions {
119  text-align: center;
120  margin: 0.2em;
121}
122
123.content DIV.comment BLOCKQUOTE {
124  margin-right: 0.5em;
125  overflow: visible; /*avoid a very strange margin behaviour (all browsers) */
126}
127
128/* begin chronology/calendar elements*/
129.content DIV.calendarViews {
130  display: block;
131  float: right;
132  margin: 2px 0 0;
133}
134
135.content DIV.calendarBar { margin: 8px 4px; }
136
137SPAN.calItem, SPAN.calItemEmpty {
138  font-weight: bold;
139  margin: 0 1px;
140}
141
142SPAN.calItem A { border:0 }
143
144.content DIV.calendarCalBar {
145  margin: 10px 10px;
146  text-align: left;
147}
148
149SPAN.calCalHead {
150  font-weight: bold;
151  font-size: 110%;
152  margin: 0 2px;
153}
154
155SPAN.calCal { margin: 0 2px; }
156
157/* nice looking month calendar*/
158TABLE.calMonth {
159  border: none;
160  border-collapse: collapse;
161  margin-bottom: 10px;  /*<-IE ignores this */
162}
163
164TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
165        vertical-align: top;
166  font-weight: bold;
167  font-size: 18px;
168}
169
170TD.calDayHead {
171  font-weight: bold;
172  font-size: 12px;
173        text-align: center;
174}
175
176DIV.calImg {
177  overflow: hidden;
178  vertical-align: bottom;
179  z-index: 1;
180  position: relative; /*<- this required by IE*/
181}
182
183.calImg img {
184  position: relative;
185  border: 0;
186}
187
188.calBackDate {
189  padding-left: 4px;
190  padding-top: 0px;
191  z-index: 2;
192  position: absolute;
193  text-align: left;
194  vertical-align: top;
195  color: #000;
196}
197
198.calForeDate {
199  padding-left: 5px;
200  padding-top: 1px;
201  z-index: 3;
202  position: absolute;
203  text-align: left;
204  vertical-align: top;
205  color: #fff;
206}
207
208/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
209.content UL.thumbnailCategories {
210  margin: 0;
211  padding: 0;
212  list-style: none;
213  text-align: center;
214  overflow: hidden;
215  width: 100%;
216}
217
218.content UL.thumbnailCategories LI {
219  margin:0;
220  padding:0;
221  float:left;
222}
223
224.content DIV.thumbnailCategory {
225  display:block;
226  padding: 2px 0px 0px 2px;
227  margin: 5px;
228}
229
230.content DIV.thumbnailCategory DIV.description {
231  font-size: 90%;
232  overflow: auto;
233  /*width: inherit;*/
234}
235
236.content DIV.thumbnailCategory DIV.description H3 {
237  text-align: left;
238  background: transparent;
239  margin: 0;
240  padding: 0.1em;
241  font-size: 120%;
242}
243
244.content DIV.thumbnailCategory DIV.description P {
245  margin: 0;
246}
247
248.content DIV.thumbnailCategory DIV.illustration {
249  text-align: left;
250  margin: 2px 0 0 2px;
251  float: left;
252}
Note: See TracBrowser for help on using the repository browser.