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: | background-color: black; | ||
border: 1px dashed # | border: 1px dashed #999; | ||
color: | color: white; | ||
line-height: 1.1em; | line-height: 1.1em; | ||
} | } | ||
Revision as of 00:45, 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: black;
border: 1px dashed #999;
color: white;
line-height: 1.1em;
}
