Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
+ }
+}