User:Bebiezaza/common.css

/* -- change font to MediaWiki original -- */ body { font-family: sans-serif !important; }

.page-content { font-size: 14px !important; }

/* -- move Fandom left navbar to the top -- */ .global-navigation { position: static; width: auto; display: block; overflow: hidden; }

.global-navigation__top { float: left; } .global-navigation__bottom { float: right; }

.global-navigation__top, .global-navigation__bottom, .global-navigation__nav, .global-navigation__links { display: flex; width: max-content; }

.global-navigation__link { margin-left: 13px; }

/* fit Fandom logo into the space it has */ .global-navigation__logo .wds-icon { height: 34px; }

/* move user menu dropdown to the appropriate spot */ .global-navigation .wds-dropdown.is-attached-to-bottom .wds-dropdown__content { position: fixed; top: inherit; bottom: auto; left: auto; right: 0; }

/* -- expand stuffs to fit the whole page, taking up topnav space -- */ .main-container { margin-left: 0; /* 11em for mw-panel */ padding: 1.25em 1.5em 1.5em 1.5em; width: 100%; /* calc(100% - 11em) for mw-panel */ }

.search-modal:before, .fandom-sticky-header { left: 0; }