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 Tag: Manual revert |
No edit summary Tag: Reverted |
||
| Line 10: | Line 10: | ||
#p-logo a { | #p-logo a { | ||
height: 140px; | height: 140px; | ||
} | |||
nav.vector-menu-dropdown .vector-menu-content { | |||
transition: none; | |||
margin-left: 6px; | |||
min-width: calc(100% - 14px); /* Subtract 14px from the minimum width so that it doesn't cross the grass border */ | |||
} | |||
.vector-menu-dropdown:focus-within .vector-menu-content, | |||
.vector-menu-dropdown:hover .vector-menu-content { | |||
opacity: 1; | |||
visibility: visible; | |||
height: auto; | |||
} | |||
nav.vector-menu { | |||
margin: 0 8px 0 6px; | |||
} | |||
#p-views, | |||
#p-cactions { | |||
margin: 0; | |||
} | |||
#p-cactions { | |||
padding-right: 8px; | |||
} | } | ||
Revision as of 18:13, 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;
}
nav.vector-menu-dropdown .vector-menu-content {
transition: none;
margin-left: 6px;
min-width: calc(100% - 14px); /* Subtract 14px from the minimum width so that it doesn't cross the grass border */
}
.vector-menu-dropdown:focus-within .vector-menu-content,
.vector-menu-dropdown:hover .vector-menu-content {
opacity: 1;
visibility: visible;
height: auto;
}
nav.vector-menu {
margin: 0 8px 0 6px;
}
#p-views,
#p-cactions {
margin: 0;
}
#p-cactions {
padding-right: 8px;
}