MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: .infobox { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.2em; border: 1px solid #a2a9b1; background-color: #f8f9fa; font-size: 88%; line-height: 1.4em; width: 22em; } .infobox th { background-color: #eaecf0; text-align: left; padding: 0.2em 0.4em; vertical-align: top; } .infobox td { padding: 0.2em 0.4em; vertical-align: top; } .infobox caption, .infobox-title { font-weigh..." |
No edit summary |
||
| (11 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 */ | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Line 29: | Line 31: | ||
text-align: center; | text-align: center; | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
} | |||
.infobox.guest-infobox th { | |||
background-color: #eaf3ff; | |||
} | |||
.site-disclaimer { | |||
display: block; | |||
width: 100%; | |||
clear: both; | |||
text-align: center; | |||
font-size: 0.85em; | |||
color: #54595d; | |||
margin-top: 0.75em; | |||
line-height: 1.4; | |||
border-top: 1px solid #c8ccd1; | |||
padding-top: 0.5em; | |||
} | |||
/* Makes the reference list slightly smaller */ | |||
.references { | |||
font-size: 90%; | |||
} | |||
/* Optional: Gives the backlink caret a bit of breathing room */ | |||
.mw-cite-backlink { | |||
padding-right: 4px; | |||
} | |||
/* Force the backlink arrow to disappear and be replaced by a caret */ | |||
.mw-cite-backlink { | |||
font-size: 0 !important; /* Hides the arrow */ | |||
} | |||
.mw-cite-backlink a::before { | |||
content: "^" !important; | |||
font-size: 13px !important; /* Adjust size to match your text */ | |||
visibility: visible !important; | |||
font-family: sans-serif !important; | |||
} | } | ||
Latest revision as of 23:10, 7 January 2026
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
clear: right;
margin: 0 0 1em 1em;
padding: 0.2em;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
font-size: 88%;
line-height: 1.4em;
width: 22em;
}
.infobox th {
background-color: #eaecf0;
text-align: left;
padding: 0.2em 0.4em;
vertical-align: top;
}
.infobox td {
padding: 0.2em 0.4em;
vertical-align: top;
}
.infobox caption,
.infobox-title {
font-weight: bold;
text-align: center;
background-color: #eaecf0;
}
.infobox.guest-infobox th {
background-color: #eaf3ff;
}
.site-disclaimer {
display: block;
width: 100%;
clear: both;
text-align: center;
font-size: 0.85em;
color: #54595d;
margin-top: 0.75em;
line-height: 1.4;
border-top: 1px solid #c8ccd1;
padding-top: 0.5em;
}
/* Makes the reference list slightly smaller */
.references {
font-size: 90%;
}
/* Optional: Gives the backlink caret a bit of breathing room */
.mw-cite-backlink {
padding-right: 4px;
}
/* Force the backlink arrow to disappear and be replaced by a caret */
.mw-cite-backlink {
font-size: 0 !important; /* Hides the arrow */
}
.mw-cite-backlink a::before {
content: "^" !important;
font-size: 13px !important; /* Adjust size to match your text */
visibility: visible !important;
font-family: sans-serif !important;
}