MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (38 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 */ | ||
/***************************************** | |||
**** START Navbox ****** | |||
----------------------------------------*/ | |||
.navbox { | .navbox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| Line 12: | Line 17: | ||
.navbox-title { | .navbox-title { | ||
background: #ccf; | background: #ccf; | ||
padding: 0 | padding: 0; | ||
font-size: 110%; | font-size: 110%; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
vertical-align: middle; | vertical-align: middle; | ||
line-height: 1. | line-height: 1.6; | ||
} | |||
.navbox-title p { | |||
margin: 0.5em 1em; | |||
} | } | ||
| Line 41: | Line 50: | ||
text-decoration: underline; | 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; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
padding: 0.6em 0.9em; | |||
} | |||
/*---------------------------------------- | |||
******* 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******** | |||
*****************************************/ | |||
Latest revision as of 19:46, 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;
}
.infobox th,
.infobox td {
padding: 0.6em 0.9em;
}
/*----------------------------------------
******* 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********
*****************************************/