Blame Extras/Punbb/style/imports/base.css

4c79b5
/****************************************************************/
4c79b5
/* 1. INITIAL SETTINGS */
4c79b5
/****************************************************************/
4c79b5
4c79b5
.pun TABLE, .pun DIV, .pun FORM, .pun P, .pun H1, .pun H2, .pun H3,
4c79b5
.pun H4, .pun PRE, .pun BLOCKQUOTE, .pun UL, .pun OL, .pun LI, .pun DL,
4c79b5
.pun DT, .pun DD, .pun TH, .pun TD, .pun FIELDSET, .pun IMG {
4c79b5
	MARGIN: 0px;
4c79b5
	PADDING: 0px;
4c79b5
	FONT-WEIGHT: normal;
4c79b5
	LIST-STYLE: none;
4c79b5
}
4c79b5
4c79b5
.pun IMG {BORDER: none}
4c79b5
4c79b5
.pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {MARGIN: 0}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 2. STRUCTURAL SETTINGS - VERY IMPORTANT - DO NOT CHANGE */
4c79b5
/****************************************************************/
4c79b5

4c79b5
/* 2.1 Clearing floats and invisible items */
4c79b5
.pun .clearer, .pun .nosize {
4c79b5
	HEIGHT: 0;
4c79b5
	WIDTH: 0;
4c79b5
	LINE-HEIGHT: 0;
4c79b5
	FONT-SIZE: 0;
4c79b5
	OVERFLOW: hidden
4c79b5
}
4c79b5
4c79b5
.pun .clearer, .pun .clearb {CLEAR: both}
4c79b5
.pun .nosize {POSITION: absolute; LEFT: -10000px}
4c79b5

4c79b5
/* 2.2 Overflow settings for posts */
4c79b5

4c79b5
DIV.blockpost DIV.box, DIV.postleft, DIV.postsignature, DIV.postmsg {OVERFLOW: hidden}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 3. BUG FIXES - VERY IMPORTANT - DO NOT CHANGE */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 3.1 This attempts to eliminate rounding errors in Gecko browsers. */
4c79b5
4c79b5
DIV>DIV>DIV.postfootleft, DIV>DIV>DIV.postfootright {PADDING-TOP: 1px; MARGIN-TOP: -1px}
4c79b5

4c79b5
/* 3.2 This is only visible to IE6 Windows and cures various bugs. Do not alter comments */
4c79b5

4c79b5
/* Begin IE6Win Fix \*/
4c79b5
* HTML .inbox, * HTML .inform, * HTML .pun, * HTML .intd, * HTML .tclcon {HEIGHT: 1px}
4c79b5
* HTML .inbox DIV.postmsg {WIDTH: 98%}
4c79b5
/* End of IE6Win Fix */
4c79b5

4c79b5
/* 3.3 This is the equivelant of 3.2 but for IE7. It is visible to other browsers
4c79b5
but does no harm */
4c79b5

4c79b5
/*Begin IE7Win Fix */
4c79b5
.pun, .pun .inbox, .pun .inform, .pun .intd, .pun .tclcon {min-height: 1px}
4c79b5
/* End of IE7Win Fix */
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 4. HIDDEN ELEMENTS */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* These are hidden in normal display. Add comments to make them visible */
4c79b5
4c79b5
#brdfooter H2, #brdstats H2, #brdstats .conl DT, #brdstats .conr DT,
4c79b5
#modcontrols DT, #searchlinks DT, DIV.postright H3 {
4c79b5
	POSITION: absolute;
4c79b5
	DISPLAY: block;
4c79b5
	OVERFLOW: hidden;
4c79b5
	WIDTH: 1em;
4c79b5
	LEFT: -999em
