From ef1d9a884de19ea480c4dab501dba10ffe72eae0 Mon Sep 17 00:00:00 2001 From: Zbigniew Malcherczyk Date: Fri, 13 Nov 2020 00:06:56 +0100 Subject: [PATCH] Improve readability (#18) *Change the paragraph font family to Times New Roman *Improve code tag on dark mode *Minor checkbox fixes *Increasing margin bottom *Make header 2, 4, and 6 with opacity 0.8 --- grave-dark.css | 3 ++- grave-light.css | 1 + grave.css | 4 ++- gulpfile.js | 4 ++- index.html | 12 ++++++++- package-lock.json | 54 +++++++++++++------------------------ package.json | 14 +++++----- src/form/input/checkbox.css | 9 +++---- src/structure.css | 5 ++-- src/structure/about.css | 1 + src/structure/nav.css | 2 +- src/structure/section.css | 3 +++ src/structure/temple.css | 1 + src/text.css | 1 + src/text/header.css | 11 +++++--- src/text/paragraph.css | 8 ++---- 16 files changed, 69 insertions(+), 64 deletions(-) create mode 100644 src/structure/section.css diff --git a/grave-dark.css b/grave-dark.css index 30d8663..527fe1b 100644 --- a/grave-dark.css +++ b/grave-dark.css @@ -9,13 +9,14 @@ :root { --global-page-background-color: #36393e; --global-font-color: #a7a7a7; + --global-font-family: "Times New Roman", Times, serif; --global-form-background-color: #ecf0f1; --global-form-background-color-active: #dce0e1; --global-form-background-color-valid: #ecf0f1; --global-form-font-color: #7f8c8d; --global-form-shadow-color: 0 3px 0 #7f8c8d; --global-form-shadow-color-active: 0 1px 0 #7f8c8d; - --global-text-code-background-color: rgba(236, 240, 241, 0.1); + --global-text-code-background-color: rgba(40, 43, 48, 1); --image-width: 20rem; font-size: 16px; diff --git a/grave-light.css b/grave-light.css index 2a01202..622b2b1 100644 --- a/grave-light.css +++ b/grave-light.css @@ -9,6 +9,7 @@ :root { --global-page-background-color: #fff; --global-font-color: #374252; + --global-font-family: "Times New Roman", Times, serif; --global-form-background-color: #ecf0f1; --global-form-background-color-active: #dce0e1; --global-form-background-color-valid: #2ecc71a6; diff --git a/grave.css b/grave.css index 90fbd91..76de378 100644 --- a/grave.css +++ b/grave.css @@ -26,13 +26,14 @@ body { :root { --global-page-background-color: #36393e; --global-font-color: #a7a7a7; + --global-font-family: "Times New Roman", Times, serif; --global-form-background-color: #ecf0f1; --global-form-background-color-active: #dce0e1; --global-form-background-color-valid: #ecf0f1; --global-form-font-color: #7f8c8d; --global-form-shadow-color: 0 3px 0 #7f8c8d; --global-form-shadow-color-active: 0 1px 0 #7f8c8d; - --global-text-code-background-color: rgba(236, 240, 241, 0.1); + --global-text-code-background-color: rgba(40, 43, 48, 1); --image-width: 20rem; } } @@ -41,6 +42,7 @@ body { :root { --global-page-background-color: #fff; --global-font-color: #374252; + --global-font-family: "Times New Roman", Times, serif; --global-form-background-color: #ecf0f1; --global-form-background-color-active: #dce0e1; --global-form-background-color-valid: #2ecc71a6; diff --git a/gulpfile.js b/gulpfile.js index 4d65647..a8d8063 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -60,7 +60,9 @@ gulp.task('stylelint', function () { 'src/structure/*.css', 'src/text/*.css', 'src/vendor/*.css', - 'grave.css' + 'grave.css', + 'grave-dark.css', + 'grave-light.css' ]) .pipe(stylelint(reporters)); }); diff --git a/index.html b/index.html index 0b968e9..8a7c585 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ Grave UI - +