MediaWiki:Monobook.css: Difference between revisions
From XionKB
Jump to navigationJump to search
(add cell backgrounds) |
(qualify the cell colour backgrounds) |
||
Line 112: | Line 112: | ||
} | } | ||
.cell-red { | .wikitable > tr > th.center, .wikitable > tr > td.center, .wikitable > * > tr > th.center, .wikitable > * > tr > td.center { | ||
text-align: center; | |||
} | |||
.wikitable > tr > td.cell-red, .wikitable > * > tr > td.cell-red { | |||
background-color: rgb(184, 59, 51); | background-color: rgb(184, 59, 51); | ||
background-color: rgba(184, 59, 51, 0.5); | background-color: rgba(184, 59, 51, 0.5); | ||
} | } | ||
.cell-orange { | .wikitable > tr > td.cell-orange, .wikitable > * > tr > td.cell-orange { | ||
background-color: rgb(210, 94, 24); | background-color: rgb(210, 94, 24); | ||
background-color: rgba(210, 94, 24, 0.5); | background-color: rgba(210, 94, 24, 0.5); | ||
} | } | ||
.cell-yellow { | .wikitable > tr > td.cell-yellow, .wikitable > * > tr > td.cell-yellow { | ||
background-color: rgb(224, 169, 45); | background-color: rgb(224, 169, 45); | ||
background-color: rgba(224, 169, 45, 0.5); | background-color: rgba(224, 169, 45, 0.5); | ||
} | } | ||
.cell-puse { | .wikitable > tr > td.cell-puse, .wikitable > * > tr > td.cell-puse { | ||
background-color: rgb(169, 205, 58); | background-color: rgb(169, 205, 58); | ||
background-color: rgba(169, 205, 58, 0.5); | background-color: rgba(169, 205, 58, 0.5); | ||
} | } | ||
.cell-green { | .wikitable > tr > td.cell-green, .wikitable > * > tr > td.cell-green { | ||
background-color: rgb(62, 182, 51); | background-color: rgb(62, 182, 51); | ||
background-color: rgba(62, 182, 51, 0.5); | background-color: rgba(62, 182, 51, 0.5); | ||
} | } | ||
.cell-cyan { | .wikitable > tr > td.cell-cyan, .wikitable > * > tr > td.cell-cyan { | ||
background-color: rgb(41, 217, 201); | background-color: rgb(41, 217, 201); | ||
background-color: rgba(41, 217, 201, 0.5); | background-color: rgba(41, 217, 201, 0.5); | ||
} | } | ||
.cell-blue { | .wikitable > tr > td.cell-blue, .wikitable > * > tr > td.cell-blue { | ||
background-color: rgb(58, 118, 208); | background-color: rgb(58, 118, 208); | ||
background-color: rgba(58, 118, 208, 0.5); | background-color: rgba(58, 118, 208, 0.5); | ||
} | } | ||
.cell-violet { | .wikitable > tr > td.cell-violet, .wikitable > * > tr > td.cell-violet { | ||
background-color: rgb(164, 53, 221); | background-color: rgb(164, 53, 221); | ||
background-color: rgba(164, 53, 221, 0.5); | background-color: rgba(164, 53, 221, 0.5); | ||
} | } | ||
.cell-magenta { | .wikitable > tr > td.cell-magenta, .wikitable > * > tr > td.cell-magenta { | ||
background-color: rgb(212, 37, 137); | background-color: rgb(212, 37, 137); | ||
background-color: rgba(212, 37, 137, 0.5); | background-color: rgba(212, 37, 137, 0.5); |
Revision as of 17:24, 28 March 2023
/* All CSS here will be loaded for users of the MonoBook skin */ body { background-image: url('https://cdn2.arqadium.com/f/0685726afd3749fd8f025dcacaee5395/unknown.jpg'); background-position: center; background-repeat: repeat; background-attachment: fixed; } h1, h2, h3, h4, h5, h6 { border-color: rgb(170, 170, 170); border-color: rgba(170, 170, 170, 0.667); } #p-cactions li { border: 1px solid rgb(170, 170, 170); border: 1px solid rgba(170, 170, 170, 0.667); background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); border-top-left-radius: 0.35rem; border-top-right-radius: 0.35rem; } #p-cactions li.selected a, #p-cactions li a { background-color: transparent !important; } #p-cactions li a { background-color: transparent !important; } #p-cactions li.selected { border-color: rgb(250, 189, 35); border-color: rgba(250, 189, 35, 0.667); background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); } #p-cactions li a:hover { background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); } .mw-body { background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); border-color: rgb(170, 170, 170); border-color: rgba(170, 170, 170, 0.667); border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; border-right: none; } .pBody { background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); border-color: rgb(170, 170, 170); border-color: rgba(170, 170, 170, 0.667); border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; border-left: none; } body:not(.skin--responsive) .pBody { border-left: none; } #footer { background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.667); border-color: rgb(250, 189, 25); border-color: rgba(250, 189, 25, 0.667); } pre, .mw-code, code { background-color: rgb(248, 249, 250); background-color: rgba(248, 249, 250, 0.5); border-color: rgb(170, 170, 170); border-color: rgba(170, 170, 170, 0.5); } pre, .mw-code { border-radius: 0.75rem; } code { border-radius: 0.2rem; } code.example { background-color: rgb(248, 249, 250); background-color: rgba(248, 249, 250, 0.5); border-color: rgb(170, 170, 170); border-color: rgba(170, 170, 170, 0.5); border-radius: 0.2rem; } .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { background-color: transparent; border-color: rgb(162, 169, 177); border-color: rgba(162, 169, 177, 0.5); } .wikitable { background-color: rgb(248, 249, 250); background-color: rgba(248, 249, 250, 0.5); } .wikitable, .wikitable > tbody, .wikitable > tbody > tr { border-color: rgb(162, 169, 177); border-color: rgba(162, 169, 177, 0.5); } .wikitable > tr > th.center, .wikitable > tr > td.center, .wikitable > * > tr > th.center, .wikitable > * > tr > td.center { text-align: center; } .wikitable > tr > td.cell-red, .wikitable > * > tr > td.cell-red { background-color: rgb(184, 59, 51); background-color: rgba(184, 59, 51, 0.5); } .wikitable > tr > td.cell-orange, .wikitable > * > tr > td.cell-orange { background-color: rgb(210, 94, 24); background-color: rgba(210, 94, 24, 0.5); } .wikitable > tr > td.cell-yellow, .wikitable > * > tr > td.cell-yellow { background-color: rgb(224, 169, 45); background-color: rgba(224, 169, 45, 0.5); } .wikitable > tr > td.cell-puse, .wikitable > * > tr > td.cell-puse { background-color: rgb(169, 205, 58); background-color: rgba(169, 205, 58, 0.5); } .wikitable > tr > td.cell-green, .wikitable > * > tr > td.cell-green { background-color: rgb(62, 182, 51); background-color: rgba(62, 182, 51, 0.5); } .wikitable > tr > td.cell-cyan, .wikitable > * > tr > td.cell-cyan { background-color: rgb(41, 217, 201); background-color: rgba(41, 217, 201, 0.5); } .wikitable > tr > td.cell-blue, .wikitable > * > tr > td.cell-blue { background-color: rgb(58, 118, 208); background-color: rgba(58, 118, 208, 0.5); } .wikitable > tr > td.cell-violet, .wikitable > * > tr > td.cell-violet { background-color: rgb(164, 53, 221); background-color: rgba(164, 53, 221, 0.5); } .wikitable > tr > td.cell-magenta, .wikitable > * > tr > td.cell-magenta { background-color: rgb(212, 37, 137); background-color: rgba(212, 37, 137, 0.5); } .mw-highlight { background-color: transparent; }