MediaWiki:Common.css: Difference between revisions

From Fate/Starry Night Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
}
}
#p-tb .vector-menu-content {
#p-tb .vector-menu-content {
margin: 0 !important;
margin: 0 0 0 0.5em !important;
}
}
/* Category underline */
/* Category underline */

Revision as of 23:04, 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 0 0 0.5em !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;
}