MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
padding: none !important; | padding: none !important; | ||
} | } | ||
# | #p-tb .vector-menu-content { | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
Revision as of 23:03, 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;
}
#p-tb .vector-menu-content {
margin: 0 !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;
}