MediaWiki:ReplaceWordmark.css

/* ReplaceWordmark stylesheet */ .skin-oasis .wds-community-header__wordmark img, .skin-oasis.editor .EditPageHeader > .wordmark img, .ChatWindow #ChatHeader .wordmark img, .ChatWindow #Rail .public .wordmark { background-image: var(--replace-wordmark-img); background-repeat: no-repeat; background-position: top left; box-sizing: border-box; } .skin-oasis .wds-community-header__wordmark img { padding-top: var(--replace-wordmark-wordmark-y); height: var(--replace-wordmark-wordmark-y); width: var(--replace-wordmark-wordmark-x); } @media only screen and (max-width: 1083px) { .skin-oasis .wds-community-header__wordmark img { background-size: calc(0.75*var(--replace-wordmark-x)) calc(0.75*var(--community-header-wordmark-y)); height: calc(0.75*var(--replace-wordmark-wordmark-y)); padding-top: calc(0.75*var(--replace-wordmark-y)); width: calc(0.75*var(--replace-wordmark-x)); } } .skin-oasis.editor .EditPageHeader > .wordmark img { background-size: calc(0.69*var(--replace-wordmark-x)) calc(0.69*var(--replace-wordmark-y)); padding-top: calc(0.69*var(--replace-wordmark-y)); height: calc(0.69*var(--replace-wordmark-y)); width: calc(0.69*var(--replace-wordmark-x)); } .ChatWindow #ChatHeader .wordmark img, .ChatWindow #Rail .public .wordmark { background-size: calc(0.47*var(--replace-wordmark-x)) calc(0.47*var(--replace-wordmark-y)); height: calc(0.47*var(--replace-wordmark-y)); padding-top: calc(0.47*var(--replace-wordmark-wordmark-y)); width: calc(0.47*var(--replace-wordmark-x)); }