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/Mercury_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 | DIV.postmsg P {LINE-HEIGHT: 1.4} |
---|
41 | DIV.postleft DT {FONT-SIZE: 1.1em} |
---|
42 | .pun PRE {FONT-SIZE: 1.2em} |
---|
43 | |
---|
44 | /* 2.5 Bold text */ |
---|
45 | |
---|
46 | DIV.postleft DT, DIV.postmsg H4, TD.tcl H3, DIV.forminfo H3, P.postlink, DIV.linkst LI, |
---|
47 | DIV.linksb LI, DIV.postlinksb LI, .blockmenu LI, #brdtitle H1, .pun SPAN.warntext, .pun P.warntext {FONT-WEIGHT: bold} |
---|
48 | |
---|
49 | /****************************************************************/ |
---|
50 | /* 3. LINKS */ |
---|
51 | /****************************************************************/ |
---|
52 | |
---|
53 | /* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */ |
---|
54 | |
---|
55 | #brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link, |
---|
56 | .blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited, |
---|
57 | .blockmenu A:link, .blockmenu A:visited { |
---|
58 | TEXT-DECORATION: none |
---|
59 | } |
---|
60 | |
---|
61 | /* 3.2 Underline on hover for links in headers and main menu */ |
---|
62 | |
---|
63 | #brdmenu A:hover, .blockpost H2 A:hover {TEXT-DECORATION: none} |
---|
64 | |
---|
65 | /****************************************************************/ |
---|
66 | /* 4. BORDER WIDTH AND STYLE */ |
---|
67 | /****************************************************************/ |
---|
68 | |
---|
69 | /* 4.1 By default borders are 1px solid */ |
---|
70 | |
---|
71 | DIV.box, .pun TD, .pun TH, .pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL { |
---|
72 | BORDER-STYLE: solid; |
---|
73 | BORDER-WIDTH: 1px |
---|
74 | } |
---|
75 | |
---|
76 | /* 4.2 Special settings for the board header. */ |
---|
77 | |
---|
78 | #brdheader DIV.box {BORDER-TOP-WIDTH: 1px} |
---|
79 | |
---|
80 | /* 4.3 Borders for table cells */ |
---|
81 | |
---|
82 | .pun TD, .pun TH { |
---|
83 | BORDER-BOTTOM: none; |
---|
84 | BORDER-RIGHT: none |
---|
85 | } |
---|
86 | |
---|
87 | .pun .tcl {BORDER-LEFT: none} |
---|
88 | |
---|
89 | /* 4.4 Special setting for fieldsets to preserve IE defaults */ |
---|
90 | |
---|
91 | DIV>FIELDSET { |
---|
92 | BORDER-STYLE: solid; |
---|
93 | BORDER-WIDTH: 1px |
---|
94 | } |
---|
95 | |
---|
96 | /****************************************************************/ |
---|
97 | /* 5. VERTICAL AND PAGE SPACING */ |
---|
98 | /****************************************************************/ |
---|
99 | |
---|
100 | /* 5.1 Page margins */ |
---|
101 | |
---|
102 | HTML, BODY {MARGIN: 0; PADDING: 0} |
---|
103 | #punwrap {margin:12px 20px;} |
---|
104 | |
---|
105 | /* 5.2 Creates vertical space between main board elements (Margins) */ |
---|
106 | |
---|
107 | DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px} |
---|
108 | #punindex DIV.blocktable, DIV.blockpost { |
---|
109 | 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. |
---|
129 | DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px} |
---|
130 | .pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0} |
---|
131 | .pun H2 {PADDING: 4px 6px} |
---|
132 | |
---|
133 | /* 6.2 Special spacing for various elements */ |
---|
134 | |
---|
135 | .pun H1 {PADDING: 3px 0px 0px 0} |
---|
136 | #brdtitle P {PADDING-TOP: 0px} |
---|
137 | DIV.linkst {PADDING: 8px 6px 3px 6px} |
---|
138 | DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px} |
---|
139 | #brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT {LINE-HEIGHT: 1.4em} |
---|
140 | #viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em} |
---|
141 | |
---|
142 | /* 6.4 Create some horizontal spacing for various elements */ |
---|
143 | |
---|
144 | #brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT {MARGIN-RIGHT: 12px} |
---|
145 | |
---|
146 | /****************************************************************/ |
---|
147 | /* 7. SPACING FOR TABLES */ |
---|
148 | /****************************************************************/ |
---|
149 | |
---|
150 | .pun TH, .pun TD {PADDING: 4px 6px} |
---|
151 | .pun TD P {PADDING: 5px 0 0 0} |
---|
152 | |
---|
153 | /****************************************************************/ |
---|
154 | /* 8. SPACING FOR POSTS */ |
---|
155 | /****************************************************************/ |
---|
156 | |
---|
157 | /* 8.1 Padding around left and right columns in viewtopic */ |
---|
158 | |
---|
159 | DIV.postleft DL, DIV.postright {PADDING: 6px} |
---|
160 | |
---|
161 | /* 8.2 Extra spacing for poster contact details and avatar */ |
---|
162 | |
---|
163 | DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px} |
---|
164 | DD.postavatar {MARGIN-BOTTOM: 5px} |
---|
165 | |
---|
166 | /* 8.3 Extra top spacing for signatures and edited by */ |
---|
167 | |
---|
168 | DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px} |
---|
169 | |
---|
170 | /* 8.4 Spacing for code and quote boxes */ |
---|
171 | |
---|
172 | DIV.postmsg H4 {MARGIN-BOTTOM: 10px} |
---|
173 | .pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px} |
---|
174 | |
---|
175 | /* 8.5 Padding for the action links and online indicator in viewtopic */ |
---|
176 | |
---|
177 | DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px} |
---|
178 | |
---|
179 | /* 8.6 This is the input on moderators multi-delete view */ |
---|
180 | |
---|
181 | DIV.blockpost INPUT, DIV.blockpost LABEL { |
---|
182 | PADDING: 3px; |
---|
183 | DISPLAY: inline |
---|
184 | } |
---|
185 | |
---|
186 | P.multidelete { |
---|
187 | PADDING-TOP: 15px; |
---|
188 | PADDING-BOTTOM: 5px |
---|
189 | } |
---|
190 | |
---|
191 | /* 8.7 Make sure paragraphs in posts don't get any padding */ |
---|
192 | |
---|
193 | DIV.postmsg P {PADDING: 0} |
---|
194 | |
---|
195 | /****************************************************************/ |
---|
196 | /* 9. SPECIAL SPACING FOR FORMS */ |
---|
197 | /****************************************************************/ |
---|
198 | |
---|
199 | /* 9.1 Padding around fieldsets */ |
---|
200 | |
---|
201 | DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px} |
---|
202 | DIV.inform {PADDING-BOTTOM: 12px} |
---|
203 | |
---|
204 | /* 9.2 Padding inside fieldsets */ |
---|
205 | |
---|
206 | .pun FIELDSET {PADDING: 0px 12px 0px 12px} |
---|
207 | DIV.infldset {PADDING: 9px 0px 12px 0} |
---|
208 | .pun LEGEND {PADDING: 0px 6px} |
---|
209 | |
---|
210 | /* 9.3 The information box at the top of the registration form and elsewhere */ |
---|
211 | |
---|
212 | DIV.forminfo { |
---|
213 | MARGIN-BOTTOM: 12px; |
---|
214 | PADDING: 9px 10px |
---|
215 | } |
---|
216 | |
---|
217 | /* 9.4 BBCode help links in post forms */ |
---|
218 | |
---|
219 | UL.bblinks LI {PADDING-RIGHT: 20px} |
---|
220 | |
---|
221 | UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px} |
---|
222 | |
---|
223 | /* 9.5 Horizontal positioning for the submit button on forms */ |
---|
224 | |
---|
225 | DIV.blockform P INPUT {MARGIN-LEFT: 12px} |
---|
226 | |
---|
227 | /****************************************************************/ |
---|
228 | /* 10. POST STATUS INDICATORS */ |
---|
229 | /****************************************************************/ |
---|
230 | |
---|
231 | /* 10.1 These are the post status indicators which appear at the left of some tables. |
---|
232 | .inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and |
---|
233 | .isticky = sticky topics. By default only .inew is different from the default.*/ |
---|
234 | |
---|
235 | DIV.icon { |
---|
236 | FLOAT: left; |
---|
237 | MARGIN-TOP: 0.1em; |
---|
238 | MARGIN-LEFT: 0.2em; |
---|
239 | DISPLAY: block; |
---|
240 | BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em; |
---|
241 | BORDER-STYLE: solid |
---|
242 | } |
---|
243 | |
---|
244 | DIV.searchposts DIV.icon {MARGIN-LEFT: 0} |
---|
245 | |
---|
246 | /* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The |
---|
247 | margin creates space for the post status indicator */ |
---|
248 | |
---|
249 | TD DIV.tclcon {MARGIN-LEFT: 2.3em} |
---|
250 | |
---|
251 | |
---|
252 | |
---|
253 | |
---|
254 | |
---|
255 | |
---|
256 | |
---|
257 | |
---|