source: trunk/forum/styles/subsilver2/theme/stylesheet.css

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 9.8 KB
Line 
1/* phpBB 3.0 Style Sheet
2 --------------------------------------------------------------
3 Style name: subsilver2
4 Based on style: subSilver (the default phpBB 2 style)
5 Original author: subBlue ( http://www.subBlue.com/ )
6 Modified by: psoTFX and the phpBB team ( http://www.phpbb.com )
7
8 This is an alternative style for phpBB3 for those wishing to stay with
9 the familiar subSilver style of phpBB version 2.x
10
11 Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
12 --------------------------------------------------------------
13*/
14
15/* Layout
16 ------------ */
17* {
18 /* Reset browsers default margin, padding and font sizes */
19 margin: 0;
20 padding: 0;
21}
22
23html {
24 font-size: 100%;
25}
26
27body {
28 /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
29 font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
30 color: #323D4F;
31 background-color: #FFFFFF;
32 font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
33 margin: 0;
34}
35
36#wrapheader {
37 height: auto !important;
38 padding: 0;
39}
40
41#wrapcentre {
42 margin: 15px 25px 0 25px;
43}
44
45#wrapfooter {
46 text-align: center;
47 clear: both;
48}
49
50#wrapnav {
51 width: 100%;
52 margin: 0;
53 background-color: #ECECEC;
54 border-width: 1px;
55 border-style: solid;
56 border-color: #A9B8C2;
57}
58
59#logodesc {
60 background-color: #C1CAD2;
61 background-image: url('./images/background.gif');
62 background-repeat: repeat-x;
63 background-position: center bottom;
64 padding: 0 25px 15px 25px;
65}
66
67#menubar {
68 margin: 0 25px;
69}
70
71#datebar {
72 margin: 10px 25px 0 25px;
73}
74
75#findbar {
76 width: 100%;
77 margin: 0;
78 padding: 0;
79 border: 0;
80}
81
82.forumrules {
83 background-color: #F9CC79;
84 border-width: 1px;
85 border-style: solid;
86 border-color: #BB9860;
87 padding: 4px;
88 font-weight: normal;
89 font-size: 1.1em;
90 font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
91}
92
93.forumrules h3 {
94 color: red;
95}
96
97#pageheader { }
98#pagecontent { }
99#pagefooter { }
100
101#poll { }
102#postrow { }
103#postdata { }
104
105
106/* Text
107 --------------------- */
108h1 {
109 color: black;
110 font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
111 font-weight: bold;
112 font-size: 1.8em;
113 text-decoration: none;
114}
115
116h2 {
117 font-family: Arial, Helvetica, sans-serif;
118 font-weight: bold;
119 font-size: 1.5em;
120 text-decoration: none;
121 line-height: 120%;
122}
123
124h3 {
125 font-size: 1.3em;
126 font-weight: bold;
127 font-family: Arial, Helvetica, sans-serif;
128 line-height: 120%;
129}
130
131h4 {
132 margin: 0;
133 font-size: 1.1em;
134 font-weight: bold;
135}
136
137p {
138 font-size: 1.1em;
139}
140
141p.moderators {
142 margin: 0;
143 float: left;
144 color: black;
145 font-weight: bold;
146}
147
148.rtl p.moderators {
149 float: right;
150}
151
152p.linkmcp {
153 margin: 0;
154 float: right;
155 white-space: nowrap;
156}
157
158.rtl p.linkmcp {
159 float: left;
160}
161
162p.breadcrumbs {
163 margin: 0;
164 float: left;
165 color: black;
166 font-weight: bold;
167 white-space: normal;
168 font-size: 1em;
169}
170
171.rtl p.breadcrumbs {
172 float: right;
173}
174
175p.datetime {
176 margin: 0;
177 float: right;
178 white-space: nowrap;
179 font-size: 1em;
180}
181
182.rtl p.datetime {
183 float: left;
184}
185
186p.searchbar {
187 padding: 2px 0;
188 white-space: nowrap;
189}
190
191p.searchbarreg {
192 margin: 0;
193 float: right;
194 white-space: nowrap;
195}
196
197.rtl p.searchbarreg {
198 float: left;
199}
200
201p.forumdesc {
202 padding-bottom: 4px;
203}
204
205p.topicauthor {
206 margin: 1px 0;
207}
208
209p.topicdetails {
210 margin: 1px 0;
211}
212
213.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
214 margin: 1px 0;
215 color: red;
216 font-weight:bold;
217}
218
219.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
220 color: green;
221 font-weight:bold;
222}
223
224.postapprove img, .postreported img {
225 vertical-align: bottom;
226 padding-top: 5px;
227}
228
229.postauthor {
230 color: #000000;
231}
232
233.postdetails {
234 color: #000000;
235}
236
237.postbody {
238 font-size: 1.3em;
239 line-height: 1.4em;
240 font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
241}
242
243.postbody li, ol, ul {
244 margin: 0 0 0 1.5em;
245}
246
247.rtl .postbody li, .rtl ol, .rtl ul {
248 margin: 0 1.5em 0 0;
249}
250
251.posthilit {
252 background-color: yellow;
253}
254
255.nav {
256 margin: 0;
257 color: black;
258 font-weight: bold;
259}
260
261.pagination {
262 padding: 4px;
263 color: black;
264 font-size: 1em;
265 font-weight: bold;
266}
267
268.cattitle {
269
270}
271
272.gen {
273 margin: 1px 1px;
274 font-size: 1.2em;
275}
276
277.genmed {
278 margin: 1px 1px;
279 font-size: 1.1em;
280}
281
282.gensmall {
283 margin: 1px 1px;
284 font-size: 1em;
285}
286
287.copyright {
288 color: #444;
289 font-weight: normal;
290 font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
291}
292
293.titles {
294 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
295 font-weight: bold;
296 font-size: 1.3em;
297 text-decoration: none;
298}
299
300.error {
301 color: red;
302}
303
304
305/* Tables
306 ------------ */
307th {
308 color: #FFA34F;
309 font-size: 1.1em;
310 font-weight: bold;
311 background-color: #006699;
312 background-image: url('./images/cellpic3.gif');
313 white-space: nowrap;
314 padding: 7px 5px;
315}
316
317td {
318 padding: 2px;
319}
320td.profile {
321 padding: 4px;
322}
323
324.tablebg {
325 background-color: #A9B8C2;
326}
327
328.catdiv {
329 height: 28px;
330 margin: 0;
331 padding: 0;
332 border: 0;
333 background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
334}
335.rtl .catdiv {
336 background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
337}
338
339.cat {
340 height: 28px;
341 margin: 0;
342 padding: 0;
343 border: 0;
344 background-color: #C7D0D7;
345 background-image: url('./images/cellpic1.gif');
346 text-indent: 4px;
347}
348
349.row1 {
350 background-color: #ECECEC;
351 padding: 4px;
352}
353
354.row2 {
355 background-color: #DCE1E5;
356 padding: 4px;
357}
358
359.row3 {
360 background-color: #C0C8D0;
361 padding: 4px;
362}
363
364.spacer {
365 background-color: #D1D7DC;
366}
367
368hr {
369 height: 1px;
370 border-width: 0;
371 background-color: #D1D7DC;
372 color: #D1D7DC;
373}
374
375.legend {
376 text-align:center;
377 margin: 0 auto;
378}
379
380/* Links
381 ------------ */
382
383/* Links adjustment to correctly display an order of rtl/ltr mixed content */
384.rtl a {
385 direction: rtl;
386 unicode-bidi: embed;
387}
388
389a:link {
390 color: #006597;
391 text-decoration: none;
392}
393
394a:active,
395a:visited {
396 color: #005784;
397 text-decoration: none;
398}
399
400a:hover {
401 color: #D46400;
402 text-decoration: underline;
403}
404
405a.forumlink {
406 color: #069;
407 font-weight: bold;
408 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
409 font-size: 1.2em;
410}
411
412a.topictitle {
413 margin: 1px 0;
414 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
415 font-weight: bold;
416 font-size: 1.2em;
417}
418
419a.topictitle:visited {
420 color: #5493B4;
421 text-decoration: none;
422}
423
424th a,
425th a:visited {
426 color: #FFA34F !important;
427 text-decoration: none;
428}
429
430th a:hover {
431 text-decoration: underline;
432}
433
434
435/* Form Elements
436 ------------ */
437form {
438 margin: 0;
439 padding: 0;
440 border: 0;
441}
442
443input {
444 color: #333333;
445 font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
446 font-size: 1.1em;
447 font-weight: normal;
448 padding: 1px;
449 border: 1px solid #A9B8C2;
450 background-color: #FAFAFA;
451}
452
453textarea {
454 background-color: #FAFAFA;
455 color: #333333;
456 font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
457 font-size: 1.3em;
458 line-height: 1.4em;
459 font-weight: normal;
460 border: 1px solid #A9B8C2;
461 padding: 2px;
462}
463
464select {
465 color: #333333;
466 background-color: #FAFAFA;
467 font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
468 font-size: 1.1em;
469 font-weight: normal;
470 border: 1px solid #A9B8C2;
471 padding: 1px;
472}
473
474option {
475 padding: 0 1em 0 0;
476}
477
478option.disabled-option {
479 color: graytext;
480}
481
482.rtl option {
483 padding: 0 0 0 1em;
484}
485
486input.radio {
487 border: none;
488 background-color: transparent;
489}
490
491.post {
492 background-color: white;
493 border-style: solid;
494 border-width: 1px;
495}
496
497.btnbbcode {
498 color: #000000;
499 font-weight: normal;
500 font-size: 1.1em;
501 font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
502 background-color: #EFEFEF;
503 border: 1px solid #666666;
504}
505
506.btnmain {
507 font-weight: bold;
508 background-color: #ECECEC;
509 border: 1px solid #A9B8C2;
510 cursor: pointer;
511 padding: 1px 5px;
512 font-size: 1.1em;
513}
514
515.btnlite {
516 font-weight: normal;
517 background-color: #ECECEC;
518 border: 1px solid #A9B8C2;
519 cursor: pointer;
520 padding: 1px 5px;
521 font-size: 1.1em;
522}
523
524.btnfile {
525 font-weight: normal;
526 background-color: #ECECEC;
527 border: 1px solid #A9B8C2;
528 padding: 1px 5px;
529 font-size: 1.1em;
530}
531
532.helpline {
533 background-color: #DEE3E7;
534 border-style: none;
535}
536
537
538/* BBCode
539 ------------ */
540.quotetitle, .attachtitle {
541 margin: 10px 5px 0 5px;
542 padding: 4px;
543 border-width: 1px 1px 0 1px;
544 border-style: solid;
545 border-color: #A9B8C2;
546 color: #333333;
547 background-color: #A9B8C2;
548 font-size: 0.85em;
549 font-weight: bold;
550}
551
552.quotetitle .quotetitle {
553 font-size: 1em;
554}
555
556.quotecontent, .attachcontent {
557 margin: 0 5px 10px 5px;
558 padding: 5px;
559 border-color: #A9B8C2;
560 border-width: 0 1px 1px 1px;
561 border-style: solid;
562 font-weight: normal;
563 font-size: 1em;
564 line-height: 1.4em;
565 font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
566 background-color: #FAFAFA;
567 color: #4B5C77;
568}
569
570.attachcontent {
571 font-size: 0.85em;
572}
573
574.codetitle {
575 margin: 10px 5px 0 5px;
576 padding: 2px 4px;
577 border-width: 1px 1px 0 1px;
578 border-style: solid;
579 border-color: #A9B8C2;
580 color: #333333;
581 background-color: #A9B8C2;
582 font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
583 font-size: 0.8em;
584}
585
586.codecontent {
587 direction: ltr;
588 margin: 0 5px 10px 5px;
589 padding: 5px;
590 border-color: #A9B8C2;
591 border-width: 0 1px 1px 1px;
592 border-style: solid;
593 font-weight: normal;
594 color: #006600;
595 font-size: 0.85em;
596 font-family: Monaco, 'Courier New', monospace;
597 background-color: #FAFAFA;
598}
599
600.syntaxbg {
601 color: #FFFFFF;
602}
603
604.syntaxcomment {
605 color: #FF8000;
606}
607
608.syntaxdefault {
609 color: #0000BB;
610}
611
612.syntaxhtml {
613 color: #000000;
614}
615
616.syntaxkeyword {
617 color: #007700;
618}
619
620.syntaxstring {
621 color: #DD0000;
622}
623
624
625/* Private messages
626 ------------------ */
627.pm_marked_colour {
628 background-color: #000000;
629}
630
631.pm_replied_colour {
632 background-color: #A9B8C2;
633}
634
635.pm_friend_colour {
636 background-color: #007700;
637}
638
639.pm_foe_colour {
640 background-color: #DD0000;
641}
642
643
644/* Misc
645 ------------ */
646img {
647 border: none;
648}
649
650.sep {
651 color: black;
652 background-color: #FFA34F;
653}
654
655table.colortable td {
656 padding: 0;
657}
658
659pre {
660 font-size: 1.1em;
661 font-family: Monaco, 'Courier New', monospace;
662}
663
664.nowrap {
665 white-space: nowrap;
666}
667
668.username-coloured {
669 font-weight: bold;
670}
Note: See TracBrowser for help on using the repository browser.