We are actively looking for staff to help us build the wiki. If you are interested please join our Discord server and apply.
MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
} | } | ||
nav.vector-menu h3 | /* Collapsible side panel sections (arrow copied from the Aether Wiki) */ | ||
#mw-panel nav.vector-menu-portal h3:before { | |||
content: ""; | |||
display: inline-block; | |||
background: 0 0; | |||
position: relative; | |||
width: 0; | |||
height: 0; | |||
border-style: solid; | |||
border-color: #AAA transparent; | |||
border-width: 6px 5px 0; | |||
margin-right: -11px; | |||
margin-bottom: 1px; | |||
} | } | ||
nav.vector-menu h3 | #mw-panel nav.vector-menu-portal.collapsed h3:before { | ||
-webkit-transform: rotate(-90deg); | |||
transform: rotate(-90deg); | |||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal { | |||
display: var(--sidebar-display, block); | |||
margin: 0.5em 8px 2px 6px; | |||
padding: 0; | |||
} | } | ||
.vector- | .vector-legacy-sidebar .vector-menu-portal .vector-menu-content { | ||
margin-left: 0; | |||
padding: 0; | |||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content-list { | |||
padding: 0.3em 0.5em; | |||
} | } |
Revision as of 19:14, 24 May 2024
/* Taken from Minecraft wiki */ /* Remove excess spacing between the sidebar and the logo */ div#mw-panel { padding-top: 0; padding-bottom: 10px; } /* Changes size of logo panel */ #p-logo, #p-logo a { height: 140px; } /* Collapsible side panel sections (arrow copied from the Aether Wiki) */ #mw-panel nav.vector-menu-portal h3:before { content: ""; display: inline-block; background: 0 0; position: relative; width: 0; height: 0; border-style: solid; border-color: #AAA transparent; border-width: 6px 5px 0; margin-right: -11px; margin-bottom: 1px; } #mw-panel nav.vector-menu-portal.collapsed h3:before { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); } .vector-legacy-sidebar .vector-menu-portal { display: var(--sidebar-display, block); margin: 0.5em 8px 2px 6px; padding: 0; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-content { margin-left: 0; padding: 0; } .vector-legacy-sidebar .vector-menu-portal .vector-menu-content-list { padding: 0.3em 0.5em; }