chiark / gitweb /
Switch Bedstead Web page to dark-on-light.
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 31 Jan 2019 00:32:21 +0000 (00:32 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 31 Jan 2019 00:32:21 +0000 (00:32 +0000)
I recently saw Bedstead featured on a collection of programming fonts
and noticed that it was much prettier there than on its own Web page.
That's clearly wrong, and I think displaying it in a light colour on a
dark background (and with less than maximum contrast) helped.  The new
colours are based on my memory of the old Philips green-screen monitor
currently connected to my Beeb (because I'm too lazy to get out of bed
and check it).

bedstead.css

index 6f46de23c170d8c3c22337aabc271c8c902f44e0..b7a6185ea6a9d78fa02c697381bb9afd740318af 100644 (file)
@@ -33,3 +33,16 @@ h1, h2 {
 ul {
     list-style-type: "\2022  ";
 }
+
+/* Colours that make Bedstead look better (imitating my green monitor) */
+body {
+    background-color: #222;
+    color: #8f8;
+}
+
+:link {
+  color: #cfc;
+}
+:visited {
+  color: #bfb;
+}