move toggle styling into separate stylesheet

This commit is contained in:
xenofem 2020-05-30 00:47:24 -04:00
parent 3b5f1bad7e
commit 43fe681c2a
5 changed files with 152 additions and 153 deletions

View file

@ -37,7 +37,7 @@
}
}
input[type=checkbox] {
#toggleNav {
position: absolute;
left: 0px;
top: 0px;
@ -49,7 +49,7 @@ input[type=checkbox] {
#controls {
display: none;
}
input[type=checkbox]:checked ~ #controls {
#toggleNav:checked ~ #controls {
display: block;
}
#reload {

View file

@ -10,4 +10,4 @@ unlisted = false
{{< partial "xeno.svg" >}}
</div>
</div>
<input type="checkbox">
<input id="toggleNav" type="checkbox">