MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
KaetramAdmin (talk | contribs) No edit summary Tag: Reverted |
KaetramAdmin (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
#mw-panel { | #mw-panel { | ||
position: relative; | 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; | |||
} | } | ||
Revision as of 22:08, 5 January 2026
#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;
}