mirror of
https://github.com/rottenwheel/revuo-weekly.git
synced 2025-08-14 01:06:07 -04:00
remove dependency on JS for menu and theme toggle
This commit is contained in:
parent
706171b42e
commit
ffa3d1aacf
9 changed files with 111 additions and 122 deletions
5
_includes/theme-switcher.html
Normal file
5
_includes/theme-switcher.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!-- Unfortunately, targeting the parent is not a thing in CSS. This is a workaround. -->
|
||||
<input class="nojs-toggle" id="theme-switcher" type="checkbox" name="theme-switcher">
|
||||
<label class="switch" for="theme-switcher" id="main-theme-switcher">
|
||||
<span class="slider round"></span>
|
||||
</label>
|
Loading…
Add table
Add a link
Reference in a new issue