source: trunk/template/yoga/content.css @ 1789

Last change on this file since 1789 was 1631, checked in by rub, 18 years ago

Fixed Issue ID 0000494: Stats do not currently include Uploads
Fixed: Error when thumbnail directory not exists
Fixed: Apply current translation norme
Fixed: Improvement style sheet (like other PWG sheet)

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