From 96321ace2bb493bd6103515b516b4ab90e9fd134 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 4 Aug 2022 01:04:47 +0200 Subject: [PATCH] jekyll: release-date utility Signed-off-by: CrazyMax --- _includes/release-date.html | 1 + _scss/_night-mode.scss | 3 ++- _scss/_utilities.scss | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 _includes/release-date.html diff --git a/_includes/release-date.html b/_includes/release-date.html new file mode 100644 index 0000000000..d84e2cb76e --- /dev/null +++ b/_includes/release-date.html @@ -0,0 +1 @@ +{{ include.date }} \ No newline at end of file diff --git a/_scss/_night-mode.scss b/_scss/_night-mode.scss index 321a87bda7..93bd70cffc 100755 --- a/_scss/_night-mode.scss +++ b/_scss/_night-mode.scss @@ -17,7 +17,8 @@ body.night { } .rating-nero-value, - .reading-time { + .reading-time, + .release-date { color: $body-text-night !important; } diff --git a/_scss/_utilities.scss b/_scss/_utilities.scss index 5f0e092bb2..d6976a6454 100755 --- a/_scss/_utilities.scss +++ b/_scss/_utilities.scss @@ -14,6 +14,11 @@ color: rgba(13, 86, 125, 0.55); } +.release-date { + font-size: 12px; + color: rgba(13, 86, 125, 0.55); +} + .break { margin-bottom: 20px!important; }