Add the section of introduction to the paper book (#1114)

* Use Roboto mono as the font of the footers

* Bug fixes

* Add the introduction to the paper book.

* Add the 'new' label to the toc

* Turn off the autoplay

* Polish the intro to paperbook
This commit is contained in:
Yudong Jin
2024-03-11 02:41:47 +08:00
committed by GitHub
parent 3474405863
commit aca031c6c1
30 changed files with 101 additions and 8 deletions

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"

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%;
}