mirror of
https://github.com/gnu4cn/ccna60d.git
synced 2024-05-21 04:55:00 +08:00
Updated theme
This commit is contained in:
parent
0b5ee08fcb
commit
90b6b1d241
25
index.html
25
index.html
@ -113,32 +113,15 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<h1 class="menu-title">CCNA60D Chinese, 中文版 CCNA 60 days</h1>
|
||||
<h3 class="menu-title">CCNA60D Chinese, 中文版 CCNA 60 days</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://snippets.xfoss.com" title="代码片段与技术笔记,code snippets and tech notes"
|
||||
aria-label="代码片段与技术笔记,code snippets and tech notes">
|
||||
✨·代码片段与技术笔记
|
||||
</a>
|
||||
<a href="https://ts.xfoss.com" title="TypeScript 教程" aria-label="TypeScript 教程">
|
||||
📜·TypeScript 教程
|
||||
</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://snippets.xfoss.com" title="代码片段与技术笔记,code snippets and tech notes"
|
||||
aria-label="代码片段与技术笔记,code snippets and tech notes">
|
||||
✨·代码片段与技术笔记
|
||||
</a>
|
||||
<a href="https://ts.xfoss.com" title="TypeScript 教程" aria-label="TypeScript 教程">
|
||||
📜·TypeScript 教程
|
||||
</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