[1] | 1 | /****************************************************************/ |
---|
| 2 | /* 1. INITIAL SETTINGS */ |
---|
| 3 | /****************************************************************/ |
---|
| 4 | |
---|
| 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 { |
---|
| 8 | MARGIN: 0px; |
---|
| 9 | PADDING: 0px; |
---|
| 10 | FONT-WEIGHT: normal; |
---|
| 11 | LIST-STYLE: none; |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | .pun IMG {BORDER: none} |
---|
| 15 | |
---|
| 16 | .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {MARGIN: 0} |
---|
| 17 | |
---|
| 18 | /****************************************************************/ |
---|
| 19 | /* 2. STRUCTURAL SETTINGS - VERY IMPORTANT - DO NOT CHANGE */ |
---|
| 20 | /****************************************************************/ |
---|
| 21 | |
---|
| 22 | /* 2.1 Clearing floats and invisible items */ |
---|
| 23 | .pun .clearer, .pun .nosize { |
---|
| 24 | HEIGHT: 0; |
---|
| 25 | WIDTH: 0; |
---|
| 26 | LINE-HEIGHT: 0; |
---|
| 27 | FONT-SIZE: 0; |
---|
| 28 | OVERFLOW: hidden |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | .pun .clearer, .pun .clearb {CLEAR: both} |
---|
| 32 | .pun .nosize {POSITION: absolute; LEFT: -10000px} |
---|
| 33 | |
---|
| 34 | /* 2.2 Overflow settings for posts */ |
---|
| 35 | |
---|
| 36 | DIV.blockpost DIV.box, DIV.postleft, DIV.postsignature, DIV.postmsg {OVERFLOW: hidden} |
---|
| 37 | |
---|
| 38 | /****************************************************************/ |
---|
| 39 | /* 3. BUG FIXES - VERY IMPORTANT - DO NOT CHANGE */ |
---|
| 40 | /****************************************************************/ |
---|
| 41 | |
---|
| 42 | /* 3.1 This attempts to eliminate rounding errors in Gecko browsers. */ |
---|
| 43 | |
---|
| 44 | DIV>DIV>DIV.postfootleft, DIV>DIV>DIV.postfootright {PADDING-TOP: 1px; MARGIN-TOP: -1px} |
---|
| 45 | |
---|
| 46 | /* 3.2 This is only visible to IE Windows and cures various bugs. Do not alter comments */ |
---|
| 47 | |
---|
| 48 | /* Begin IEWin Fix \*/ |
---|
| 49 | * HTML .inbox, * HTML .inform, * HTML .pun, * HTML .intd, * HTML .tclcon {HEIGHT: 1px} |
---|
| 50 | * HTML .inbox DIV.postmsg {WIDTH: 98%} |
---|
| 51 | /* End of IEWin Fix */ |
---|
| 52 | |
---|
| 53 | /****************************************************************/ |
---|
| 54 | /* 4. HIDDEN ELEMENTS */ |
---|
| 55 | /****************************************************************/ |
---|
| 56 | |
---|
| 57 | /* These are hidden in normal display. Add comments to make them visible */ |
---|
| 58 | |
---|
| 59 | #brdfooter H2, #brdstats H2, #brdstats .conl DT, #brdstats .conr DT, |
---|
| 60 | #modcontrols DT, #searchlinks DT, DIV.postright H3 { |
---|
| 61 | POSITION: absolute; |
---|
| 62 | DISPLAY: block; |
---|
| 63 | OVERFLOW: hidden; |
---|
| 64 | WIDTH: 1em; |
---|
| 65 | LEFT: -999em |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | /****************************************************************/ |
---|
| 69 | /* 5. BOX CONTAINERS AND FLOATS */ |
---|
| 70 | /****************************************************************/ |
---|
| 71 | |
---|
| 72 | /* 5.1. Setup all left and right content using floats. */ |
---|
| 73 | |
---|
| 74 | .conr { |
---|
| 75 | FLOAT: right; |
---|
| 76 | TEXT-ALIGN: right; |
---|
| 77 | CLEAR: right; |
---|
| 78 | WIDTH: 40% |
---|
| 79 | } |
---|
| 80 | |
---|
| 81 | .conl { |
---|
| 82 | FLOAT: left; |
---|
| 83 | WIDTH: 55%; |
---|
| 84 | OVERFLOW: hidden; |
---|
| 85 | WHITE-SPACE: nowrap |
---|
| 86 | } |
---|
| 87 | |
---|
| 88 | LABEL.conl { |
---|
| 89 | WIDTH: auto; |
---|
| 90 | OVERFLOW: visible; |
---|
| 91 | MARGIN-RIGHT: 10px |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | /* 5.2 Set up page numbering and posts links */ |
---|
| 95 | |
---|
| 96 | DIV.linkst .conl, DIV.linksb .conl, DIV.postlinksb .conl {WIDTH:18em} |
---|
| 97 | |
---|
| 98 | DIV.linkst .conr, DIV.linksb .conr, DIV.postlinksb .conr {WIDTH:16em} |
---|
| 99 | |
---|
| 100 | FORM DIV.linksb .conr {WIDTH: 32em} |
---|
| 101 | |
---|
| 102 | /* 5.3 Keep breadcrumbs from shifting to the right when wrapping */ |
---|
| 103 | |
---|
| 104 | .linkst UL, linksb UL, .postlinksb UL {MARGIN-LEFT: 18em} |
---|
| 105 | |
---|
| 106 | /* 5.4 Settings for Profile and Admin interface.*/ |
---|
| 107 | |
---|
| 108 | DIV.block2col {PADDING-BOTTOM: 1px} |
---|
| 109 | |
---|
| 110 | DIV.block2col DIV.blockform, DIV.block2col DIV.block, #viewprofile DD {MARGIN-LEFT: 14em} |
---|
| 111 | |
---|
| 112 | DIV.blockmenu, #viewprofile DT { |
---|
| 113 | FLOAT:left; |
---|
| 114 | WIDTH: 13em |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | #profileavatar IMG { |
---|
| 118 | FLOAT: right; |
---|
| 119 | MARGIN-LEFT: 1em |
---|
| 120 | } |
---|
| 121 | |
---|
| 122 | #viewprofile DL {FLOAT: left; WIDTH: 100%; OVERFLOW: hidden} |
---|
| 123 | |
---|
| 124 | /****************************************************************/ |
---|
| 125 | /* 6. TABLE SETUP */ |
---|
| 126 | /****************************************************************/ |
---|
| 127 | |
---|
| 128 | /* 6.1 Table Basic Setup */ |
---|
| 129 | |
---|
| 130 | .pun TABLE {WIDTH: 100%} |
---|
| 131 | |
---|
| 132 | /* 6.2 Fixed Table Setup */ |
---|
| 133 | |
---|
| 134 | #punindex TABLE, #vf TABLE {TABLE-LAYOUT: fixed} |
---|
| 135 | |
---|
| 136 | .tcl {TEXT-ALIGN: left; WIDTH: 50%} |
---|
| 137 | |
---|
| 138 | .tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center} |
---|
| 139 | |
---|
| 140 | .tcr {WIDTH: 32%; TEXT-ALIGN: left} |
---|
| 141 | |
---|
| 142 | #punsearch #vf .tcl, #punmoderate #vf .tcl {WIDTH: 41%} |
---|
| 143 | |
---|
| 144 | #punsearch #vf .tc2 {WIDTH: 18%; TEXT-ALIGN: left} |
---|
| 145 | |
---|
| 146 | .tcl, .tcr {OVERFLOW: HIDDEN} |
---|
| 147 | |
---|
| 148 | /* 6.3 Other Table Setup */ |
---|
| 149 | |
---|
| 150 | #users1 .tcl {WIDTH: 40%} |
---|
| 151 | |
---|
| 152 | #users1 .tcr {WIDTH: 25%} |
---|
| 153 | |
---|
| 154 | #users1 .tc2 {WIDTH: 25%; TEXT-ALIGN: left} |
---|
| 155 | |
---|
| 156 | #users1 .tc3 {WIDTH: 10%; TEXT-ALIGN: center} |
---|
| 157 | |
---|
| 158 | #debug .tcr {WIDTH: 85%; WHITE-SPACE: normal} |
---|
| 159 | |
---|
| 160 | #punindex TD.tcr SPAN.byuser {DISPLAY: block} |
---|
| 161 | |
---|
| 162 | /****************************************************************/ |
---|
| 163 | /* 7. VIEWTOPIC SETUP */ |
---|
| 164 | /****************************************************************/ |
---|
| 165 | |
---|
| 166 | /* 7.1 This is the basic structure. */ |
---|
| 167 | |
---|
| 168 | DIV.postleft, DIV.postfootleft { |
---|
| 169 | FLOAT:left; |
---|
| 170 | WIDTH: 18em; |
---|
| 171 | OVERFLOW: hidden |
---|
| 172 | } |
---|
| 173 | |
---|
| 174 | DIV.postright, DIV.postfootright { |
---|
| 175 | BORDER-LEFT-WIDTH: 18em; |
---|
| 176 | BORDER-LEFT-STYLE: solid |
---|
| 177 | } |
---|
| 178 | |
---|
| 179 | DIV.postfootright, P.multidelete {TEXT-ALIGN: right} |
---|
| 180 | |
---|
| 181 | DIV.blockpost>DIV>DIV.inbox {PADDING-BOTTOM: 1px} |
---|
| 182 | |
---|
| 183 | /* 7.3 This is the div which actually contains the post and is inside .postright */ |
---|
| 184 | |
---|
| 185 | DIV.postmsg {WIDTH:100%} |
---|
| 186 | |
---|
| 187 | /* 7.4 These items control overflow and scrolling within posts. */ |
---|
| 188 | |
---|
| 189 | DIV.incqbox {WIDTH: 100%; OVERFLOW: hidden} |
---|
| 190 | DIV.scrollbox {WIDTH: 100%; OVERFLOW: auto} |
---|
| 191 | IMG.postimg {max-width: 100%} |
---|
| 192 | A .postimg {max-width: 100%} |
---|
| 193 | |
---|
| 194 | /* 7.5 Turn off the poster information column for preview */ |
---|
| 195 | |
---|
| 196 | #postpreview DIV.postright {BORDER-LEFT: none} |
---|
| 197 | |
---|
| 198 | /* 7.6 Create the horizontal line above signatures */ |
---|
| 199 | |
---|
| 200 | DIV.postsignature HR { |
---|
| 201 | MARGIN-LEFT: 0px; |
---|
| 202 | WIDTH: 200px; |
---|
| 203 | TEXT-ALIGN: left; |
---|
| 204 | HEIGHT: 1px; |
---|
| 205 | BORDER:none |
---|
| 206 | } |
---|
| 207 | |
---|
| 208 | /* 7.7 Maximum height for search results as posts. Position go to post link */ |
---|
| 209 | |
---|
| 210 | DIV.searchposts DIV.postmsg {HEIGHT: 8em} |
---|
| 211 | DIV.searchposts DD P {PADDING-TOP: 3em} |
---|
| 212 | |
---|
| 213 | /* 7.8 Class for bbcode [u] */ |
---|
| 214 | |
---|
| 215 | SPAN.bbu {TEXT-DECORATION: underline} |
---|
| 216 | |
---|
| 217 | /****************************************************************/ |
---|
| 218 | /* 8. LISTS SPECIAL SETTINGS */ |
---|
| 219 | /****************************************************************/ |
---|
| 220 | |
---|
| 221 | /* 8.1 Horizontal display of online list, main navigation menu and breadcrumbs */ |
---|
| 222 | |
---|
| 223 | #onlinelist DD, #onlinelist DT, #brdmenu LI, DIV.linkst LI, DIV.linksb LI, DIV.postlinksb LI, |
---|
| 224 | DIV.postfootright LI, UL.bblinks LI { |
---|
| 225 | DISPLAY: inline; |
---|
| 226 | HEIGHT: 0 |
---|
| 227 | } |
---|
| 228 | |
---|
| 229 | /* 8.2 Turn on square icon for posterror list */ |
---|
| 230 | |
---|
| 231 | #posterror UL LI {LIST-STYLE: square inside} |
---|
| 232 | |
---|
| 233 | /* 8.3 Right alignment of descriptions in ordinary member view of other members profiles */ |
---|
| 234 | |
---|
| 235 | #viewprofile DT {TEXT-ALIGN: right} |
---|
| 236 | |
---|
| 237 | /****************************************************************/ |
---|
| 238 | /* 9. FORM SETTINGS */ |
---|
| 239 | /****************************************************************/ |
---|
| 240 | |
---|
| 241 | /* 9.1 Makes textareas and long text inputs shrink with page */ |
---|
| 242 | |
---|
| 243 | DIV.txtarea {WIDTH: 75%} |
---|
| 244 | |
---|
| 245 | DIV.txtarea TEXTAREA, INPUT.longinput {WIDTH: 100%} |
---|
| 246 | |
---|
| 247 | .pun LABEL {DISPLAY: block} |
---|
| 248 | |
---|
| 249 | #qjump SELECT {WIDTH: 50%} |
---|
| 250 | |
---|
| 251 | /****************************************************************/ |
---|
| 252 | /* 10. HELP FILES AND MISC. */ |
---|
| 253 | /****************************************************************/ |
---|
| 254 | |
---|
| 255 | /* 10.1 Put some space between sections of the help file */ |
---|
| 256 | |
---|
| 257 | #helpfile H2 {MARGIN-TOP: 12px} |
---|
| 258 | |
---|
| 259 | /* 10.2 Internal padding */ |
---|
| 260 | |
---|
| 261 | #helpfile DIV.box {PADDING: 10px} |
---|
| 262 | |
---|
| 263 | /* 10.3 Other templates */ |
---|
| 264 | |
---|
| 265 | #punredirect DIV.block, #punmaint DIV.block {MARGIN: 50px 20% 12px 20%} |
---|