mirror of
http://bgp.hk.skcks.cn:10086/https://github.com/krahets/hello-algo
synced 2026-04-20 21:00:58 +08:00
Update landing pages and fonts (#1872)
* Update landing pages and fonts. * Update the avatar.
This commit is contained in:
BIN
docs/assets/avatar/avatar_yuyanhuang.jpg
Normal file
BIN
docs/assets/avatar/avatar_yuyanhuang.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -5,7 +5,7 @@
|
|||||||
<div class="starfield">
|
<div class="starfield">
|
||||||
<div class="starfield-origin"></div>
|
<div class="starfield-origin"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero-div">
|
<div class="hero-div hero-div--en">
|
||||||
<img src="../assets/hero/ground.png" alt="" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;">
|
<img src="../assets/hero/ground.png" alt="" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;">
|
||||||
<img src="../assets/hero/links.png" alt="" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;">
|
<img src="../assets/hero/links.png" alt="" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;">
|
||||||
<a href="chapter_introduction/">
|
<a href="chapter_introduction/">
|
||||||
@@ -249,10 +249,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- code reviewers -->
|
<!-- translators -->
|
||||||
<div style="margin: 2em auto;">
|
<div style="margin: 2em auto;">
|
||||||
<h3>Code Translators</h3>
|
<h3>Translators</h3>
|
||||||
<p>The multilingual code in this book was translated by the following developers. We thank them for their time and effort!</p>
|
<p>The English version of this book was reviewed by the following translators. We thank them for their time and effort!</p>
|
||||||
<div class="profile-div">
|
<div class="profile-div">
|
||||||
<div class="profile-cell">
|
<div class="profile-cell">
|
||||||
<a href="https://github.com/yuelinxin">
|
<a href="https://github.com/yuelinxin">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ theme:
|
|||||||
custom_dir: ../build/overrides
|
custom_dir: ../build/overrides
|
||||||
language: en
|
language: en
|
||||||
font:
|
font:
|
||||||
text: Lato
|
text: Inter
|
||||||
palette:
|
palette:
|
||||||
- scheme: default
|
- scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
|
|||||||
@@ -395,6 +395,14 @@ a:hover .text-button span {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-div--en {
|
||||||
|
font-size: min(1.65vh, 2.3vw);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-div--ru {
|
||||||
|
font-size: min(1.45vh, 2vw);
|
||||||
|
}
|
||||||
|
|
||||||
.hero-bg {
|
.hero-bg {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -375,6 +375,14 @@ a:hover .text-button span {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-div--en {
|
||||||
|
font-size: min(1.65vh, 2.3vw);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-div--ru {
|
||||||
|
font-size: min(1.45vh, 2vw);
|
||||||
|
}
|
||||||
|
|
||||||
.hero-bg {
|
.hero-bg {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -767,4 +775,4 @@ html:has(body[data-md-color-scheme="default"]) {
|
|||||||
.md-typeset a:not(.md-button):hover,
|
.md-typeset a:not(.md-button):hover,
|
||||||
.md-typeset a:not(.md-button):focus-visible {
|
.md-typeset a:not(.md-button):focus-visible {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="starfield">
|
<div class="starfield">
|
||||||
<div class="starfield-origin"></div>
|
<div class="starfield-origin"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero-div">
|
<div class="hero-div hero-div--ru">
|
||||||
<img src="../assets/hero/ground.png" alt="" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;">
|
<img src="../assets/hero/ground.png" alt="" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;">
|
||||||
<img src="../assets/hero/links.png" alt="" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;">
|
<img src="../assets/hero/links.png" alt="" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;">
|
||||||
<a href="chapter_introduction/">
|
<a href="chapter_introduction/">
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
<br><b>И. А. Шевкун</b>
|
<br><b>И. А. Шевкун</b>
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-cell translator-profile-cell">
|
<div class="profile-cell translator-profile-cell">
|
||||||
<img class="profile-img" src="../assets/avatar/avatar_xxx.jpg" alt="Translator: yuyanhuang" />
|
<img class="profile-img" src="../assets/avatar/avatar_yuyanhuang.jpg" alt="Translator: yuyanhuang" />
|
||||||
<br><b>Yuyan Huang</b>
|
<br><b>Yuyan Huang</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ theme:
|
|||||||
custom_dir: ../build/overrides
|
custom_dir: ../build/overrides
|
||||||
language: ru
|
language: ru
|
||||||
font:
|
font:
|
||||||
text: Noto Sans
|
text: PT Sans
|
||||||
palette:
|
palette:
|
||||||
- scheme: default
|
- scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ version: 1.3.0
|
|||||||
theme:
|
theme:
|
||||||
custom_dir: ../build/overrides
|
custom_dir: ../build/overrides
|
||||||
language: zh-Hant
|
language: zh-Hant
|
||||||
|
font:
|
||||||
|
text: Noto Sans TC
|
||||||
palette:
|
palette:
|
||||||
- scheme: default
|
- scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
|
|||||||
Reference in New Issue
Block a user