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

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

import theme Simple version 2.1

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