From aa14390b866fe56287fb6b0cd7ec8cef76a0bc09 Mon Sep 17 00:00:00 2001 From: "Liopold D. Novelli" Date: Wed, 13 Nov 2024 14:27:00 +0100 Subject: [PATCH] Fix monospace font by using Courier Prime everywhere. --- README.org | 12 +++++++++--- assets/custom.css | 9 ++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.org b/README.org index d7c10f7..76a559e 100644 --- a/README.org +++ b/README.org @@ -6,7 +6,7 @@ - [[https://christianmoe.com/en/notes/static-site.html][Minerva's owlet: A mostly static website with Emacs Orgmode]] - [[https://systemcrafters.net/publishing-websites-with-org-mode/building-the-site/][Systemcrafters: Publishing websites with org mode]] -- [[https://taingram.org/blog/org-mode-blog.html][Taingram.org: Building a Emacs Org-Mode Blog]] +- [[https://taingram.org/blog/org-mode-blog.html][TaIngram.org: Building a Emacs Org-Mode Blog]] ** Usage @@ -33,11 +33,17 @@ https://certbot.eff.org/instructions?ws=apache&os=pip ** Current issues -*** Broken pre item in menu +*** DONE Broken pre item in menu Somehow system font Free Serif is taken by the broser instead of Noto mono. -*** English blog & menu +*** TODO English blog & menu - blog index should show only blogposts - going back from blogpost to blog should not go to /en/blog/blog. + +*** TODO Created dates + +Should prioritize ~#+DATE~ property in document and not use current date. + +*** TODO Add a tagging system diff --git a/assets/custom.css b/assets/custom.css index c476e1c..58ebe97 100644 --- a/assets/custom.css +++ b/assets/custom.css @@ -2,18 +2,15 @@ font-family: CourierPrime; src: url(fonts/CourierPrime-Regular.ttf); } -/* font-family: 'Noto Sans Mono', sans-serif; */ - -body { - font-family: CourierPrime; +body, pre, .nav { + font-family: "CourierPrime", monospace; } .rainbow, h1 { text-align: center; text-decoration: underline; font-size: 0.7rem; - font-family: monospace; letter-spacing: 5px; } .rainbow_text_animated, h1 { @@ -28,7 +25,6 @@ body { h1 { font-size: 2.75rem; - font-family: CourierPrime; } .rainbow_text_animated_2 { @@ -47,7 +43,6 @@ h1 { text-decoration: none; font-size: 0.7rem; font-weight: bold; - font-family: monospace; } #preamble pre {