MediaWiki:Common.css: Difference between revisions
From MediaWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
/* Classes for rendering computer screen output. */ | /* Classes for rendering computer screen output. */ | ||
/* body { font-size: 90%; } */ | |||
pre { | pre { | ||
Line 20: | Line 22: | ||
border-width: 4px; | border-width: 4px; | ||
border-color: #a9a9a9; | border-color: #a9a9a9; | ||
padding-top: | padding-top: 2px; | ||
padding-bottom: | padding-bottom: 2px; | ||
padding-left: 0px; | padding-left: 0px; | ||
padding-right: 0px; | padding-right: 0px; | ||
Line 114: | Line 116: | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%; | ||
} | |||
.noWrap { | |||
white-space: nowrap; | |||
} | } | ||
.noteMessage { | .noteMessage { | ||
color: black; | color: black; | ||
background-color: #6fbad2; | background-color: #6fbad2; |
Latest revision as of 14:39, 5 July 2024
/** CSS placed here will be applied to all skins
<noinclude>[[Category:CSS]]</noinclude>
*/
/* Classes for rendering computer screen output. */
/* body { font-size: 90%; } */
pre {
font-size: 10pt;
}
.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%;
}