From 567db560f511b11492b85cf4f72b51599e8e3a3d Mon Sep 17 00:00:00 2001 From: facundoolano Date: Mon, 4 Mar 2024 11:01:03 -0300 Subject: [PATCH] tweak docs and initfiles font sizes --- commands/initfiles/src/assets/css/main.css | 11 +++-------- docs/src/assets/css/main.css | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/commands/initfiles/src/assets/css/main.css b/commands/initfiles/src/assets/css/main.css index 5981931..b33b65b 100644 --- a/commands/initfiles/src/assets/css/main.css +++ b/commands/initfiles/src/assets/css/main.css @@ -119,7 +119,7 @@ img.cover-img { .layout-post { hyphens: auto; text-align: justify; - font-size: 1.15rem; + font-size: 1.1rem; line-height: 1.6; -moz-osx-font-smoothing: grayscale; @@ -184,7 +184,7 @@ Need to decide between: .layout-post pre, .layout-post code { border-radius: 6px; background-color: whitesmoke!important; - font-size: 1rem; + font-size: 0.9rem; hyphens: none; color: black; } @@ -214,7 +214,6 @@ blockquote { /* override in mobile devices for more compact text */ @media screen and (max-width: 768px) { .layout-post { - font-size: 1rem; line-height: 1.2; letter-spacing: unset; hyphens: none; @@ -222,14 +221,10 @@ blockquote { } .layout-post p { - margin: 0 0 1rem 0; + margin: 1rem 0; 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 c48cf07..62042d1 100644 --- a/docs/src/assets/css/main.css +++ b/docs/src/assets/css/main.css @@ -123,7 +123,7 @@ img.cover-img { .layout-post { hyphens: auto; text-align: justify; - font-size: 1.15rem; + font-size: 1.1rem; line-height: 1.6; -moz-osx-font-smoothing: grayscale; @@ -188,7 +188,7 @@ Need to decide between: .layout-post pre, .layout-post code { border-radius: 6px; background-color: whitesmoke!important; - font-size: 1rem; + font-size: 0.9rem; hyphens: none; color: black; } @@ -218,7 +218,6 @@ blockquote { /* override in mobile devices for more compact text */ @media screen and (max-width: 768px) { .layout-post { - font-size: 1rem; line-height: 1.2; letter-spacing: unset; hyphens: none; @@ -226,14 +225,10 @@ blockquote { } .layout-post p { - margin: 0 0 1rem 0; + margin: 1rem 0; line-height: 1.7; } - .layout-post pre, .layout-post code { - font-size: 0.9rem; - } - .layout-post p + p { text-indent: 0; }