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

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

import theme Simple version 2.4.3

  • add a #Tags id for tags list, for the user tags plugin
  • use inline-block instead of float left for thumbnails ans categories
  • print css: re-enable it in the header + improve it
  • update README + add debugging mode in themeconf
  • language strings
  • new script to tag a new version and generate a zip archive
File size: 5.6 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: 960px;
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: 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 2em 0 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  display: inline-block;
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  display: inline-block;
219  height: 160px;
220  overflow: hidden;
221  margin: 1em;
222  width: 45%;
223}
224
225.illustration {
226  float: left;
227  width: 150px;
228}
229
230.description {
231  overflow: auto;
232  padding-left: 1em;
233}
234
235.description h3 {
236  margin: 0;
237}
238
239.thumbCatDescNfoDate, .thumbCatDescNbImg {
240  margin: 0;
241  font-size: 80%;
242}
243
244.thumbCatDesc {
245  margin: 0;
246  padding-top: 4px;
247  word-wrap: break-word;
248}
249
250/* page : title bar */
251
252#additional_info {
253  margin: 1em 5em;
254}
255
256.navigationBar {
257  padding: 0.5em;
258  text-align: right;
259}
260
261/* pictures pages */
262
263#thePicturePage #theHeader {
264  display: none;
265}
266#thePicturePage #content {
267  padding: 1em 0 0;
268}
269
270.imageNumber {
271  float: right;
272  padding: 0 3px;
273  font-size: 0.9em;
274}
275
276.navButtons {
277  font-size: 1.5em;
278  text-align: center;
279}
280
281#navThumbPrev, #navThumbNext {
282  text-align: center;
283  margin: 1em auto;
284}
285
286#imageToolBar {
287  height: 25px;
288}
289
290#imageInfoBar {
291  float: right;
292  clear: right;
293  width: 180px;
294  margin: 0 10px;
295}
296
297#randomButtons ul {
298  padding: 0;
299  list-style-type: none;
300}
301
302#imageInfos dt, #imageMeta dt {
303  font-weight: bold;
304}
305#imageInfos dd, #imageMeta dd {
306  margin-left: 1em;
307  overflow: hidden;
308}
309
310#theImage {
311  text-align: center;
312  padding: 1em 0 2em;
313  margin: auto;
314}
315
316#rateForm {
317  margin: 0;
318}
319#rateForm input, #rateForm input:active {
320  cursor: pointer;
321  border: none;
322  padding: 0;
323}
324#rateForm input.rateButtonStarFull  {
325  background:  url('icon/rating-stars.png') no-repeat scroll -16px center;
326  width: 16px;
327}
328#rateForm input.rateButtonStarEmpty {
329  background:  url('icon/rating-stars.png') no-repeat scroll 0 center;
330  width: 16px;
331}
332
333/* slideshow */
334
335#slideshow {
336  width: 656px;
337  margin: 1em auto 0;
338}
339
340#slideshow .navButtons {
341  display: inline;
342  font-size: 1em;
343  float: right;
344  margin-right: 1em;
345}
346
347/* comments */
348
349#theComments h3 {
350  height: 25px;
351  line-height: 25px;
352  padding-left: 1em;
353  cursor: pointer;
354}
355
356#commentAdd, #commentList {
357  width: 48%;
358  padding: 1%;
359}
360#commentAdd  { float: left; }
361#commentList { float: right; }
362
363#commentAdd input[type="text"], #commentAdd textarea {
364  width: 400px;
365}
366
367#commentList ul {
368  list-style: none;
369  padding: 0;
370}
371#commentList li {
372  clear: both;
373  display: block;
374  border-top: 1px dotted #606060;
375  padding: 0.5em 0;
376}
377#commentList li ul {
378  list-style-type: none;
379  padding: 4px;
380}
381
382ul.actions {
383  float: right;
384}
385
386#commentList .author {
387  font-weight: bold;
388  font-variant: small-caps;
389}
390#commentList .date {
391  font-style: italic;
392}
393
394#theCommentsPage #comments li {
395  clear: left;
396  list-style: none;
397}
398
399#theCommentsPage form label {
400  display: inline-block;
401  line-height: 25px;
402}
403
404/* calendar */
405
406.calendarViews, .calendarCalBar {
407  margin: 1em 0;
408}
409
410.calCalHead {
411  font-size: 1.1em;
412  font-weight: bold;
413}
414
415.calMonth {
416  width: 80%;
417  margin: 1em auto;
418}
419
420.calendarBar {
421  text-align: center;
422}
423.calendarBar span {
424  margin: 0 0.5em;
425}
426
427/* Footer */
428
429#copyright {
430  padding: 2px;
431  clear: both;
432}
433
434/* PWG stuff */
435
436.personal_block { padding: 0 !important; }
Note: See TracBrowser for help on using the repository browser.