Skip to content

Commit 5ebe532

Browse files
committed
Adjust styling for plain images
1 parent 156abf4 commit 5ebe532

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

public/custom.css

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
}
6868

6969

70-
.markdown-section img {
70+
.markdown-section img:not(.plain) {
7171
border: 1px solid #ddd;
7272
border-radius: 4px;
7373
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
@@ -79,14 +79,23 @@
7979
background-color: white;
8080
}
8181

82-
.markdown-section a img {
82+
.markdown-section a img:not(.plain) {
8383
border: none !important;
8484
box-shadow: none !important;
8585
width: 100% !important;
8686
margin: 0 !important;
8787
padding: 2.5%
8888
}
8989

90+
.markdown-section img.plain + figcaption {
91+
display: none;
92+
}
93+
94+
.markdown-section figure img.plain {
95+
margin: -1.5em 0px !important;
96+
padding: 2.5% 0;
97+
}
98+
9099
.markdown-section .glossary-term {
91100
color: #527c23;
92101
padding: 2px 4px;
@@ -270,4 +279,4 @@ a:hover .evidon-consent-link-text {
270279
.page-inner {
271280
margin: 0 auto;
272281
}
273-
}
282+
}

0 commit comments

Comments
 (0)