From 5f4fe49e3a60c4666d3751a0bd9381a35eaffc7a Mon Sep 17 00:00:00 2001 From: Sascha Schulz <sschulz@dh-software.de> Date: Mi, 05 Apr 2023 15:05:41 +0200 Subject: [PATCH] reduce font size of code examples --- dist/theme/night-custom.css | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dist/theme/night-custom.css b/dist/theme/night-custom.css index c9d5eed..305f3f5 100644 --- a/dist/theme/night-custom.css +++ b/dist/theme/night-custom.css @@ -32,6 +32,7 @@ --r-heading3-size: 1.55em; --r-heading4-size: 1em; --r-code-font: monospace; + --r-code-font-size: 16px; --r-link-color: #e7ad52; --r-link-color-dark: #d08a1d; --r-link-color-hover: #f3d7ac; @@ -229,6 +230,7 @@ overflow: auto; max-height: 400px; word-wrap: normal; + font-size: var(--r-code-font-size); } .reveal .code-wrapper { @@ -366,4 +368,4 @@ left: 50%; transform: translateX(-50%); width: 100%; -} \ No newline at end of file +} -- Gitblit v1.9.3