MediaWiki:Common.css: Difference between revisions
From Dragon Realm Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* Hack to make pre tags wrap */ | /* Hack to make pre tags wrap */ | ||
pre { | pre { | ||
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ | overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ | ||
white-space: pre-wrap; /* css-3 */ | white-space: pre-wrap; /* css-3 */ | ||
| Line 15: | Line 14: | ||
/* Terminal-styled pre tags */ | /* Terminal-styled pre tags */ | ||
.terminal{ | .terminal{ | ||
background-color: black; | background-color: black; | ||
color: white; | |||
color: white | |||
} | } | ||
Revision as of 00:46, 17 June 2011
/* CSS placed here will be applied to all skins */
/* Hack to make pre tags wrap */
pre {
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: black;
color: white;
}
