chiark / gitweb /
Put the whole Web page into Bedstead.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Nov 2016 21:53:57 +0000 (21:53 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Nov 2016 21:53:57 +0000 (21:53 +0000)
With "palt" enabled, it looks fairly good.

bedstead.css

index cb7533ba4ccba8a39a061fac55a93e0f774ca466..9748177a294d84f55dd9c611aa96fd5e7b6b34e7 100644 (file)
@@ -1,6 +1,15 @@
-/* Trivial stylesheet to use Bedstead as a monospace font */
+/* Trivial stylesheet to use Bedstead everywhere. */
+
+/* Use Bedstead with proportional spacing for everything. */
+body {
+    font-family: Bedstead;
+    font-feature-settings: "palt";
+}
+
+/* Except where it's conventional to use a monospaced version. */
 kbd, code, tt, pre {
-    font-family: Bedstead, monospace;
+    font-family: Bedstead, monospace;    
+    font-feature-settings: "palt" off;
 }
 
 @font-face {