From f466eba552338fba6f1318be9dc71d0cb70ecae8 Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Tue, 14 Jan 2025 16:37:09 +0100 Subject: [PATCH] Change background color --- macao/assets/_custom.scss | 11 +++++++++++ macao/hugo.toml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/macao/assets/_custom.scss b/macao/assets/_custom.scss index 5162764..0bd9d02 100644 --- a/macao/assets/_custom.scss +++ b/macao/assets/_custom.scss @@ -4,6 +4,8 @@ body { --quizz-backgourd-color: #00000; --feedback-sucess-color: lightgreen; --feedback-error-color: #ef5d5d; + + // To edit HUGO theme colors see macao/themes/macao-hugo-theme/assets/themes/_tetras.scss } // *********************************** @@ -71,3 +73,12 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input { margin-top: 0; } } + +// *********************************** +// General look and feel +// *********************************** +.book-page > article { + background-color: white; + padding: 16px; + border-radius: 20px; +} diff --git a/macao/hugo.toml b/macao/hugo.toml index 8402f1a..4d4f118 100644 --- a/macao/hugo.toml +++ b/macao/hugo.toml @@ -22,7 +22,7 @@ weight = 10 [params] # (Optional, default light) Sets color theme: light, dark or auto. # Theme 'auto' switches between dark and light modes based on browser/os preferences -BookTheme = 'auto' +BookTheme = 'tetras' # (Optional, default true) Controls table of contents visibility on right side of pages. # Start and end levels can be controlled with markup.tableOfContents setting. -- GitLab