Add explanation to common.css --wide --narrow.

master
voussoir 2021-05-19 23:43:08 -07:00
parent 95a6d7bb92
commit a227474a2b
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
/*
These properties are used by javascript functions.
getComputedStyle(document.documentElement).getPropertyValue("--narrow").trim() === "1"
*/
@media screen and (min-width: 800px)
{
:root
@ -5,7 +9,6 @@
--wide: 1;
}
}
@media screen and (max-width: 800px)
{
:root