From 11e4e32db826518b7afa7d0bf454a6b0c83fb994 Mon Sep 17 00:00:00 2001 From: facundoolano Date: Sun, 3 Mar 2024 12:00:58 -0300 Subject: [PATCH] smaller code font size in mobile --- commands/initfiles/src/assets/css/main.css | 4 ++++ docs/src/assets/css/main.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/commands/initfiles/src/assets/css/main.css b/commands/initfiles/src/assets/css/main.css index 5cb53e9..5981931 100644 --- a/commands/initfiles/src/assets/css/main.css +++ b/commands/initfiles/src/assets/css/main.css @@ -226,6 +226,10 @@ blockquote { line-height: 1.7; } + .layout-post pre, .layout-post code { + font-size: 0.9rem; + } + .layout-post p + p { text-indent: 0; } diff --git a/docs/src/assets/css/main.css b/docs/src/assets/css/main.css index 3e1bf01..c48cf07 100644 --- a/docs/src/assets/css/main.css +++ b/docs/src/assets/css/main.css @@ -230,6 +230,10 @@ blockquote { line-height: 1.7; } + .layout-post pre, .layout-post code { + font-size: 0.9rem; + } + .layout-post p + p { text-indent: 0; }