MediaWiki:Common.css: Difference between revisions

From Dragon Realm Wiki
No edit summary
No edit summary
Line 15: Line 15:
/* Terminal-styled pre tags */
/* Terminal-styled pre tags */
.terminal{
.terminal{
background-color:black !important;
background-color: #F9F9F9;
color:white !important;
border: 1px dashed #2F6FAB;
color: black;
font-family: "Courier New", Courier, mono;
font-size: 12px;
font-style: italic;
line-height: 1.1em;
padding: 1em;
margin: 0 0 0.8em;  
}
}

Revision as of 00:41, 17 June 2011

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

/* Hack to make pre tags wrap */
pre {
 width:500px;
 overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
 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+ */
}

/* Terminal-styled pre tags */
.terminal{
background-color: #F9F9F9;
border: 1px dashed #2F6FAB;
color: black;
font-family: "Courier New", Courier, mono;
font-size: 12px;
font-style: italic;
line-height: 1.1em;
padding: 1em;
margin: 0 0 0.8em; 
}