MediaWiki:Common.css
Note: After saving, you have to bypass your browser's cache to see the changes. The simplest method that will work for most users is to hold down the ⇧ Shift key and click the Reload toolbar button. For details and other methods, see Help:Clear your browser cache.
/*
* This stylesheet is always loaded, regardless of which theme is selected.
*
* Theme styles should go in [[MediaWiki:Vector.css]].
*/
/* ===== Hatnote ([[Template:Hatnote]]) ===== */
.hatnote {
display: flex;
margin-bottom: 0.4em;
}
.hatnote__icon {
flex-shrink: 0;
padding-right: 0.4em;
width: 1.6em;
}
.hatnote__icon img {
width: 100%;
height: auto;
}
.hatnote__text {
font-style: italic;
}
.hatnote__text i {
font-style: normal;
}
/* ===== Message box ([[Template:Message box]]) ===== */
.c-mbox {
display: flex;
align-items: center;
column-gap: 1em;
margin: 6px 0;
border: 1px solid #383736;
border-top-width: 4px;
padding: 0.4em 1em;
min-width: min-content;
background-color: #1c1b19;
}
@media screen and (min-width: 45em) {
.c-mbox {
margin-left: 20%;
margin-right: 20%;
}
}
.c-mbox--warning {
border-color: #781c1c;
background-color: #241515;
}
.c-mbox--action {
border-color: #693a1e;
background-color: #26211f;
}
.c-mbox--content {
border-color: #664c1e;
background-color: #26231f;
}
.c-mbox--style {
border-color: #75693c;
background-color: #24231f;
}
.c-mbox--info {
border-color: #4b5e6a;
background-color: #191b1c;
}
.c-mbox--legal {
border-color: #403b2d;
background-color: #21201c;
}
.c-mbox--proposal {
border-color: #585477;
background-color: #19191c;
}
.c-mbox--lock {
border-color: #59534e;
background-color: #211f1d;
}
.c-mbox__main {
flex-grow: 1;
}
.c-mbox__title {
font-weight: bold;
}
.c-mbox__text {
font-size: 0.86em;
}
.c-mbox--full {
clear: both;
margin: 10px 0;
border-top-width: 6px;
padding-left: 2em;
padding-right: 2em;
}
.c-mbox--full .c-mbox__title {
font-size: 1.2em;
}
.c-mbox--full .c-mbox__text {
font-size: 1em;
}
/* ===== Disambiguation ([[Template:Disambiguation]]) ===== */
.dmbox {
display: flex;
align-items: center;
clear: both;
margin: 1em;
border-width: 1px 0;
border-style: solid;
border-color: #474233;
padding: 0.4em;
}
.dmbox-image {
margin-right: 0.4em;
}
/* ===== Discussion Closed ([[Template:Discussion top]], [[Template:Discussion bottom]]) ===== */
.c-dcbox {
margin: 6px 0;
border: 1px solid #2c2b2b;
border-radius: 4px;
padding: 6px 1em;
background-color: #141414;
}
.c-dcbox--resolved {
border-color: #678236;
background-color: #1b1c19;
}
.c-dcbox--moved {
border-color: #585477;
background-color: #151517;
}
.c-dcbox__header {
margin-bottom: 12px;
border-bottom: 1px solid #383736;
padding-bottom: 4px;
}
.c-dcbox__status {
font-size: 1.1em;
font-weight: bold;
text-transform: uppercase;
}
.c-dcbox__reminder {
font-size: 0.9em;
font-style: italic;
color: #5e4f45;
}
/* ===== Blockquote ([[Template:Blockquote top]]) ===== */
.bqbox {
margin: 6px 1em;
border: 1px solid #293137;
border-radius: 4px;
padding: 6px 1em;
background-color: #141517;
}
/* ===== Documentation ([[Template:Documentation]]) ===== */
.template-documentation {
clear: both;
margin: 14px 0 0;
border: 1px solid #383736;
padding: 1em;
background-color: #1c1b19;
}
.template-documentation__start {
margin-bottom: 0.9em;
border-bottom: 1px solid #383736;
padding-bottom: 3px;
}
.template-documentation__heading {
font-size: 1.5em;
font-weight: bold;
}
.template-documentation__end {
margin: 7px 0;
border: 1px solid #383736;
padding: 1em;
font-style: italic;
background-color: #1c1b19;
}
.template-documentation__toolbar {
font-size: 0.8em;
font-style: normal;
}
/* ===== Math block ([[Template:Math]]) ===== */
.c-math-block {
display: flex;
align-items: center;
white-space: nowrap;
}
.c-math-block__formula {
flex: 1 0 auto;
}
.c-math-block__formula .mwe-math-fallback-image-display {
margin-left: 0 !important;
margin-right: 0 !important;
}
.c-math-block__ref {
flex: 0 1 auto;
font-weight: bold;
}
/* ===== Keyboard key ([[Template:Key press]]) ===== */
.keyboard-key {
display: inline-block;
position: relative;
top: -3px;
border-radius: 4px;
padding: 0 5px;
font-family: var(--monospace-font);
font-size: 12px;
line-height: 16px;
font-weight: normal;
color: #fff;
white-space: nowrap;
background-color: #4f4d4a;
box-shadow: 0 3px #2f2e2c;
}