MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
/* Category underline */ | /* Category underline */ | ||
.vector-menu-heading { | .vector-menu-heading { | ||
padding: 0. | padding: 0.2em 0 !important; | ||
border-bottom: 1px solid rgba(0, 0, 0, 0.35); | |||
border-bottom: 1px solid rgba( | |||
} | } | ||
/* Category arrow - default */ | /* Category arrow - default */ | ||
| Line 39: | Line 35: | ||
} | } | ||
/* Tighter spacing */ | /* Tighter spacing */ | ||
.vector-menu-content { | |||
padding-left: 0; | padding-left: 0; | ||
margin-left: 0; | margin-left: 0; | ||
Revision as of 22:58, 6 February 2026
/* CSS placed here will be applied to all skins */
/*
Logo
*/
#p-logo a { background-size: cover; }
.mw-wiki-logo { margin-top: 10px; }
/*
Sidebar
*/
/* Remove defaults */
.vector-menu-heading {
background-image: none !important;
padding: none !important;
}
.vector-menu-content {
margin: none !important;
}
/* Category underline */
.vector-menu-heading {
padding: 0.2em 0 !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
/* Category arrow - default */
.collapsiblevector .vector-menu-heading::after {
content: "▾";
margin-left: auto;
opacity: 0.6;
transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Category arrow - rotate when collapsed */
.collapsiblevector.collapsed .vector-menu-heading::after {
transform: rotate(-90deg);
opacity: 0.4;
}
/* Tighter spacing */
.vector-menu-content {
padding-left: 0;
margin-left: 0;
}
/* Hover effect */
.collapsiblevector .vector-menu-heading:hover::after {
opacity: 0.85;
}