MediaWiki:Common.css: Difference between revisions
From MediaWiki
Jump to navigationJump to search
(New page: →* CSS placed here will be applied to all skins: →Classes for rendering computer screen output.: .screen { background-color: black; color: green; line-height: 100%; border...) |
No edit summary |
||
(51 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins | ||
<noinclude>[[Category:CSS]]</noinclude> | |||
*/ | |||
/* Classes for rendering computer screen output. */ | /* Classes for rendering computer screen output. */ | ||
/* body { font-size: 90%; } */ | |||
pre { | |||
font-size: 10pt; | |||
} | |||
.screen { | .screen { | ||
font-size: 10pt; | |||
font-family: Consolas, monospace; | |||
background-color: black; | background-color: black; | ||
color: | color: #33FF33; | ||
line-height: | line-height: 1.2em; | ||
border-style: solid; | border-style: solid; | ||
border-color: # | border-width: 4px; | ||
border-color: #a9a9a9; | |||
padding-top: 2px; | |||
padding-bottom: 2px; | |||
padding-left: 0px; | |||
padding-right: 0px; | |||
} | } | ||
.screenTitle { | .screenTitle { | ||
background-color: | background-color: #6fbad2; | ||
color: | color: black; | ||
padding: | font-weight: bold; | ||
font-size: 105%; | |||
padding: 0.5%; | |||
margin-bottom: 1%; | |||
} | } | ||
Line 20: | Line 40: | ||
font-size: 100%; | font-size: 100%; | ||
font-family: monospace; | font-family: monospace; | ||
font-weight: normal; | |||
color: yellow; | color: yellow; | ||
background-color: black; | background-color: black; | ||
padding: 0px; | padding-top: 0px; | ||
padding-bottom: 0px; | |||
padding-left: 0.5%; | |||
padding-right: 0px; | |||
margin: 0px; | margin: 0px; | ||
border-style: none; | border-style: none; | ||
Line 28: | Line 52: | ||
.prompt { | .prompt { | ||
color: # | font-weight: normal; | ||
color: #33FF33; | |||
background-color: black; | background-color: black; | ||
padding: 0px; | |||
} | } | ||
Line 35: | Line 61: | ||
white-space: pre; | white-space: pre; | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding-top: 0px; | ||
padding-bottom: 0px; | |||
padding-left: 0.5%; | |||
padding-right: 0px; | |||
font-size: 100%; | font-size: 100%; | ||
line-height: | line-height: 1.2em; | ||
color: | color: #33FF33; | ||
background-color: black; | background-color: black; | ||
border-style: none; | 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%; | |||
} | } |
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%;
}