summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/components/_markdown.scss4
-rw-r--r--assets/css/utils/_utility.scss2
-rw-r--r--content/posts/为战斗献上心脏.md4
3 files changed, 9 insertions, 1 deletions
diff --git a/assets/css/components/_markdown.scss b/assets/css/components/_markdown.scss
index 4378d398..6be34818 100644
--- a/assets/css/components/_markdown.scss
+++ b/assets/css/components/_markdown.scss
@@ -137,4 +137,8 @@ $em-text-color: #889E73;
del {
opacity: 0.5
}
+
+ iframe {
+ max-width: 100%;
+ }
}
diff --git a/assets/css/utils/_utility.scss b/assets/css/utils/_utility.scss
index 9b857fdb..878ac8f2 100644
--- a/assets/css/utils/_utility.scss
+++ b/assets/css/utils/_utility.scss
@@ -32,6 +32,8 @@ figure {
display: flex;
justify-content: center;
width: 100%;
+ z-index: 10;
+ position: relative;
@media screen and (min-width: 768px) {
width: calc(var(--page-width) + 10rem);
diff --git a/content/posts/为战斗献上心脏.md b/content/posts/为战斗献上心脏.md
index 019569a5..c85f4af4 100644
--- a/content/posts/为战斗献上心脏.md
+++ b/content/posts/为战斗献上心脏.md
@@ -22,7 +22,9 @@ toc: true
3/18 23:04 更新:现在你可以不用下载,直接在浏览器上游玩!如果画面体验不佳,可以点击左下角的 Go Fullscreen 全屏游玩。
-<iframe frameborder="0" src="https://itch.io/embed-upload/13116517?color=000000" allowfullscreen="" width="1000" height="770"><a href="https://eltrac.itch.io/heart-hunter">Play Heart Hunter on itch.io</a></iframe>
+<div class="outbox">
+ <iframe frameborder="0" src="https://itch.io/embed-upload/13116517?color=000000" allowfullscreen="" width="1000" height="770"><a href="https://eltrac.itch.io/heart-hunter">Play Heart Hunter on itch.io</a></iframe>
+</div>
---