Add HiDPI site menu images

This commit is contained in:
hensm
2019-06-02 05:50:19 +01:00
parent 4169c1e786
commit 61db61f77e
3 changed files with 8 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -68,8 +68,14 @@
<summary class="faq__summary">How do I cast something?</summary>
<div class="faq__content">
<picture style="float: right">
<source srcset="images/menu_light.png" alt="Media context menu" media="(prefers-color-scheme: light)">
<img src="images/menu_dark.png" alt="Media context menu">
<source alt="Media context menu"
srcset="images/menu_light.png,
images/menu_light@2x.png 2x"
media="(prefers-color-scheme: light)">
<img alt="Media context menu"
src="images/menu_dark.png"
srcset="images/menu_dark.png,
images/menu_dark@2x.png 2x">
</picture>
<p>
Ignore the toolbar button for now, it's just a placeholder for development.