From a8969f141db5b7ea91acc576ebd791082931adec Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 21 Dec 2023 16:49:44 -0500 Subject: [PATCH] Style code and verbatim. --- default_environment/stylesheet/main.css | 5 +++++ default_environment/templates/html/code.dust | 2 +- default_environment/templates/html/verbatim.dust | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/default_environment/stylesheet/main.css b/default_environment/stylesheet/main.css index 0839d5d..a93bd1c 100644 --- a/default_environment/stylesheet/main.css +++ b/default_environment/stylesheet/main.css @@ -90,6 +90,11 @@ body { font-size: 1rem; } + .code, .verbatim { + font-family: var(--src-font-family); + font-size: 1rem; + } + .quote_block { border-left: 1px solid var(--quote-block-border-color); padding: 0 0 0 1rem; diff --git a/default_environment/templates/html/code.dust b/default_environment/templates/html/code.dust index 07d701a..104778f 100644 --- a/default_environment/templates/html/code.dust +++ b/default_environment/templates/html/code.dust @@ -1 +1 @@ -{.contents} +{.contents} diff --git a/default_environment/templates/html/verbatim.dust b/default_environment/templates/html/verbatim.dust index 07d701a..9adf09c 100644 --- a/default_environment/templates/html/verbatim.dust +++ b/default_environment/templates/html/verbatim.dust @@ -1 +1 @@ -{.contents} +{.contents}