mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2025-03-23 07:40:29 +08:00
Optimize UI
This commit is contained in:
parent
8a7e9179d9
commit
d096e15eb9
@ -9,3 +9,8 @@ title = "Yet another Chinese rust-lang book."
|
||||
[output.html]
|
||||
additional-css = ["theme/pagetoc.css"]
|
||||
additional-js = ["theme/pagetoc.js"]
|
||||
git-repository-url = "https://github.com/gnu4cn/rust-lang-zh_CN"
|
||||
git-repository-icon = "fa-github"
|
||||
|
||||
[output.html.print]
|
||||
enable = false
|
||||
|
15
index.html
15
index.html
@ -17,7 +17,6 @@
|
||||
<link rel="stylesheet" href="css/variables.css">
|
||||
<link rel="stylesheet" href="css/general.css">
|
||||
<link rel="stylesheet" href="css/chrome.css">
|
||||
<link rel="stylesheet" href="css/print.css" media="print">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
|
||||
@ -116,8 +115,8 @@
|
||||
<h3 class="menu-title">Yet another Chinese rust-lang book.</h3>
|
||||
|
||||
<div class="right-buttons">
|
||||
<a href="print.html" title="Print this book" aria-label="Print this book">
|
||||
<i id="print-button" class="fa fa-print"></i>
|
||||
<a href="https://github.com/rust-lang-zh_CN" title="Git repository" aria-label="Git repository">
|
||||
<i id="git-repository-button" class="fa fa-github"></i>
|
||||
</a>
|
||||
| <a href="https://books.xfoss.com" title="捐赠,donation" aria-label="捐赠,donation">
|
||||
🎁·打赏DONATE
|
||||
@ -154,15 +153,7 @@
|
||||
<pre><code class="language-console">$ rustc --version
|
||||
rustc 1.68.0 (2c8cc3432 2023-03-06)
|
||||
</code></pre>
|
||||
<h2 id="在线阅读"><a class="header" href="#在线阅读">在线阅读</a></h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p><a href="https://rust-lang.xfoss.com">rust-lang.xfoss.com</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>在 Gitbook 上可阅读此教程:<a href="https://rust.xfoss.com">Rust 编程语言</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>在线阅读: <a href="https://rust-lang.xfoss.com">rust-lang.xfoss.com</a></p>
|
||||
<h2 id="简介"><a class="header" href="#简介">简介</a></h2>
|
||||
<p>欢迎来到 <em>Rust 编程语言</em>,一本 Rust 的介绍性书籍。Rust 编程语言帮助更快地编写出更可靠软件。在程序语言设计中,上层人机交互与底层控制,通常是不可调和的;Rust 挑战了这对矛盾。经由强力的技术能力与了不起的开发者体验,Rust 带来了对底层细节(譬如内存的使用)控制的同时,免去了传统上底层控制带来的一大堆麻烦。</p>
|
||||
<h2 id="rust-适用于哪些人群"><a class="header" href="#rust-适用于哪些人群">Rust 适用于哪些人群</a></h2>
|
||||
|
@ -2,8 +2,12 @@
|
||||
.sidetoc {
|
||||
display: none;
|
||||
}
|
||||
#menu-bar {
|
||||
position: fixed !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (min-width:1440px) {
|
||||
main {
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user