The issue
I changed the background of my flarum site to a slight gray to make it easier on the eyes with the following code in custom css:
body when (@config-dark-mode = false) {
background-color: #e2e2e2;
}
Which works, but it switches back to the default white when the site is viewed in the "mobile version". I tried looking into flarum's css to see how it handles responsive css and tried the following:
@media only screen and (max-width: 767.98px) {
body {
background-color: #e2e2e2;
}
}
Which didn't work. If I change something to Flarum's css, does anyone know how I can also change it for the "mobile" version of the site? Thanks!
Flarum information
Flarum
1.2.1
PHP
7.4.33
MySQL
5.7.44-cll-lve