MediaWiki:Common.css
From MediaWiki
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** CSS placed here will be applied to all skins
<noinclude>[[Category:CSS]]</noinclude>
*/
/* Classes for rendering computer screen output. */
body { font-size: 9pt; }
pre {
font-size: 9pt;
}
.screen {
font-size: 10pt;
font-family: Consolas, monospace;
background-color: black;
color: #33FF33;
line-height: 1.2em;
border-style: solid;
border-width: 4px;
border-color: #a9a9a9;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 0px;
padding-right: 0px;
}
.screenTitle {
background-color: #6fbad2;
color: black;
font-weight: bold;
font-size: 105%;
padding: 0.5%;
margin-bottom: 1%;
}
.userInput {
font-size: 100%;
font-family: monospace;
font-weight: normal;
color: yellow;
background-color: black;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0.5%;
padding-right: 0px;
margin: 0px;
border-style: none;
}
.prompt {
font-weight: normal;
color: #33FF33;
background-color: black;
padding: 0px;
}
.computerOutput {
white-space: pre;
margin: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0.5%;
padding-right: 0px;
font-size: 100%;
line-height: 1.2em;
color: #33FF33;
background-color: black;
border-style: none;
}
/* For program listings. */
.programListing {
white-space: pre;
color: black;
background-color: transparent;
background-image: url(../skins/nst/images/computer_paper.png);
font-family: monospace;
font-size: 10pt;
text-align: left;
border-style: solid;
border-color: #a9a9a9;
margin-top: 1em;
border-top-width: 4px;
padding-top: 1%;
height: auto;
padding-bottom: 1%;
border-bottom-width: 4px;
margin-bottom: 1em;
margin-left: 0.5%;
border-left-width: 4px;
padding-left: 1%;
width: auto;
padding-right: 1%;
border-right-width: 4px;
margin-right: 0.5%;
}
.wikiNote {
font-size: 100%;
font-family: monospace;
font-weight: normal;
color: black;
background-color: #6fbad2;
line-height: 1.2em;
border-style: solid;
border-width: 4px;
border-color: #a9a9a9;
padding: 1%;
}
.centerBlock {
text-align: center;
width: 100%;
}
.noWrap {
white-space: nowrap;
}
.noteMessage {
color: black;
background-color: #6fbad2;
width: 96%;
text-align: left;
border-style: solid;
border-color: #a9a9a9;
border-width: 4px;
margin-top: 6px;
margin-bottom: 6px;
margin-left: auto;
margin-right: auto;
padding: 1%;
}