Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-01-18 00:34:11 -0500
committerMike Gerwitz <mtg@gnu.org>2019-01-18 00:34:11 -0500
commit3ac7ca77e3e8f73a565d9cc49ecdf6bdb68a1732 (patch)
tree5f00d3f37ca3d9f151491ba1a1676a0127acc982
parent828ed8a7c242d488c85aeb79c6517005e6e2c7f6 (diff)
downloadthoughts-3ac7ca77e3e8f73a565d9cc49ecdf6bdb68a1732.zip
thoughts-3ac7ca77e3e8f73a565d9cc49ecdf6bdb68a1732.tar.gz
thoughts-3ac7ca77e3e8f73a565d9cc49ecdf6bdb68a1732.tar.bz2
style.css: Minor fixes and warning for IE11 users
I only noticed this issue because my work computer has IE11 installed. I will not be supporting it. Edge works just fine and IE is just about extinct, finally. Of couse, I recomend using a free/libre browser.
-rw-r--r--style.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/style.css b/style.css
index 85d52d1..ac72d69 100644
--- a/style.css
+++ b/style.css
@@ -221,6 +221,7 @@ a.box.eff-privacy {
main {
position: relative;
+ display: block; /* for older browsers that default to inline */
}
@@ -822,3 +823,21 @@ code.sourceCode span.al { color: #ef2929 } /* Generic.Error */
code.sourceCode span.fu { color: #000000 } /* Name.Function */
code.sourceCode span.re { }
code.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */
+
+
+/* Finally, the perpetual pain in my ass as a web developer: IE. IE11 is
+ * the only version I attempt here, enough to make it presentable and warn
+ * the user. */
+@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
+ main {
+ max-width: 50em;
+ }
+ article {
+ max-width: 35em;
+ }
+ main::before {
+ display: block;
+ content: 'Warning: Your browser is unsupported and will not display this website correctly.';
+ text-align: center;
+ }
+}