diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css
index 125ebbc..c79d471 100644
--- a/assets/css/bobastyle.css
+++ b/assets/css/bobastyle.css
@@ -198,21 +198,22 @@ video {
max-width: 100%;
}
-.post-media > figure img,
-.post-media > figure video {
+figure > .figure-media {
padding: 5px;
- border: 7px solid var(--figure-border);
}
-figure img,
-figure video {
- padding: 5px;
+figure > .figure-media.border {
border: 2px solid var(--figure-border);
}
+.post-media > figure > .figure-media {
+ border: 7px solid var(--figure-border);
+}
+
figure {
- margin: auto;
- display: inline-block;
+ display: block;
+ text-align: center;
+ margin: 0;
}
figcaption {
diff --git a/layouts/_partials/embed-resource.html b/layouts/_partials/embed-resource.html
index 555bb39..5fb0822 100644
--- a/layouts/_partials/embed-resource.html
+++ b/layouts/_partials/embed-resource.html
@@ -3,9 +3,9 @@
* claims that images won't work with JS disabled since it would
* make tracking possible, but my experience says otherwise
*/}}
-
+
{{ else if eq .ResourceType "video" }}
-