From 1cc6e70ba5b93189b5a21aa38322cafd1f504739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Mon, 25 Sep 2023 10:39:39 +0200 Subject: [PATCH] change admonition background colors --- src/css/custom.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 7bff5bdfc88..4919a1b86a7 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -150,10 +150,20 @@ a:hover.navbar__item{ /* More prominent admonitions */ .theme-admonition-danger { border-left: 5px solid rgb(0, 0, 0); - background-color: rgba(255, 0, 0, 0.238); + background-color: rgba(255, 0, 0, 0.15); } .theme-admonition-info { border-left: 5px solid rgb(0, 0, 0); - background-color: rgba(255, 255, 0, 0.238); -} \ No newline at end of file + background-color: rgba(0, 0, 0, 0.15); +} + +.theme-admonition-caution { + border-left: 5px solid rgb(0, 0, 0); + background-color: rgba(255, 255, 0, 0.15); +} + +.theme-admonition-tip { + border-left: 5px solid rgb(0, 0, 0); + background-color: rgba(0, 255, 0, 0.15); +}