mirror of
https://github.com/gnu4cn/ts-learnings.git
synced 2024-12-25 20:30:28 +08:00
Updated theme
This commit is contained in:
parent
92f8cea650
commit
ef961d21ce
25
index.html
25
index.html
@ -113,32 +113,15 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<h1 class="menu-title">Yet another Chinese TypeScript tutorial.</h1>
|
||||
<h3 class="menu-title">Yet another Chinese TypeScript tutorial.</h3>
|
||||
|
||||
<div class="right-buttons">
|
||||
<a href="https://rust-lang.xfoss.com" title="Yet another Chinese rust-lang book"
|
||||
aria-label="Yet another Chinese rust-lang book">
|
||||
⚙️·Rust 官方书中文
|
||||
</a>
|
||||
|
||||
<a href="https://java.xfoss.com" title="Head First Java 中文版" aria-label="Head First Java 中文版">
|
||||
☕·Head First Java 中文
|
||||
</a>
|
||||
<a href="https://ccna60d.xfoss.com" title="CCNA in 60 days" aria-label="CCNA 60 天">
|
||||
🖧·60 天通过 CCNA
|
||||
</a>
|
||||
<a href="https://snippets.xfoss.com" title="代码片段与技术笔记,code snippets and tech notes"
|
||||
aria-label="代码片段与技术笔记,code snippets and tech notes">
|
||||
✨·代码片段与技术笔记
|
||||
</a>
|
||||
<a href="https://books.xfoss.com" title="捐赠,donation" aria-label="捐赠,donation">
|
||||
🎁·捐赠,donation
|
||||
</a>
|
||||
|
||||
<a href="print.html" title="Print this book" aria-label="Print this book">
|
||||
<i id="print-button" class="fa fa-print"></i>
|
||||
</a>
|
||||
|
||||
| <a href="https://books.xfoss.com" title="捐赠,donation" aria-label="捐赠,donation">
|
||||
🎁·打赏DONATION
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -137,28 +137,9 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<h1 class="menu-title">{{ book_title }}</h1>
|
||||
<h3 class="menu-title">{{ book_title }}</h3>
|
||||
|
||||
<div class="right-buttons">
|
||||
<a href="https://rust-lang.xfoss.com" title="Yet another Chinese rust-lang book"
|
||||
aria-label="Yet another Chinese rust-lang book">
|
||||
⚙️·Rust 官方书中文
|
||||
</a>
|
||||
|
||||
<a href="https://java.xfoss.com" title="Head First Java 中文版" aria-label="Head First Java 中文版">
|
||||
☕·Head First Java 中文
|
||||
</a>
|
||||
<a href="https://ccna60d.xfoss.com" title="CCNA in 60 days" aria-label="CCNA 60 天">
|
||||
🖧·60 天通过 CCNA
|
||||
</a>
|
||||
<a href="https://snippets.xfoss.com" title="代码片段与技术笔记,code snippets and tech notes"
|
||||
aria-label="代码片段与技术笔记,code snippets and tech notes">
|
||||
✨·代码片段与技术笔记
|
||||
</a>
|
||||
<a href="https://books.xfoss.com" title="捐赠,donation" aria-label="捐赠,donation">
|
||||
🎁·捐赠,donation
|
||||
</a>
|
||||
|
||||
{{#if print_enable}}
|
||||
<a href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">
|
||||
<i id="print-button" class="fa fa-print"></i>
|
||||
@ -174,7 +155,9 @@
|
||||
<i id="git-edit-button" class="fa fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
| <a href="https://books.xfoss.com" title="捐赠,donation" aria-label="捐赠,donation">
|
||||
🎁·打赏DONATION
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -7,16 +7,17 @@
|
||||
@media only screen and (min-width:1440px) {
|
||||
main {
|
||||
position: relative;
|
||||
margin-left: calc((100% - var(--content-max-width))/2 - 120px) !important;
|
||||
}
|
||||
.sidetoc {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: calc(100% + (var(--content-max-width))/4 - 140px);
|
||||
left: calc(100% + (var(--content-max-width))/4 - 160px);
|
||||
position: absolute;
|
||||
}
|
||||
.pagetoc {
|
||||
position: fixed;
|
||||
width: 280px;
|
||||
width: 320px;
|
||||
height: calc(100vh - var(--menu-bar-height) - 0.67em * 4);
|
||||
overflow: auto;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user