MediaWiki:Gadget-site.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
background-color: #f9f9f9;
background-color: #f9f9f9;
padding: 0px 5px 5px 20px;
padding: 0px 5px 5px 20px;
border: 1px dashed #00F;
border: 1px dashed #0FF;
font-family: monospace;
font-family: monospace;
font-size: 12.7px;
font-size: 12.7px;

Revision as of 22:54, 5 January 2011

/* CSS placed here will be applied to all skins */

pre {
	overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
        overflow-y: hidden; /* overflow-x above messes up Chrome, this is the fix. Sigh */ 
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */ /*
	width: 99%; */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

p.pre {
	color: #000;
	background-color: #f9f9f9;
	padding: 0px 5px 5px 20px;
	border: 1px dashed #0FF;
	font-family: monospace;
	font-size: 12.7px;
	line-height: 13.97px;
	vertical-align: baseline;
        white-space: pre; }

.pageBreak { page-break-before: always; }