From 74f865c382386e4904ccca21cc912c58f4a45061 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 1 Apr 2026 10:47:43 +0200 Subject: [PATCH] style(docs): add subtle shadow to screenshots Signed-off-by: Maksim Sukharev --- _shared_assets/static/custom.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_shared_assets/static/custom.css b/_shared_assets/static/custom.css index 611c491c4a6..04b115a40e0 100644 --- a/_shared_assets/static/custom.css +++ b/_shared_assets/static/custom.css @@ -73,6 +73,16 @@ h6 { } } +/* Screenshots — add subtle shadow to distinguish from page background */ +.rst-content img { + border-radius: 10px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} + +html[data-theme="dark"] .rst-content img { + box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15); +} + /* ICONS LIST */ div#list-of-available-icons > blockquote { margin: 0;