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

This commit is contained in:
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

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