MediaWiki:Common.css: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
CSS-Test
 
More CSS magic
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* CSS placed here will be applied to all skins
/* Terminal-style output */


.code_blue {
.terminalthumb {
color: Lime;
    float: right;
background: black;
    clear: right;
font-weight: normal;
    margin: 0 0 1em 1em;
font-style: normal;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    padding: 3px;
    width: fit-content;
    max-width: 100%;
}
}


/* Kuck mal hier: https://www.wurst-wasser.net/wiki/index.php/Sandbox#Terminal-Sandbox */
.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;
}


pre {
.terminalcaption {
color: Lime;
    padding: 0.3em 0.1em 0;
background: black;
    font-size: 88%;
font-weight: normal;
    color: #202122;
font-style: normal;
width: 640px;
padding: 10px;
border: 4px solid lightgray;
}
}

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;
}