source: tags/release-1_6_1/template/yoga/content.css @ 5201

Last change on this file since 5201 was 1451, checked in by chrisaga, 18 years ago

merge from trunk r1449:1450 into branch 1.6 (DIV.comment)

  • 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 1451 2006-07-09 08:37: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-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.