From 42311d4302062d67a0aa53117e54a4af3d36d517 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sun, 3 Mar 2024 15:50:47 +0200 Subject: [PATCH 1/2] Do not set font size on code elements. --- docs/content/fsdocs-default.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/content/fsdocs-default.css b/docs/content/fsdocs-default.css index 7c805a10..bd95a686 100644 --- a/docs/content/fsdocs-default.css +++ b/docs/content/fsdocs-default.css @@ -721,7 +721,6 @@ code, table.pre, pre { color: var(--code-color); font-family: var(--monospace-font); font-variant-ligatures: none; - font-size: var(--font-200); -webkit-text-size-adjust: 100%; } @@ -1228,4 +1227,4 @@ dialog { ::backdrop { opacity: 0.75; } -} \ No newline at end of file +} From a3d83d09a0dcc4ac8a58031c77d316787fe43f14 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Tue, 5 Mar 2024 01:24:45 +0200 Subject: [PATCH 2/2] Update fsdocs-default.css --- docs/content/fsdocs-default.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/content/fsdocs-default.css b/docs/content/fsdocs-default.css index bd95a686..90df59aa 100644 --- a/docs/content/fsdocs-default.css +++ b/docs/content/fsdocs-default.css @@ -721,9 +721,14 @@ code, table.pre, pre { color: var(--code-color); font-family: var(--monospace-font); font-variant-ligatures: none; + font-size: var(--font-200); -webkit-text-size-adjust: 100%; } +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + font-size: inherit; +} + table.pre, #content > pre.fssnip { border: 1px solid var(--code-fence-border-color); }