User:Ultim 0/global.css

.fandom-sticky-header { top: 9px; left: 0; } .global-navigation { bottom: unset; display: flex; flex-direction: row; justify-content: space-between; left: 0; padding: 0 18px; position: fixed; top: 0; width: 100%; height: 55px; z-index: 700; } .global-navigation__top { align-items: center; display: flex; flex-direction: row; } .global-navigation__bottom, .global-navigation__nav, .global-navigation__top { align-items: center; display: flex; flex-direction: row; } .global-navigation__search { margin-top: 0; margin-right: 9px; margin-left: 21px; text-align: center; width: 36px; height: 36px; } .global-navigation__links { display: inline-flex; align-items: center; } .global-navigation__links .global-navigation__link, .global-navigation__links .global-navigation__link:first-child { align-items: center; display: flex; flex-direction: column; margin-top: 0; padding: 2px 12px; width: auto; } .global-navigation__link-icon { align-items: center; height: 28px; justify-items: center; margin: 0; transition: background-color .3s; width: 28px; } .global-navigation__link.wds-dropdown.wds-open-to-right:after { bottom: -9px; top: unset; left: calc(50% - 9px); border-right-color: transparent; border-bottom-color: var(--wds-dropdown-background-color); } .global-navigation__link.wds-dropdown.wds-open-to-right .wds-dropdown__content { left: unset; top: 100%; bottom: unset; } .global-navigation__bottom { top: 0; right: 0; bottom: unset; padding: 0; position: fixed; height: 55px; z-index: 700; } .global-navigation .notifications { margin-bottom: 0; } .global-navigation__bottom .wds-dropdown { margin-left: 0; height: 55px; padding: 9px 0; } .global-navigation__bottom .wds-dropdown.wds-open-to-right:before { border-right-color: transparent; border-bottom-color: var(--wds-dropdown-border-color); right: calc(50% - 3px); top: 36px; transform: none; } .global-navigation__bottom .wds-dropdown.wds-open-to-right:after { border-right-color: transparent; border-bottom-color: var(--wds-dropdown-background-color); right: calc(50% - 2px); top: 39px; transform: none; } .global-navigation__bottom .wds-dropdown.is-attached-to-bottom .wds-dropdown__content { position: fixed; top: 54px; right: 1px; bottom: unset; left: unset; border-radius: 3px; } .global-navigation__bottom .wds-dropdown.is-attached-to-bottom .wds-dropdown__content ul.wds-list { display: flex; flex-direction: column-reverse; align-items: self-start; background: none; } .global-navigation__bottom .wds-dropdown.is-attached-to-bottom .wds-dropdown__content ul.wds-list li { width: -webkit-fill-available; } .global-navigation .notifications .wds-dropdown.is-attached-to-bottom .wds-dropdown__content, .fandom-sticky-header.is-visible + .global-navigation .notifications .wds-dropdown.is-attached-to-bottom .wds-dropdown__content { position: fixed; top: 55px !important; height: calc(100% - 55px); } .main-container { margin-top: 55px; margin-left: 0; width: 100%; } .search-modal, .search-modal:before { bottom: 0; left: 0; position: fixed; right: 0; top: 55px; }