1 /****************************************************************/
2 /* 1. INITIAL SETTINGS */
3 /****************************************************************/
5 .pun TABLE
, .pun DIV
, .pun FORM
, .pun P
, .pun H1
, .pun H2
, .pun H3
,
6 .pun H4
, .pun PRE
, .pun BLOCKQUOTE
, .pun UL
, .pun OL
, .pun LI
, .pun DL
,
7 .pun DT, .pun DD, .pun TH, .pun TD, .pun FIELDSET, .pun IMG {
14 .pun IMG {BORDER: none
}
16 .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {MARGIN: 0}
18 /****************************************************************/
19 /* 2. STRUCTURAL SETTINGS - VERY IMPORTANT - DO NOT CHANGE */
20 /****************************************************************/
22 /* 2.1 Clearing floats and invisible items */
23 .pun .clearer, .pun .nosize {
31 .pun .clearer, .pun .clearb {CLEAR: both
}
32 .pun .nosize {POSITION: absolute
; LEFT: -10000px}
34 /* 2.2 Overflow settings for posts */
36 DIV
.blockpost DIV
.box
, DIV
.postleft
, DIV
.postsignature
, DIV
.postmsg
{OVERFLOW: hidden
}
38 /****************************************************************/
39 /* 3. BUG FIXES - VERY IMPORTANT - DO NOT CHANGE */
40 /****************************************************************/
42 /* 3.1 This attempts to eliminate rounding errors in Gecko browsers. */
44 DIV
>DIV
>DIV
.postfootleft
, DIV
>DIV
>DIV
.postfootright
{PADDING-TOP: 1px; MARGIN-TOP: -1px}
46 /* 3.2 This is only visible to IE6 Windows and cures various bugs. Do not alter comments */
48 /* Begin IE6Win Fix \*/
49 * HTML
.inbox
, * HTML
.inform
, * HTML
.pun
, * HTML
.intd
, * HTML
.tclcon
{HEIGHT: 1px}
50 * HTML
.inbox DIV
.postmsg
{WIDTH: 98%}
51 /* End of IE6Win Fix */
53 /* 3.3 This is the equivelant of 3.2 but for IE7. It is visible to other browsers
57 .pun, .pun .inbox, .pun .inform, .pun .intd, .pun .tclcon {min-height: 1px}
58 /* End of IE7Win Fix */
60 /****************************************************************/
61 /* 4. HIDDEN ELEMENTS */
62 /****************************************************************/
64 /* These are hidden in normal display. Add comments to make them visible */
66 #brdfooter H2
, #brdstats H2
, #brdstats
.conl DT
, #brdstats
.conr DT
,
67 #modcontrols DT
, #searchlinks DT
, DIV
.postright H3
{
75 /****************************************************************/
76 /* 5. BOX CONTAINERS AND FLOATS */
77 /****************************************************************/
79 /* 5.1. Setup all left and right content using floats. */
101 /* 5.2 Set up page numbering and posts links */
103 DIV
.linkst
.conl
, DIV
.linksb
.conl
, DIV
.postlinksb
.conl
{WIDTH:18em}
105 DIV
.linkst
.conr
, DIV
.linksb
.conr
, DIV
.postlinksb
.conr
{WIDTH:16em}
107 FORM DIV
.linksb
.conr
{WIDTH: 32em}
109 /* 5.3 Keep breadcrumbs from shifting to the right when wrapping */
111 .linkst UL, linksb UL, .postlinksb UL {MARGIN-LEFT: 18em}
113 /* 5.4 Settings for Profile and Admin interface.*/
115 DIV
.block2col
{PADDING-BOTTOM: 1px}
117 DIV
.block2col DIV
.blockform
, DIV
.block2col DIV
.block
, #viewprofile DD
{MARGIN-LEFT: 14em}
119 DIV
.blockmenu
, #viewprofile DT
{
129 #viewprofile DL
{FLOAT: left
; WIDTH: 100%; OVERFLOW: hidden
}
131 /****************************************************************/
133 /****************************************************************/
135 /* 6.1 Table Basic Setup */
137 .pun TABLE {WIDTH: 100%}
139 /* 6.2 Fixed Table Setup */
141 #punindex TABLE
, #vf TABLE
{TABLE-LAYOUT: fixed
}
143 .tcl {TEXT-ALIGN: left
; WIDTH: 50%}
145 .tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center
}
147 .tcr {WIDTH: 32%; TEXT-ALIGN: left
}
149 #punsearch #vf
.tcl
, #punmoderate #vf
.tcl
{WIDTH: 41%}
151 #punsearch #vf
.tc2
{WIDTH: 18%; TEXT-ALIGN: left
}
153 .tcl, .tcr {OVERFLOW: HIDDEN
}
155 /* 6.3 Other Table Setup */
157 #users1 .tcl
{WIDTH: 40%}
159 #users1 .tcr
{WIDTH: 25%}
161 #users1 .tc2
{WIDTH: 25%; TEXT-ALIGN: left
}
163 #users1 .tc3
{WIDTH: 10%; TEXT-ALIGN: center
}
165 #debug .tcr
{WIDTH: 85%; WHITE-SPACE: normal
}
167 #punindex TD
.tcr SPAN
.byuser
{DISPLAY: block
}
169 /****************************************************************/
170 /* 7. VIEWTOPIC SETUP */
171 /****************************************************************/
173 /* 7.1 This is the basic structure. */
175 DIV
.postleft
, DIV
.postfootleft
{
182 DIV
.postright
, DIV
.postfootright
{
183 BORDER-LEFT-WIDTH: 18em;
184 BORDER-LEFT-STYLE: solid
187 DIV
.postfootright
, P
.multidelete
{TEXT-ALIGN: right
}
189 DIV
.blockpost
>DIV
>DIV
.inbox
{PADDING-BOTTOM: 1px}
191 /* 7.3 This is the div which actually contains the post and is inside .postright */
193 DIV
.postmsg
{WIDTH:100%}
195 /* 7.4 These items control overflow and scrolling within posts. */
197 DIV
.incqbox
{WIDTH: 100%; OVERFLOW: hidden
}
198 DIV
.scrollbox
{WIDTH: 100%; OVERFLOW: auto
}
199 IMG
.postimg
{max-width: 100%}
200 A
.postimg
{max-width: 100%}
202 /* 7.5 Turn off the poster information column for preview */
204 #postpreview DIV
.postright
{BORDER-LEFT: none
}
206 /* 7.6 Create the horizontal line above signatures */
208 DIV
.postsignature HR
{
216 /* 7.7 Maximum height for search results as posts. Position go to post link */
218 DIV
.searchposts DIV
.postmsg
{HEIGHT: 8em}
219 DIV
.searchposts DD P
{PADDING-TOP: 3em}
221 /* 7.8 Class for bbcode [u] */
223 SPAN
.bbu
{TEXT-DECORATION: underline
}
225 /****************************************************************/
226 /* 8. LISTS SPECIAL SETTINGS */
227 /****************************************************************/
229 /* 8.1 Horizontal display of online list, main navigation menu and breadcrumbs */
231 #onlinelist DD
, #onlinelist DT
, #brdmenu LI
, DIV
.linkst LI
, DIV
.linksb LI
, DIV
.postlinksb LI
,
232 DIV
.postfootright LI
, UL
.bblinks LI
{
237 /* 8.2 Turn on square icon for posterror list */
239 #posterror UL LI
{LIST-STYLE: square inside
}
241 /* 8.3 Right alignment of descriptions in ordinary member view of other members profiles */
243 #viewprofile DT
{TEXT-ALIGN: right
}
245 /****************************************************************/
246 /* 9. FORM SETTINGS */
247 /****************************************************************/
249 /* 9.1 Makes textareas and long text inputs shrink with page */
251 DIV
.txtarea
{WIDTH: 75%}
253 DIV
.txtarea TEXTAREA
, INPUT
.longinput
{WIDTH: 100%}
255 .pun LABEL {DISPLAY: block
}
257 #qjump SELECT
{WIDTH: 50%}
259 /****************************************************************/
260 /* 10. HELP FILES AND MISC. */
261 /****************************************************************/
263 /* 10.1 Put some space between sections of the help file */
265 #helpfile H2
{MARGIN-TOP: 12px}
267 /* 10.2 Internal padding */
269 #helpfile DIV
.box
{PADDING: 10px}
271 /* 10.3 Other templates */
273 #punredirect DIV
.block
, #punmaint DIV
.block
{MARGIN: 50px 20% 12px 20%}