4c79b5
}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 5. BOX CONTAINERS AND FLOATS */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 5.1. Setup all left and right content using floats. */  
4c79b5
4c79b5
.conr {
4c79b5
	FLOAT: right;
4c79b5
	TEXT-ALIGN: right;
4c79b5
	CLEAR: right;
4c79b5
	WIDTH: 40%
4c79b5
}
4c79b5
4c79b5
.conl {
4c79b5
	FLOAT: left;
4c79b5
	WIDTH: 55%;
4c79b5
	OVERFLOW: hidden;
4c79b5
	WHITE-SPACE: nowrap
4c79b5
}
4c79b5
4c79b5
LABEL.conl {
4c79b5
	WIDTH: auto;
4c79b5
	OVERFLOW: visible;
4c79b5
	MARGIN-RIGHT: 10px
4c79b5
}
4c79b5
4c79b5
/* 5.2 Set up page numbering and posts links */
4c79b5
4c79b5
DIV.linkst .conl, DIV.linksb .conl, DIV.postlinksb .conl {WIDTH:18em}
4c79b5
4c79b5
DIV.linkst .conr, DIV.linksb .conr, DIV.postlinksb .conr {WIDTH:16em}
4c79b5
4c79b5
FORM DIV.linksb .conr {WIDTH: 32em}
4c79b5
4c79b5
/* 5.3 Keep breadcrumbs from shifting to the right when wrapping */
4c79b5
4c79b5
.linkst UL, linksb UL, .postlinksb UL {MARGIN-LEFT: 18em}
4c79b5
4c79b5
/* 5.4 Settings for Profile and Admin interface.*/
4c79b5

4c79b5
DIV.block2col {PADDING-BOTTOM: 1px}
4c79b5
4c79b5
DIV.block2col DIV.blockform, DIV.block2col DIV.block, #viewprofile DD {MARGIN-LEFT: 14em}
4c79b5
4c79b5
DIV.blockmenu, #viewprofile DT {
4c79b5
	FLOAT:left;
4c79b5
	WIDTH: 13em
4c79b5
}
4c79b5
4c79b5
#profileavatar IMG {
4c79b5
	FLOAT: right;
4c79b5
	MARGIN-LEFT: 1em
4c79b5
}
4c79b5
4c79b5
#viewprofile DL {FLOAT: left; WIDTH: 100%; OVERFLOW: hidden}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 6. TABLE SETUP */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 6.1 Table Basic Setup */
4c79b5
4c79b5
.pun TABLE {WIDTH: 100%}
4c79b5
4c79b5
/* 6.2 Fixed Table Setup */
4c79b5
4c79b5
#punindex TABLE, #vf TABLE {TABLE-LAYOUT: fixed}
4c79b5
4c79b5
.tcl {TEXT-ALIGN: left; WIDTH: 50%}
4c79b5
4c79b5
.tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center}
4c79b5
4c79b5
.tcr {WIDTH: 32%; TEXT-ALIGN: left}
4c79b5
4c79b5
#punsearch #vf .tcl, #punmoderate #vf .tcl {WIDTH: 41%}
4c79b5
4c79b5
#punsearch #vf .tc2 {WIDTH: 18%; TEXT-ALIGN: left}
4c79b5
4c79b5
.tcl, .tcr {OVERFLOW: HIDDEN}
4c79b5
4c79b5
/* 6.3 Other Table Setup */
4c79b5
4c79b5
#users1 .tcl {WIDTH: 40%}
4c79b5
4c79b5
#users1 .tcr {WIDTH: 25%}
4c79b5
4c79b5
#users1 .tc2 {WIDTH: 25%; TEXT-ALIGN: left}
4c79b5
4c79b5
#users1 .tc3 {WIDTH: 10%; TEXT-ALIGN: center}
4c79b5
4c79b5
#debug .tcr {WIDTH: 85%; WHITE-SPACE: normal}
4c79b5
4c79b5
#punindex TD.tcr SPAN.byuser {DISPLAY: block}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 7. VIEWTOPIC SETUP */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 7.1 This is the basic structure. */
4c79b5
4c79b5
DIV.postleft, DIV.postfootleft {
4c79b5
	FLOAT:left;
4c79b5
	WIDTH: 18em;
4c79b5
	OVERFLOW: hidden;
4c79b5
	POSITION: relative;
4c79b5
}
4c79b5
	
