Template:Styles/endowment.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* To be used with addStyle parameter. Replaces WMF logo with Endowment logo. */ |
/* To be used with addStyle parameter. Replaces WMF logo with Endowment logo. */ |
||
@media (-webkit-min-device-pixel-ratio: 2), not all, (min-resolution: 2dppx), (min-resolution: 192dpi) { |
|||
html body .mw-wiki-logo { |
|||
background-image: url(https://upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png); |
|||
⚫ | |||
} |
|||
} |
|||
@media (-webkit-min-device-pixel-ratio: 1.5), not all, (min-resolution: 1.5dppx), (min-resolution: 144dpi) { |
|||
html body .mw-wiki-logo { |
|||
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment_1.5x.png); |
|||
background-size: 135px auto; |
|||
} |
|||
} |
|||
html body .mw-wiki-logo { |
html body .mw-wiki-logo { |
||
background-image: url( |
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment.png); |
||
⚫ | |||
} |
} |
Revision as of 13:07, 10 May 2019
/* To be used with addStyle parameter. Replaces WMF logo with Endowment logo. */
@media (-webkit-min-device-pixel-ratio: 2), not all, (min-resolution: 2dppx), (min-resolution: 192dpi) {
html body .mw-wiki-logo {
background-image: url(https://upload.wikimedia.org/wikipedia/donate/8/85/Wikimedia_Endowment_2x.png);
background-size: 135px auto;
}
}
@media (-webkit-min-device-pixel-ratio: 1.5), not all, (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
html body .mw-wiki-logo {
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment_1.5x.png);
background-size: 135px auto;
}
}
html body .mw-wiki-logo {
background-image: url(https://upload.wikimedia.org/wikipedia/donate/4/49/Wikimedia_Endowment.png);
}