mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-24 18:43:59 +08:00
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:
@@ -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"
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user