MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 128: | Line 128: | ||
} | } | ||
.infobox th { | .infobox th { | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: | text-align: center; | ||
} | } | ||
Revision as of 19:43, 6 October 2026
/* CSS placed here will be applied to all skins */
/*****************************************
**** START Navbox ******
----------------------------------------*/
.navbox {
border: 1px solid #aaa;
width: 100%;
margin: 1em 0;
padding: 0;
border-spacing: 0;
background: #fdfdfd;
font-size: 88%;
}
.navbox-title {
background: #ccf;
padding: 0;
font-size: 110%;
font-weight: bold;
text-align: center;
vertical-align: middle;
line-height: 1.6;
}
.navbox-title p {
margin: 0.5em 1em;
}
.navbox-label {
background: #ddf;
padding: 0.25em 0.75em;
text-align: right;
font-weight: bold;
width: 15%;
vertical-align: top;
}
.navbox-list {
padding: 0.25em 0.75em;
text-align: left;
}
.navbox a {
text-decoration: none;
}
.navbox a:hover {
text-decoration: underline;
}
.navbox tr:nth-of-type(even) {
background: #f7f7f7;
}
/*----------------------------------------
******* END Navbox ********
*****************************************/
/*****************************************
**** START User Tools ******
----------------------------------------*/
#vector-appearance-dropdown-label::after {
content: "Appearance";
margin-left: 6px;
}
#vector-appearance-dropdown-label {
width: auto !important;
min-width: auto !important;
padding: 6px 10px !important;
border: 1px solid #a2a9b1 !important;
border-radius: 4px !important;
display: flex !important;
align-items: center !important;
gap: 6px;
box-sizing: border-box;
}
#vector-appearance-dropdown-label {
background-color: #f8f9fa !important;
}
/*----------------------------------------
******* END User Tools ********
*****************************************/
/*****************************************
**** START wiki tables ******
----------------------------------------*/
/* General wiki tables */
.wikitable {
border: 1px solid #a2a9b1;
border-collapse: collapse;
margin: 1em 0;
}
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
padding: 0.5em 0.75em;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
font-weight: 600;
text-align: center;
border-bottom: 2px solid #a2a9b1;
}
/* Infobox */
.infobox {
float: right;
clear: right;
width: 22em;
margin: 0 0 1em 1.5em;
border: 1px solid #a2a9b1;
border-collapse: collapse;
background-color: #f8f9fa;
}
.infobox th {
background-color: #eaecf0;
font-weight: bold;
text-align: center;
}
/*----------------------------------------
******* END wiki tables ********
*****************************************/
/*****************************************
**** START pinned menus ******
----------------------------------------*/
/* temp commented out
.vector-main-menu-container,
.vector-sticky-pinned-container:has(.vector-pinnable-element) {
border: 1px solid #a2a9b1;
padding: 0.5em;
}
*/
/*----------------------------------------
******* END pinned menus********
*****************************************/