source: branches/branch-1_7/template/yoga/content.css @ 2035

Last change on this file since 2035 was 1900, checked in by rub, 18 years ago

Apply property svn:eol-style Value: LF

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