From 35ec4a8e04ee89e5b90fd4a16bc94cfc40860391 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Sat, 17 Aug 2024 01:15:13 +0200 Subject: [PATCH] Fix beamer theme code font --- core/src/main/resources/render/theme/layout/beamer.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/resources/render/theme/layout/beamer.css b/core/src/main/resources/render/theme/layout/beamer.css index ac52e699..77c8d33f 100644 --- a/core/src/main/resources/render/theme/layout/beamer.css +++ b/core/src/main/resources/render/theme/layout/beamer.css @@ -2,11 +2,14 @@ @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro'); @import url('https://fonts.googleapis.com/css?family=Fira+Sans'); +@import url('https://fonts.googleapis.com/css?family=Noto+Sans+Mono'); :root { --reveal-center-vertically: false; --qd-main-font: "Source Sans Pro", sans-serif; --qd-heading-font: "Fira Sans", sans-serif; + --qd-code-font: "Noto Sans Mono", monospace; + --qd-code-font-size: 1.1em; --qd-block-margin: 32px; --qd-box-margin-multiplier: 1.2; } @@ -60,6 +63,10 @@ table tr:last-child td { border-bottom: none; } +pre code { + line-height: 1.5; +} + .box { border-radius: 8px; }