1 /****************************************************************/ |
|
2 /* 1. IMPORTED STYLESHEETS */ |
|
3 /****************************************************************/ |
|
4 |
|
5 /* Import the basic setup styles */ |
|
6 @import url(imports/base.css); |
|
7 /* Import the colour scheme */ |
|
8 @import url(imports/Oxygen_cs.css); |
|
9 |
|
10 /****************************************************************/ |
|
11 /* 2. TEXT SETTINGS */ |
|
12 /****************************************************************/ |
|
13 |
|
14 /* 2.1 This sets the default Font Group */ |
|
15 |
|
16 .pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP { |
|
17 FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif |
|
18 } |
|
19 |
|
20 .pun {FONT-SIZE: 11px; LINE-HEIGHT: normal} |
|
21 |
|
22 /* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/ |
|
23 * HTML .pun {FONT-SIZE: 68.75%} |
|
24 /* End IE Win Font Size */ |
|
25 |
|
26 /* Set font size for tables because IE requires it */ |
|
27 .pun TABLE, .pun INPUT, .pun SELECT, .pun OPTGROUP, .pun TEXTAREA, DIV.postmsg P.postedit {FONT-SIZE: 1em} |
|
28 |
|
29 /* 2.2 Set the font-size for preformatted text i.e in code boxes */ |
|
30 |
|
31 .pun PRE {FONT-FAMILY: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace} |
|
32 |
|
33 /* 2.3 Font size for headers */ |
|
34 |
|
35 .pun H2, .pun H4 {FONT-SIZE: 1em} |
|
36 .pun H3 {FONT-SIZE: 1.1em} |
|
37 #brdtitle H1 {FONT-SIZE: 1.4em} |
|
38 |
|
39 /* 2.4 Larger text for particular items */ |
|
40 |
|
41 DIV.postmsg P {LINE-HEIGHT: 1.4} |
|
42 DIV.postleft DT {FONT-SIZE: 1.1em} |
|
43 .pun PRE {FONT-SIZE: 1.2em} |
|
44 |
|
45 /* 2.5 Bold text */ |
|
46 |
|
47 DIV.postleft DT, DIV.postmsg H4, TD.tcl H3, DIV.forminfo H3, P.postlink, DIV.linkst LI, |
|
48 DIV.linksb LI, DIV.postlinksb LI, .blockmenu LI, #brdtitle H1, .pun SPAN.warntext, .pun P.warntext {FONT-WEIGHT: bold} |
|
49 |
|
50 /****************************************************************/ |
|
51 /* 3. LINKS */ |
|
52 /****************************************************************/ |
|
53 |
|
54 /* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */ |
|
55 |
|
56 #brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link, |
|
57 .blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited, |
|
58 .blockmenu A:link, .blockmenu A:visited { |
|
59 TEXT-DECORATION: none |
|
60 } |
|
61 |
|
62 /* 3.2 Underline on hover for links in headers and main menu */ |
|
63 |
|
64 #brdmenu A:hover, .blockpost H2 A:hover {TEXT-DECORATION: underline} |
|
65 |
|
66 /****************************************************************/ |
|
67 /* 4. BORDER WIDTH AND STYLE */ |
|
68 /****************************************************************/ |
|
69 |
|
70 /* 4.1 By default borders are 1px solid */ |
|
71 |
|
72 DIV.box, .pun TD, .pun TH, .pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL { |
|
73 BORDER-STYLE: solid; |
|
74 BORDER-WIDTH: 1px |
|
75 } |
|
76 |
|
77 /* 4.2 Special settings for the board header. */ |
|
78 |
|
79 #brdheader DIV.box {BORDER-TOP-WIDTH: 4px} |
|
80 |
|
81 /* 4.3 Borders for table cells */ |
|
82 |
|
83 .pun TD, .pun TH { |
|
84 BORDER-BOTTOM: none; |
|
85 BORDER-RIGHT: none |
|
86 } |
|
87 |
|
88 .pun .tcl {BORDER-LEFT: none} |
|
89 |
|
90 /* 4.4 Special setting for fieldsets to preserve IE defaults */ |
|
91 |
|
92 DIV>FIELDSET { |
|
93 BORDER-STYLE: solid; |
|
94 BORDER-WIDTH: 1px |
|
95 } |
|
96 |
|
97 /****************************************************************/ |
|
98 /* 5. VERTICAL AND PAGE SPACING */ |
|
99 /****************************************************************/ |
|
100 |
|
101 /* 5.1 Page margins */ |
|
102 |
|
103 HTML, BODY {MARGIN: 0; PADDING: 0} |
|
104 #punwrap {margin:12px 20px} |
|
105 |
|
106 /* 5.2 Creates vertical space between main board elements (Margins) */ |
|
107 |
|
108 DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px} |
|
109 #punindex DIV.blocktable, DIV.blockpost {MARGIN-BOTTOM: 6px} |
|
110 DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px} |
|
111 |
|
112 /* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */ |
|
113 |
|
114 DIV.linkst, DIV.linksb {MARGIN-TOP: -12px} |
|
115 DIV.postlinksb {MARGIN-TOP: -6px} |
|
116 |
|
117 /* 5.4 Put a 12px gap above the board information box in index because the category tables only |
|
118 have a 6px space beneath them */ |
|
119 |
|
120 #brdstats {MARGIN-TOP: 12px} |
|
121 |
|
122 /****************************************************************/ |
|
123 /* 6. SPACING AROUND CONTENT */ |
|
124 /****************************************************************/ |
|
125 |
|
126 /* 6.1 Default padding for main items */ |
|
127 |
|
128 DIV.block DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px} |
|
129 .pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0} |
|
130 .pun H2 {PADDING: 4px 6px} |
|
131 |
|
132 /* 6.2 Special spacing for various elements */ |
|
133 |
|
134 .pun H1 {PADDING: 3px 0px 0px 0} |
|
135 #brdtitle P {PADDING-TOP: 0px} |
|
136 DIV.linkst {PADDING: 8px 6px 3px 6px} |
|
137 DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px} |
|
138 #brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT {LINE-HEIGHT: 1.4em} |
|
139 #viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em} |
|
140 |
|
141 /* 6.4 Create some horizontal spacing for various elements */ |
|
142 |
|
143 #brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT {MARGIN-RIGHT: 12px} |
|
144 |
|
145 /****************************************************************/ |
|
146 /* 7. SPACING FOR TABLES */ |
|
147 /****************************************************************/ |
|
148 |
|
149 .pun TH, .pun TD {PADDING: 4px 6px} |
|
150 .pun TD P {PADDING: 5px 0 0 0} |
|
151 |
|
152 /****************************************************************/ |
|
153 /* 8. SPACING FOR POSTS */ |
|
154 /****************************************************************/ |
|
155 |
|
156 /* 8.1 Padding around left and right columns in viewtopic */ |
|
157 |
|
158 DIV.postleft DL, DIV.postright {PADDING: 6px} |
|
159 |
|
160 /* 8.2 Extra spacing for poster contact details and avatar */ |
|
161 |
|
162 DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px} |
|
163 DD.postavatar {MARGIN-BOTTOM: 5px} |
|
164 |
|
165 /* 8.3 Extra top spacing for signatures and edited by */ |
|
166 |
|
167 DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px} |
|
168 |
|
169 /* 8.4 Spacing for code and quote boxes */ |
|
170 |
|
171 DIV.postmsg H4 {MARGIN-BOTTOM: 10px} |
|
172 .pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px} |
|
173 |
|
174 /* 8.5 Padding for the action links and online indicator in viewtopic */ |
|
175 |
|
176 DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px} |
|
177 |
|
178 /* 8.6 This is the input on moderators multi-delete view */ |
|
179 |
|
180 DIV.blockpost INPUT, DIV.blockpost LABEL { |
|
181 PADDING: 3px; |
|
182 DISPLAY: inline |
|
183 } |
|
184 |
|
185 P.multidelete { |
|
186 PADDING-TOP: 15px; |
|
187 PADDING-BOTTOM: 5px |
|
188 } |
|
189 |
|
190 /* 8.7 Make sure paragraphs in posts don't get any padding */ |
|
191 |
|
192 DIV.postmsg P {PADDING: 0} |
|
193 |
|
194 /****************************************************************/ |
|
195 /* 9. SPECIAL SPACING FOR FORMS */ |
|
196 /****************************************************************/ |
|
197 |
|
198 /* 9.1 Padding around fieldsets */ |
|
199 |
|
200 DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px} |
|
201 DIV.inform {PADDING-BOTTOM: 12px} |
|
202 |
|
203 /* 9.2 Padding inside fieldsets */ |
|
204 |
|
205 .pun FIELDSET {PADDING: 0px 12px 0px 12px} |
|
206 DIV.infldset {PADDING: 9px 0px 12px 0} |
|
207 .pun LEGEND {PADDING: 0px 6px} |
|
208 |
|
209 /* 9.3 The information box at the top of the registration form and elsewhere */ |
|
210 |
|
211 DIV.forminfo { |
|
212 MARGIN-BOTTOM: 12px; |
|
213 PADDING: 9px 10px |
|
214 } |
|
215 |
|
216 /* 9.4 BBCode help links in post forms */ |
|
217 |
|
218 UL.bblinks LI {PADDING-RIGHT: 20px} |
|
219 |
|
220 UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px} |
|
221 |
|
222 /* 9.5 Horizontal positioning for the submit button on forms */ |
|
223 |
|
224 DIV.blockform P INPUT {MARGIN-LEFT: 12px} |
|
225 |
|
226 /****************************************************************/ |
|
227 /* 10. POST STATUS INDICATORS */ |
|
228 /****************************************************************/ |
|
229 |
|
230 /* 10.1 These are the post status indicators which appear at the left of some tables. |
|
231 .inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and |
|
232 .isticky = sticky topics. By default only .inew is different from the default.*/ |
|
233 |
|
234 DIV.icon { |
|
235 FLOAT: left; |
|
236 MARGIN-TOP: 0.1em; |
|
237 MARGIN-LEFT: 0.2em; |
|
238 DISPLAY: block; |
|
239 BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em; |
|
240 BORDER-STYLE: solid |
|
241 } |
|
242 |
|
243 DIV.searchposts DIV.icon {MARGIN-LEFT: 0} |
|
244 |
|
245 /* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The |
|
246 margin creates space for the post status indicator */ |
|
247 |
|
248 TD DIV.tclcon {MARGIN-LEFT: 2.3em} |
|
249 |
|
250 |
|
251 |
|
252 |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 |
|
258 |
|
259 |
|