User:湖远星/global.css

.global-navigation { transform: translateX(-65px); transition: transform .1s; } .global-navigation:hover { transform: none; } .global-navigation:after { content: ""; display: block; position: absolute; top: 0; left: 65px; width: 30px; height: 100%; } .global-navigation:hover:after { width: 0; } .global-navigation + .main-container { margin-left: 0; width: 100%; } .global-navigation:hover + .main-container { margin-left: 66px; width: calc(100% - 66px); } .search-modal { left: 0; z-index: 400; } .search-modal:before { left: 0; z-index: 0; } .global-navigation + .main-container .fandom-community-header__background { left: 0; }