From 006b99e817965ad9922b7294fc821888c293b382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Fri, 22 Sep 2023 16:58:27 +0200 Subject: [PATCH] Change bg color of admonitions (#1996) --- src/css/custom.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index daabdbe71ba..7bff5bdfc88 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -145,4 +145,15 @@ a.navbar__item{ a:hover.navbar__item{ background-size: 0 3px, 100% 3px; +} + +/* More prominent admonitions */ +.theme-admonition-danger { + border-left: 5px solid rgb(0, 0, 0); + background-color: rgba(255, 0, 0, 0.238); +} + +.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