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

This commit is contained in:
voussoir 2021-05-19 23:43:21 -07:00
parent ba21228221
commit 16be502991
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