This commit is contained in:
krahets
2024-03-10 20:46:43 +08:00
parent 3fdebdd4b2
commit fa1500b91c
6 changed files with 98 additions and 8 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
{% block announce %}
{% if config.theme.language == 'zh' %}
{% set announcements = "纸质书将于近期发布,敬请关注!" %}
{% set announcements = '纸质书已发布,详情请见<a href="/chapter_paperbook/">纸质书介绍</a>' %}
{% elif config.theme.language == 'en' %}
{% set announcements = "The paper book (Chinese edition) will be published soon. Stay tuned!" %}
{% set announcements = 'The paper book (Chinese edition) published. Please visit <a href="/chapter_paperbook/">this link</a> for more details.' %}
{% endif %}
<div class="banner-svg">
<svg xmlns="http://www.w3.org/2000/svg"
+14
View File
@@ -522,3 +522,17 @@ a:hover .text-button span {
flex-basis: 25%;
}
}
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}