source: extensions/floOs/content.css @ 3608

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