diff options
author | 2023-12-20 16:20:12 -0800 | |
---|---|---|
committer | 2023-12-20 16:42:37 -0800 | |
commit | 765f64a6fe75177fd87c0c63c82e6c7b9c29fb5e (patch) | |
tree | e666f3bdf78925344cb7c3c3044d4b3046d6ba0c | |
parent | Apply fix for Move page drop downs covering Tyrian navbar. (diff) | |
download | skin-tyrian-765f64a6fe75177fd87c0c63c82e6c7b9c29fb5e.tar.gz skin-tyrian-765f64a6fe75177fd87c0c63c82e6c7b9c29fb5e.tar.bz2 skin-tyrian-765f64a6fe75177fd87c0c63c82e6c7b9c29fb5e.zip |
Tyrian logo: Use <img> tag instead of <object>.
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 93d8e73..1417e0d 100644 --- a/TyrianTemplate.php +++ b/TyrianTemplate.php @@ -108,9 +108,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> |