Edit logo icon to load different versions depending on viewer's color preference
This commit is contained in:
parent
2b812aeb96
commit
f305aeda57
@ -1,3 +1,7 @@
|
|||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img style="float: right; margin-top: 4px;" src="https://bear-images.sfo2.cdn.digitaloceanspaces.com/haothitran/logo_white_square-626x626.webp" width=64 height=64" />
|
<picture>
|
||||||
|
<source style="float: right; margin-top: 4px;" srcset="https://bear-images.sfo2.cdn.digitaloceanspaces.com/haothitran/logo_black_square-626x626.webp" media="(prefers-color-scheme: light)" width=64 height=64" />
|
||||||
|
<source style="float: right; margin-top: 4px;" srcset="https://bear-images.sfo2.cdn.digitaloceanspaces.com/haothitran/logo_white_square-626x626.webp" media="(prefers-color-scheme: dark)" width=64 height=64" />
|
||||||
|
<img style="float: right; margin-top: 4px;" src="https://bear-images.sfo2.cdn.digitaloceanspaces.com/haothitran/logo_black_square-626x626.webp" width=64 height=64" />
|
||||||
|
</picture>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user