MediaWiki:Geshi.css
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
pre, .mw-code {
color: black !important;
background-color: #f9f9f9 !important;
border: 1px solid #ddd !important;
padding: 1em !important;
white-space: pre-wrap !important;
margin-top: 1em !important;
margin-right: 0px !important;
margin-bottom: 1em !important;
margin-left: 0px !important;
}
/* Gehsi div classes */
div.mw-geshi {
margin: 1em 0;
border: 1px solid #7777FF;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #DDDDFF;
font-size: 1.1em;
}
div.mw-geshi-error {
margin: 1em 0;
border: 1px solid #FF7777;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #FFDDDD;
font-size: 1.1em;
}
div.mw-geshi-valid {
margin: 1em 0;
border: 1px solid #77FF77;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #DDFFDD;
font-size: 1.1em;
}
.mw-highlight pre {
font-size: 80%;
}