From 143e3e28001f65859840be7d953c747dfd87fd16 Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Tue, 16 Apr 2024 12:06:42 -0300 Subject: [PATCH 1/2] Justify content and enable hyphenation for better readability Signed-off-by: Mateus Felipe C. C. Pinto --- org-theme/dist/long/bundle.css | 4 ++++ org-theme/dist/short/bundle.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/org-theme/dist/long/bundle.css b/org-theme/dist/long/bundle.css index a0db6b4..e6e43b0 100644 --- a/org-theme/dist/long/bundle.css +++ b/org-theme/dist/long/bundle.css @@ -685,11 +685,15 @@ ol ol ol ol ol { * 1. Remove top margin * 2. Add bottom margin for better content readability * 3. Set default font size (in rem) + * 4. Justify content for better readability + * 5. Enable hyphenation to keep inter-word spacing consistent */ p { margin-top: 0; /* [1] */ margin-bottom: var(--paragraph-margin-bottom); /* [2] */ font-size: var(--font-size); /* [3] */ + text-align: justify; /* [4] */ + hyphens: auto; /* [5] */ } /* ============================================================================== diff --git a/org-theme/dist/short/bundle.css b/org-theme/dist/short/bundle.css index 8d2168e..611ddf9 100644 --- a/org-theme/dist/short/bundle.css +++ b/org-theme/dist/short/bundle.css @@ -685,11 +685,15 @@ ol ol ol ol ol { * 1. Remove top margin * 2. Add bottom margin for better content readability * 3. Set default font size (in rem) + * 4. Justify content for better readability + * 5. Enable hyphenation to keep inter-word spacing consistent */ p { margin-top: 0; /* [1] */ margin-bottom: var(--paragraph-margin-bottom); /* [2] */ font-size: var(--font-size); /* [3] */ + text-align: justify; /* [4] */ + hyphens: auto; /* [5] */ } /* ============================================================================== From fb9e37945b8675b76411b526b8cd35e575679cd9 Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Tue, 16 Apr 2024 12:31:01 -0300 Subject: [PATCH 2/2] Fix asterisks alignment Signed-off-by: Mateus Felipe C. C. Pinto --- org-theme/dist/short/bundle.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-theme/dist/short/bundle.css b/org-theme/dist/short/bundle.css index 611ddf9..40181f6 100644 --- a/org-theme/dist/short/bundle.css +++ b/org-theme/dist/short/bundle.css @@ -685,8 +685,8 @@ ol ol ol ol ol { * 1. Remove top margin * 2. Add bottom margin for better content readability * 3. Set default font size (in rem) - * 4. Justify content for better readability - * 5. Enable hyphenation to keep inter-word spacing consistent + * 4. Justify content for better readability + * 5. Enable hyphenation to keep inter-word spacing consistent */ p { margin-top: 0; /* [1] */