MediaWiki:Vector.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
#mw-panel {
position: relative;
}
#mw-panel .mw-portlet {
margin-top: calc(var(--layout-logo-height) + var(--layout-box-gap-y));
}
#p-logo {
position: absolute;
left: 0;
top: var(--layout-box-gap-y);
width: 100%;
height: var(--layout-logo-height);
background: var(--theme-site-logo-image)
center / var(--layout-logo-width) auto no-repeat;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
filter: var(--theme-site-logo-filter);
}
#p-logo .mw-wiki-logo {
width: var(--layout-logo-width);
height: var(--layout-logo-height);
background: none;
}