source: extensions/simple_themes/simple/content.css @ 13548

Last change on this file since 13548 was 13548, checked in by plg, 12 years ago

import theme Simple version 2.2

  • fix the calendar's pages
  • update picture.tpl (download, favorites, metadata, rating)
  • change the way to hide blocks in JS, without <noscript>, thanks to VDigital & nicolas
  • update jquery to 1.4.2
  • remove standard deviation for votes
File size: 5.5 KB
Line 
1/*
2 CSS for all pages
3*/
4
5body {
6  font: 75% "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
7  margin: 0;
8  padding: 0;
9}
10
11img { border: 0; }
12a { text-decoration: none; }
13hr { border: 1px #999999 solid; }
14
15h1, h2, h3 {
16  margin: 0;
17  padding: 0;
18  font-size: 1em;
19}
20h1 { font-size: 1.6em; }
21
22#menuswitcher {
23  cursor: pointer;
24}
25
26/* hide javascript stuff */
27
28.js #menubar, .js #theComments > div {
29  display: none;
30}
31
32/* Layout */
33
34#the_page {
35  width: 85%;
36  min-width: 900px;
37  margin: 0 auto;
38  padding: 0;
39}
40
41#theHeader h1 {
42  padding: 1em 0 0;
43}
44#theHeader p {
45  padding: 0;
46  margin: 0;
47}
48
49.titrePage {
50  margin: 1em 0;
51  line-height: 1.5em;
52}
53
54.titrePage h2 {
55  margin: 1em 0;
56  padding: 0;
57  display: inline;
58}
59#subcontent h2 {
60  margin: 0 0 1em;
61}
62
63.titrePage .button {
64  float: none;
65}
66
67.titrePage img {
68  float: left;
69  max-height: 16px;
70  margin: 0 5px;
71}
72
73.titrePage .categoryActions {
74  float: right;
75  margin: 0;
76  padding: 0;
77  list-style: none;
78  width: auto;
79}
80
81.categoryActions li {
82  display: inline;
83}
84
85#content {
86  margin: 1em 0 0;
87  padding: 1em;
88}
89
90/* tags */
91
92.tagLevel5 { font-size: 130%; }
93.tagLevel4 { font-size: 120%; }
94.tagLevel3 { font-size: 110%; }
95.tagLevel2 { font-size: 100%; }
96.tagLevel1 { font-size: 90%; }
97
98#fullTagCloud {
99  text-align: center;
100  margin: 1em 2em;
101}
102
103#fullTagCloud span {
104  white-space: nowrap;
105  margin: 0 0.5em;
106}
107
108#fullTagCloud a {
109  padding: 2px;
110}
111
112.tagLetterContent {
113  width: 100%;
114}
115
116.tagSelection li {
117  display:  inline;
118}
119
120/* Messages */
121
122.errors, .infos {
123  color: #e04040;
124  border: 1px dashed;
125  margin: 0 1em;
126}
127
128/* Forms */
129
130form {
131  margin: 0;
132}
133
134#content form li, #subcontent form li {
135  list-style: none;
136  margin: 0.2em 0;
137}
138
139.property {
140  display: inline-block;
141  width: 180px;
142}
143
144#quicksearch {
145  margin: 1em 0 0;
146}
147#quicksearch p {
148  margin: 0;
149}
150#quicksearch #q {
151  width: 150px;
152}
153
154/* Menubar */
155
156#menubar {
157  margin: 0;
158  padding: 0;
159  float: left;
160  width: 15%;
161}
162
163#menubar ul {
164  margin: 0;
165  padding: 1em 0 1em 2em;
166}
167#menubar dd {
168  margin: 0;
169  padding: 0;
170}
171
172#menubar ul ul {
173 margin: 0;
174 padding: 0 0 0 1em;
175}
176
177/* images thumbnails */
178
179#thumbnails {
180  width: auto;
181  text-align: center;
182  padding: 1em 0;
183}
184
185#thumbnails ul, .middle_block > ul {
186  margin: 0;
187  padding: 0;
188  overflow: hidden;
189  list-style: none;
190}
191
192#thumbnails li, .middle_block > ul li {
193  margin: 0;
194  padding: 0;
195  float: left;
196  width: 200px;
197  height: 200px;
198}
199
200.nb-comments, .nb-hits {
201  font-weight: normal;
202  display: block;
203}
204.zero {
205  display: none;
206}
207
208/* categories thumbnails */
209
210.thumbnailCategories {
211  margin: 0;
212  padding: 1em;
213  overflow: hidden;
214  list-style: none;
215}
216
217.thumbnailCategories li {
218  float: left;
219  height: 160px;
220  overflow: hidden;
221  margin: 1em;
222  width: 45%;
223}
224
225.illustration {
226  float: left;
227  margin: 0.2em;
228  width: 150px;
229}
230
231.description {
232  overflow: auto;
233  padding-left: 1em;
234}
235
236.description h3 {
237  margin: 0;
238}
239
240.thumbCatDescNfoDate, .thumbCatDescNbImg {
241  margin: 0;
242  font-size: 80%;
243}
244
245.thumbCatDesc {
246  margin: 0;
247  padding-top: 4px;
248  word-wrap: break-word;
249}
250
251/* page : title bar */
252
253#additional_info {
254  margin: 1em 5em;
255}
256
257.navigationBar {
258  padding: 0.5em;
259  text-align: right;
260}
261
262/* pictures pages */
263
264#thePicturePage #theHeader {
265  display: none;
266}
267#thePicturePage #content {
268  padding: 1em 0 0;
269}
270
271.imageNumber {
272  float: right;
273  padding: 0 3px;
274  font-size: 0.9em;
275}
276
277.navButtons {
278  font-size: 1.5em;
279  text-align: center;
280}
281
282#navThumbPrev, #navThumbNext {
283  text-align: center;
284  margin: 1em auto;
285}
286
287#imageToolBar {
288  height: 25px;
289}
290
291#imageInfoBar {
292  float: right;
293  clear: right;
294  width: 20%;
295  margin: 0 1em 0;
296}
297
298#randomButtons ul {
299  padding: 0;
300  list-style-type: none;
301}
302
303#imageInfos dt, #imageMeta dt {
304  font-weight: bold;
305}
306#imageInfos dd, #imageMeta dd {
307  margin-left: 1em;
308  overflow: hidden;
309}
310
311#theImage {
312  text-align: center;
313  padding: 1em 0;
314  margin: auto;
315}
316
317#rateForm {
318  margin: 0;
319}
320#rateForm input, #rateForm input:active {
321  cursor: pointer;
322  border: none;
323  padding: 0;
324}
325#rateForm input.rateButtonStarFull  {
326  background:  url('icon/rating-stars.png') no-repeat scroll -16px center;
327  width: 16px;
328}
329#rateForm input.rateButtonStarEmpty {
330  background:  url('icon/rating-stars.png') no-repeat scroll 0 center;
331  width: 16px;
332}
333
334/* slideshow */
335
336#slideshow {
337  width: 656px;
338  margin: 1em auto 0;
339}
340
341#slideshow .navButtons {
342  display: inline;
343  font-size: 1em;
344  float: right;
345  margin-right: 1em;
346}
347
348/* comments */
349
350#theComments h3 {
351  height: 25px;
352  line-height: 25px;
353  padding-left: 1em;
354  cursor: pointer;
355}
356
357#commentAdd, #commentList {
358  width: 48%;
359  padding: 1%;
360}
361#commentAdd  { float: left; }
362#commentList { float: right; }
363
364#commentAdd input[type="text"], #commentAdd textarea {
365  width: 400px;
366}
367
368#commentList ul {
369  list-style: none;
370  padding: 0;
371}
372#commentList li {
373  clear: both;
374  display: block;
375  border-top: 1px dotted #606060;
376  padding: 0.5em 0;
377}
378#commentList li ul {
379  list-style-type: none;
380  padding: 4px;
381}
382
383ul.actions {
384  float: right;
385}
386
387#commentList .author {
388  font-weight: bold;
389  font-variant: small-caps;
390}
391#commentList .date {
392  font-style: italic;
393}
394
395#theCommentsPage #comments li {
396  clear: left;
397  list-style: none;
398}
399
400/* calendar */
401
402.calendarViews, .calendarCalBar {
403  margin: 1em 0;
404}
405
406.calCalHead {
407  font-size: 1.1em;
408  font-weight: bold;
409}
410
411.calMonth {
412  width: 80%;
413  margin: 1em auto;
414}
415
416.calendarBar {
417  text-align: center;
418}
419.calendarBar span {
420  margin: 0 0.5em;
421}
422
423/* Footer */
424
425#copyright {
426  padding: 2px;
427  clear: both;
428}
429
430/* PWG stuff */
431
432.personal_block { padding: 0 !important; }
Note: See TracBrowser for help on using the repository browser.