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

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

import theme Simple, version 2.0

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