summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/base.css37
1 files changed, 37 insertions, 0 deletions
diff --git a/public/base.css b/public/base.css
new file mode 100644
index 0000000..890893e
--- /dev/null
+++ b/public/base.css
@@ -0,0 +1,37 @@
+/* fonts */
+@font-face {
+ font-family: 'CMU Typewriter Text Variable Width';
+ src: url('cmunvt.otf'); }
+
+/* layout */
+* {
+ box-sizing: border-box; }
+html {
+ width: 100%;
+ max-width: 600px; }
+body {
+ margin: 10px; }
+
+/* typography */
+html {
+ font: 16px 'CMU Typewriter Text Variable Width', serif;
+ color: black;
+ hyphens: auto; }
+h1, h2, h3 {
+ font-size: 1rem;
+ font-weight: normal; }
+h1 {
+ font-weight: bold;
+ font-style: italic; }
+h1, h2, h3, p {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ white-space: pre-wrap; }
+
+/* links */
+a:link, a:hover {
+ color: coral; }
+a:visited {
+ color: chocolate; }
+a:focus {
+ outline: dashed darkorange; }