summaryrefslogtreecommitdiff
path: root/assets/css/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/main.css')
-rw-r--r--assets/css/main.css17
1 files changed, 16 insertions, 1 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index d95ca04..57d9066 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -394,6 +394,20 @@ footer a {
/* images */
+figure > div {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+}
+
+figure img {
+ max-width: 100%;
+ max-height: var(--figure-img-max-height);
+ width: auto;
+ height: auto;
+ margin-inline: auto;
+}
+
.dark .img-light {
display: none !important;
}
@@ -419,6 +433,7 @@ footer a {
}
.img-full img {
+ height: auto;
width: 100vw !important;
max-width: 100vw !important;
}
@@ -527,4 +542,4 @@ blockquote {
blockquote p {
margin-left: 1rem;
margin-right: 1rem;
-} \ No newline at end of file
+}