diff options
author | Matthew Marchese <maffblaster@gentoo.org> | 2023-12-20 16:20:12 -0800 |
---|---|---|
committer | Matthew Marchese <maffblaster@gentoo.org> | 2023-12-20 17:49:39 -0800 |
commit | ef8a807e794f6a6390001d3312b055fdbbdb7100 (patch) | |
tree | 9a68c084d14dcacf9985cca09b4be416b27a01fa | |
parent | Apply fix for Move page drop downs covering Tyrian navbar. (diff) | |
download | skin-tyrian-ef8a807e794f6a6390001d3312b055fdbbdb7100.tar.gz skin-tyrian-ef8a807e794f6a6390001d3312b055fdbbdb7100.tar.bz2 skin-tyrian-ef8a807e794f6a6390001d3312b055fdbbdb7100.zip |
Tyrian logo: Use <img> tag instead of <object>.v1.35.5
Fixes rendering of Gentoo logo when using Dark Reader. Props to ris for
encouraging the Gentoo wiki to be easier on the eyes for those of us who
like Dark Mode.
See also: https://github.com/darkreader/darkreader/issues/10608
Signed-off-by: Matthew Marchese <maffblaster@gentoo.org>
-rw-r--r-- | TyrianTemplate.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TyrianTemplate.php b/TyrianTemplate.php index a11fd4c..9e2c743 100644 --- a/TyrianTemplate.php +++ b/TyrianTemplate.php @@ -105,9 +105,9 @@ class TyrianTemplate extends BaseTemplate { </div> </div> <div class="logo"> - <a href="/" title="Back to the homepage" class="site-logo"><object data="https://assets.gentoo.org/tyrian/site-logo.svg" type="image/svg+xml"> - <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux Logo"> - </object></a> + <a href="/" title="Back to the homepage" class="site-logo"> + <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux Logo" srcset="https://assets.gentoo.org/tyrian/site-logo.svg"> + </a> <span class="site-label">Wiki</span> </div> </div> |