User:湖远星/global.css

@import "https://community.fandom.com/load.php?mode=articles&articles=u:dev:MediaWiki:HydraRevived/main.css|u:dev:MediaWiki:HydraRevived/preload.css&only=styles"; /* Collapse left bar start .global-navigation { transform: translateX(-65px); transition: transform .2s; z-index: 600; } .global-navigation:hover { transform: none; } .global-navigation:after { content: ""; display: block; position: absolute; top: 0; left: 65px; width: 30px; height: 100%; transition: 0s .2s; } .global-navigation:hover:after { width: 0; }

.global-navigation + .main-container { margin-left: 0; width: 100%; }

/* Sth wrong .global-navigation:hover + .main-container { margin-left: 66px; width: calc(100% - 66px); }

/* .global-navigation + .main-container .fandom-community-header__background { left: 0; } .main-container { transition: transform .2s; } .fandom-sticky-header { left: 0; padding-left: 78px; } .search-modal { left: 0; z-index: 400; } .search-modal:before { left: 0; z-index: 0; } Collapse left bar end */