Commit | Line | Data |
---|---|---|
c495c100 P |
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/Radium_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: underline} | |
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: 4px} | |
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 {MARGIN-BOTTOM: 6px} | |
109 | DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px} | |
110 | ||
111 | /* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */ | |
112 | ||
113 | DIV.linkst, DIV.linksb {MARGIN-TOP: -12px} | |
114 | DIV.postlinksb {MARGIN-TOP: -6px} | |
115 | ||
116 | /* 5.4 Put a 12px gap above the board information box in index because the category tables only | |
117 | have a 6px space beneath them */ | |
118 | ||
119 | #brdstats {MARGIN-TOP: 12px} | |
120 | ||
121 | /****************************************************************/ | |
122 | /* 6. SPACING AROUND CONTENT */ | |
123 | /****************************************************************/ | |
124 | ||
125 | /* 6.1 Default padding for main items */ | |
126 | ||
127 | DIV.block DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px} | |
128 | .pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0} | |
129 | .pun H2 {PADDING: 4px 6px} | |
130 | ||
131 | /* 6.2 Special spacing for various elements */ | |
132 | ||
133 | .pun H1 {PADDING: 3px 0px 0px 0} | |
134 | #brdtitle P {PADDING-TOP: 0px} | |
135 | DIV.linkst {PADDING: 8px 6px 3px 6px} | |
136 | DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px} | |
137 | #brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT {LINE-HEIGHT: 1.4em} | |
138 | #viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em} | |
139 | ||
140 | /* 6.4 Create some horizontal spacing for various elements */ | |
141 | ||
142 | #brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT {MARGIN-RIGHT: 12px} | |
143 | ||
144 | /****************************************************************/ | |
145 | /* 7. SPACING FOR TABLES */ | |
146 | /****************************************************************/ | |
147 | ||
148 | .pun TH, .pun TD {PADDING: 4px 6px} | |
149 | .pun TD P {PADDING: 5px 0 0 0} | |
150 | ||
151 | /****************************************************************/ | |
152 | /* 8. SPACING FOR POSTS */ | |
153 | /****************************************************************/ | |
154 | ||
155 | /* 8.1 Padding around left and right columns in viewtopic */ | |
156 | ||
157 | DIV.postleft DL, DIV.postright {PADDING: 6px} | |
158 | ||
159 | /* 8.2 Extra spacing for poster contact details and avatar */ | |
160 | ||
161 | DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px} | |
162 | DD.postavatar {MARGIN-BOTTOM: 5px} | |
163 | ||
164 | /* 8.3 Extra top spacing for signatures and edited by */ | |
165 | ||
166 | DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px} | |
167 | ||
168 | /* 8.4 Spacing for code and quote boxes */ | |
169 | ||
170 | DIV.postmsg H4 {MARGIN-BOTTOM: 10px} | |
171 | .pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px} | |
172 | ||
173 | /* 8.5 Padding for the action links and online indicator in viewtopic */ | |
174 | ||
175 | DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px} | |
176 | ||
177 | /* 8.6 This is the input on moderators multi-delete view */ | |
178 | ||
179 | DIV.blockpost INPUT, DIV.blockpost LABEL { | |
180 | PADDING: 3px; | |
181 | DISPLAY: inline | |
182 | } | |
183 | ||
184 | P.multidelete { | |
185 | PADDING-TOP: 15px; | |
186 | PADDING-BOTTOM: 5px | |
187 | } | |
188 | ||
189 | /* 8.7 Make sure paragraphs in posts don't get any padding */ | |
190 | ||
191 | DIV.postmsg P {PADDING: 0} | |
192 | ||
193 | /****************************************************************/ | |
194 | /* 9. SPECIAL SPACING FOR FORMS */ | |
195 | /****************************************************************/ | |
196 | ||
197 | /* 9.1 Padding around fieldsets */ | |
198 | ||
199 | DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px} | |
200 | DIV.inform {PADDING-BOTTOM: 12px} | |
201 | ||
202 | /* 9.2 Padding inside fieldsets */ | |
203 | ||
204 | .pun FIELDSET {PADDING: 0px 12px 0px 12px} | |
205 | DIV.infldset {PADDING: 9px 0px 12px 0} | |
206 | .pun LEGEND {PADDING: 0px 6px} | |
207 | ||
208 | /* 9.3 The information box at the top of the registration form and elsewhere */ | |
209 | ||
210 | DIV.forminfo { | |
211 | MARGIN-BOTTOM: 12px; | |
212 | PADDING: 9px 10px | |
213 | } | |
214 | ||
215 | /* 9.4 BBCode help links in post forms */ | |
216 | ||
217 | UL.bblinks LI {PADDING-RIGHT: 20px} | |
218 | ||
219 | UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px} | |
220 | ||
221 | /* 9.5 Horizontal positioning for the submit button on forms */ | |
222 | ||
223 | DIV.blockform P INPUT {MARGIN-LEFT: 12px} | |
224 | ||
225 | /****************************************************************/ | |
226 | /* 10. POST STATUS INDICATORS */ | |
227 | /****************************************************************/ | |
228 | ||
229 | /* 10.1 These are the post status indicators which appear at the left of some tables. | |
230 | .inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and | |
231 | .isticky = sticky topics. By default only .inew is different from the default.*/ | |
232 | ||
233 | DIV.icon { | |
234 | FLOAT: left; | |
235 | MARGIN-TOP: 0.1em; | |
236 | MARGIN-LEFT: 0.2em; | |
237 | DISPLAY: block; | |
238 | BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em; | |
239 | BORDER-STYLE: solid | |
240 | } | |
241 | ||
242 | DIV.searchposts DIV.icon {MARGIN-LEFT: 0} | |
243 | ||
244 | /* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The | |
245 | margin creates space for the post status indicator */ | |
246 | ||
247 | TD DIV.tclcon {MARGIN-LEFT: 2.3em} | |
248 | ||
249 | ||
250 | ||
251 | ||
252 | ||
253 | ||
254 | ||
255 | ||
256 | ||
257 | ||
258 |