MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
80x24 |
More CSS magic |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
/* Terminal-style output */ | /* Terminal-style output */ | ||
. | .terminalthumb { | ||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
padding: 3px; | |||
width: fit-content; | |||
max-width: 100%; | |||
} | |||
.terminalscreen { | |||
background: #000; | background: #000; | ||
border: 1px solid #444; | |||
color: #00ff00; | color: #00ff00; | ||
font-family: monospace; | font-family: monospace; | ||
min-height: 24em; | min-height: 24em; | ||
overflow: auto; | overflow: auto; | ||
padding: 1em; | padding: 1em; | ||
white-space: pre; | |||
width: 80ch; | |||
} | |||
.terminalthumb-right { | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
} | } | ||
. | .terminalthumb-left { | ||
float: left; | |||
margin: 0 1em 1em 0; | |||
} | } | ||
. | .terminalthumb-center { | ||
float: none; | |||
margin: 1em auto; | |||
} | } | ||
. | .terminalcaption { | ||
color: # | padding: 0.3em 0.1em 0; | ||
font-size: 88%; | |||
color: #202122; | |||
} | } | ||
Latest revision as of 22:23, 5 June 2026
/* CSS placed here will be applied to all skins */
/* Terminal-style output */
.terminalthumb {
float: right;
clear: right;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 3px;
width: fit-content;
max-width: 100%;
}
.terminalscreen {
background: #000;
border: 1px solid #444;
color: #00ff00;
font-family: monospace;
min-height: 24em;
overflow: auto;
padding: 1em;
white-space: pre;
width: 80ch;
}
.terminalthumb-right {
float: right;
margin: 0 0 1em 1em;
}
.terminalthumb-left {
float: left;
margin: 0 1em 1em 0;
}
.terminalthumb-center {
float: none;
margin: 1em auto;
}
.terminalcaption {
padding: 0.3em 0.1em 0;
font-size: 88%;
color: #202122;
}