From 29539f7cb4d8aa899d86c48af806f659c4b61898 Mon Sep 17 00:00:00 2001 From: Matheus Castello Date: Sun, 13 Oct 2024 01:30:51 -0300 Subject: [PATCH 1/5] css: main: Add background color to `` blocks Following the expect UX for markdown ``, where the content inside the block is highlighted with a background color or have a different font style, this commit adds a background color to the `` blocks in the main.css file. Signed-off-by: Matheus Castello --- static/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index 2d36b49..cd3a703 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -422,6 +422,10 @@ footer { margin: 0rem; } +code { + background-color: #16b4f31f; +} + @media only screen and (max-width: 600px) { .navbar-logo img { height: 50px; From 5e701b173a2b61fadc984c8c9b8bb41b90f88079 Mon Sep 17 00:00:00 2001 From: Matheus Castello Date: Sun, 13 Oct 2024 01:34:58 -0300 Subject: [PATCH 2/5] css: main: Add blockquote style Signed-off-by: Matheus Castello --- static/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index cd3a703..dcab24b 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -426,6 +426,12 @@ code { background-color: #16b4f31f; } +blockquote { + background-color: #ffffff; + border-left: 5px solid #ffb411e5; + padding: 1rem; +} + @media only screen and (max-width: 600px) { .navbar-logo img { height: 50px; From dd4333449b610464d50a0f8a2835857de0d7f6a4 Mon Sep 17 00:00:00 2001 From: Matheus Castello Date: Sun, 13 Oct 2024 01:35:27 -0300 Subject: [PATCH 3/5] layout: baseof: Add custom CSS support Signed-off-by: Matheus Castello --- layouts/_default/baseof.html | 4 ++++ static/css/fixedtable.css | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 static/css/fixedtable.css diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5644370..4287ab9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,6 +20,10 @@ + {{ if .Params.customCSS }} + + {{ end }} +