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

Last change on this file since 2352 was 2352, checked in by patdenice, 16 years ago

Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 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: 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        font-weight: bold;
41}
42
43.content .additional_info {
44    font-size: 110%;
45}
46
47.content FORM {
48    text-align: left;
49}
50
51/* content defaults */
52.content DL, DD { margin: 10px; }
53.content DT {
54  margin-bottom: 5px;
55  font-style: italic;
56  font-size: 110%;
57}
58
59/* actions */
60UL.categoryActions {
61  margin: 0 2px;
62  width: auto;
63  padding: 0;
64  text-indent: 0;
65  list-style: none;
66  text-align: center;
67}
68
69.content DIV.titrePage UL.categoryActions {
70  float: right;
71  text-align: center;
72}
73
74.content DIV.titrePage {
75  padding: 0 0 3px;
76}
77
78.content UL.categoryActions LI {
79  display: inline;
80}
81
82.content UL.categoryActions A IMG, UL.categoryActions A {
83  border: none;
84  margin-bottom: -5px;
85}
86
87/* User comments */
88
89.content DIV#comments {
90  padding-left: 5px;
91  padding-right: 5px;
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  color: #000;
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  color: #fff;
195}
196
197/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
198.content UL.thumbnailCategories {
199  margin: 0;
200  padding: 0;
201  list-style: none;
202  text-align: center;
203  overflow: hidden;
204  width: 100%;
205}
206
207.content UL.thumbnailCategories LI {
208  margin:0;
209  padding:0;
210  float:left;
211}
212
213.content DIV.thumbnailCategory {
214  display:block;
215  padding: 2px 0px 0px 2px;
216  margin: 5px;
217}
218
219.content DIV.thumbnailCategory DIV.description {
220  font-size: 90%;
221  overflow: auto;
222  /*width: inherit;*/
223}
224
225.content DIV.thumbnailCategory DIV.description H3 {
226  text-align: left;
227  background: transparent;
228  margin: 0;
229  padding: 0.1em;
230  font-size: 120%;
231}
232
233.content DIV.thumbnailCategory DIV.description P {
234  margin: 0;
235}
236
237.content DIV.thumbnailCategory DIV.illustration {
238  text-align: left;
239  margin: 2px 0 0 2px;
240  float: left;
241}
Note: See TracBrowser for help on using the repository browser.