4c79b5
DIV.postright, DIV.postfootright {
4c79b5
	BORDER-LEFT-WIDTH: 18em;
4c79b5
	BORDER-LEFT-STYLE: solid
4c79b5
}
4c79b5
4c79b5
DIV.postfootright, P.multidelete {TEXT-ALIGN: right}
4c79b5

4c79b5
DIV.blockpost>DIV>DIV.inbox {PADDING-BOTTOM: 1px}
4c79b5
4c79b5
/* 7.3 This is the div which actually contains the post and is inside .postright */
4c79b5
4c79b5
DIV.postmsg {WIDTH:100%}
4c79b5
4c79b5
/* 7.4 These items control overflow and scrolling within posts. */
4c79b5
4c79b5
DIV.incqbox {WIDTH: 100%; OVERFLOW: hidden}
4c79b5
DIV.scrollbox {WIDTH: 100%; OVERFLOW: auto}
4c79b5
IMG.postimg {max-width: 100%}
4c79b5
A .postimg {max-width: 100%}
4c79b5
4c79b5
/* 7.5 Turn off the poster information column for preview */
4c79b5
4c79b5
#postpreview DIV.postright {BORDER-LEFT: none}
4c79b5
4c79b5
/* 7.6 Create the horizontal line above signatures */
4c79b5
4c79b5
DIV.postsignature HR {
4c79b5
	MARGIN-LEFT: 0px;
4c79b5
	WIDTH: 200px;
4c79b5
	TEXT-ALIGN: left;
4c79b5
	HEIGHT: 1px;
4c79b5
	BORDER:none
4c79b5
}
4c79b5
4c79b5
/* 7.7 Maximum height for search results as posts. Position go to post link */
4c79b5
4c79b5
DIV.searchposts DIV.postmsg {HEIGHT: 8em}
4c79b5
DIV.searchposts DD P {PADDING-TOP: 3em}
4c79b5
4c79b5
/* 7.8 Class for bbcode [u] */
4c79b5
4c79b5
SPAN.bbu {TEXT-DECORATION: underline}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 8. LISTS SPECIAL SETTINGS */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 8.1 Horizontal display of online list, main navigation menu and breadcrumbs */
4c79b5
4c79b5
#onlinelist DD, #onlinelist DT, #brdmenu LI, DIV.linkst LI, DIV.linksb LI, DIV.postlinksb LI,
4c79b5
DIV.postfootright LI, UL.bblinks LI {
4c79b5
	DISPLAY: inline;
4c79b5
	HEIGHT: 0
4c79b5
}
4c79b5
4c79b5
/* 8.2 Turn on square icon for posterror list */
4c79b5
4c79b5
#posterror UL LI {LIST-STYLE: square inside}
4c79b5
4c79b5
/* 8.3 Right alignment of descriptions in ordinary member view of other members profiles */
4c79b5
4c79b5
#viewprofile DT {TEXT-ALIGN: right}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 9. FORM SETTINGS */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 9.1 Makes textareas and long text inputs shrink with page */
4c79b5
4c79b5
DIV.txtarea {WIDTH: 75%}
4c79b5
4c79b5
DIV.txtarea TEXTAREA, INPUT.longinput {WIDTH: 100%}
4c79b5
4c79b5
.pun LABEL {DISPLAY: block}
4c79b5
4c79b5
#qjump SELECT {WIDTH: 50%}
4c79b5
4c79b5
/****************************************************************/
4c79b5
/* 10. HELP FILES AND MISC. */
4c79b5
/****************************************************************/
4c79b5
4c79b5
/* 10.1 Put some space between sections of the help file */
4c79b5
4c79b5
#helpfile H2 {MARGIN-TOP: 12px}
4c79b5
4c79b5
/* 10.2 Internal padding */
4c79b5
4c79b5
#helpfile DIV.box {PADDING: 10px}
4c79b5
4c79b5
/* 10.3 Other templates */
4c79b5
4c79b5
#punredirect DIV.block, #punmaint DIV.block {MARGIN: 50px 20% 12px 20%}