Skip to content

Commit 359e49f

Browse files
authored
Merge pull request #14184 from nextcloud/fix/noid/screenshots-shadow
style(docs): add subtle shadow to screenshots
2 parents 10a2695 + a9d223b commit 359e49f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_shared_assets/static/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ h6 {
7373
}
7474
}
7575

76+
/* Screenshots — add subtle shadow to distinguish from page background */
77+
.rst-content img {
78+
border-radius: 10px;
79+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
80+
}
81+
82+
html[data-theme="dark"] .rst-content img {
83+
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
84+
}
85+
7686
/* ICONS LIST */
7787
div#list-of-available-icons > blockquote {
7888
margin: 0;

0 commit comments

Comments
 (0)