Skip to content

Commit 05696fd

Browse files
authored
Merge pull request #29 from comcomUBA/dark-mode-transparent-images
Add a white background to images in darkmode
2 parents bdeec22 + e177184 commit 05696fd

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

css/main.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ html {
3030
--site-logo-url: url("/static/img/mocmoc/logo-horizontal.min.svg");
3131
--taller-logo-url: url("/static/img/mocmoc/logo.min.svg");
3232
}
33+
34+
img {
35+
background-color: rgb(255, 255, 255);
36+
border-radius: 10px;
37+
}
3338
}
3439

3540
/** Reset some basic elements */
@@ -68,9 +73,9 @@ main {
6873
}
6974

7075
/** Images */
71-
img {
72-
max-width: 100%;
73-
vertical-align: middle;
76+
img {
77+
max-width: 100%;
78+
vertical-align: middle;
7479
}
7580

7681
/** Figures */

0 commit comments

Comments
 (0)