chiark / gitweb /
Web page: use Bedstead for <code> etc if possible.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Nov 2016 00:41:29 +0000 (00:41 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Nov 2016 00:41:29 +0000 (00:41 +0000)
bedstead.css [new file with mode: 0644]
index.html

diff --git a/bedstead.css b/bedstead.css
new file mode 100644 (file)
index 0000000..cb7533b
--- /dev/null
@@ -0,0 +1,9 @@
+/* Trivial stylesheet to use Bedstead as a monospace font */
+kbd, code, tt, pre {
+    font-family: Bedstead, monospace;
+}
+
+@font-face {
+    font-family: Bedstead;
+    src: url(bedstead.otf) format("opentype");
+}
index 45bfa75d7afa43b54b6edf5db1f52cbdd8e0f07d..5610290bfdc8687ebd6a81564282b7d77691991b 100644 (file)
@@ -5,6 +5,7 @@
   <head>
     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
     <title>Bedstead &ndash; MODE 7 for the 21st century</title>
+    <link rel="stylesheet" href="bedstead.css" type="text/css" />
   </head>
   <body>
     <h1><img alt="Bedstead" src="title.png"/></h1>