Merge reset.css into core.css, and add settings page for specifying dark mode preferences

This commit is contained in:
Alex Cabal 2021-01-02 16:53:01 -06:00
parent 27d081b644
commit 11224136d1
9 changed files with 272 additions and 196 deletions

View file

@ -138,6 +138,14 @@ Define domain standardebooks.org
ProxySet connectiontimeout=5 timeout=240
</Proxy>
# In RewriteCond, RewriteRule gets evaluated BEFORE RewriteCond, so $1 refers to the first
# match in RewriteRule
# Rewrite POST /some/url -> POST /some/url/post.php
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteCond %{DOCUMENT_ROOT}/$1/ -d
RewriteCond %{DOCUMENT_ROOT}/$1/post.php -f
RewriteRule ^([^\.]+)$ $1/post.php [L]
# In case of 404, serve the 404 page specified by ErrorDocument, not the default FPM error page.
# Note that we can't use `ProxyErrorOverride on` because that catches ALL 4xx and 5xx HTTP headers
# and serves the default Apache page for them.

View file

@ -137,6 +137,14 @@ Define domain standardebooks.test
ProxySet connectiontimeout=5 timeout=240
</Proxy>
# In RewriteCond, RewriteRule gets evaluated BEFORE RewriteCond, so $1 refers to the first
# match in RewriteRule
# Rewrite POST /some/url -> POST /some/url/post.php
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteCond %{DOCUMENT_ROOT}/$1/ -d
RewriteCond %{DOCUMENT_ROOT}/$1/post.php -f
RewriteRule ^([^\.]+)$ $1/post.php [L]
# In case of 404, serve the 404 page specified by ErrorDocument, not the default FPM error page.
# Note that we can't use `ProxyErrorOverride on` because that catches ALL 4xx and 5xx HTTP headers
# and serves the default Apache page for them.