source: tags/release-1_6_0/template/yoga/content.css @ 24806

Last change on this file since 24806 was 1393, checked in by chrisaga, 18 years ago

merge manualy from trunk r1389:1392

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