Constant logo_test::CSS [−][src]
pub(crate) const CSS: &str = r#"
<style type="text/css">
.mw-wiki-logo {
background-image:url($logo)
}
@media (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(min-resolution:1.5dppx),(min-resolution:144dpi) {
.mw-wiki-logo {
background-image:url($logo_1_5x);
background-size:135px auto
}
}
@media (-webkit-min-device-pixel-ratio:2),(min--moz-device-pixel-ratio:2),(min-resolution:2dppx),(min-resolution:192dpi) {
.mw-wiki-logo {
background-image:url($logo_2x);
background-size:135px auto;
}
}
</style>
</head>
"#;
Expand description
CSS copied from MediaWiki’s output