Optimize UI

This commit is contained in:
Unisko PENG, 2023-03-30 10:10:46 +08:00
parent e32b846be2
commit b0d463268e
3 changed files with 11 additions and 3 deletions

View File

@ -9,3 +9,8 @@ title = "CCNA60D Chinese, 中文版 CCNA 60 days"
[output.html] [output.html]
additional-css = ["theme/pagetoc.css"] additional-css = ["theme/pagetoc.css"]
additional-js = ["theme/pagetoc.js"] additional-js = ["theme/pagetoc.js"]
git-repository-url = "https://github.com/gnu4cn/ccna60d"
git-repository-icon = "fa-github"
[output.html.print]
enable = false

View File

@ -17,7 +17,6 @@
<link rel="stylesheet" href="css/variables.css"> <link rel="stylesheet" href="css/variables.css">
<link rel="stylesheet" href="css/general.css"> <link rel="stylesheet" href="css/general.css">
<link rel="stylesheet" href="css/chrome.css"> <link rel="stylesheet" href="css/chrome.css">
<link rel="stylesheet" href="css/print.css" media="print">
<!-- Fonts --> <!-- Fonts -->
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css"> <link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
@ -116,8 +115,8 @@
<h3 class="menu-title">CCNA60D Chinese, 中文版 CCNA 60 days</h3> <h3 class="menu-title">CCNA60D Chinese, 中文版 CCNA 60 days</h3>
<div class="right-buttons"> <div class="right-buttons">
<a href="print.html" title="Print this book" aria-label="Print this book"> <a href="https://github.com/gnu4cn/ccna60d" title="Git repository" aria-label="Git repository">
<i id="print-button" class="fa fa-print"></i> <i id="git-repository-button" class="fa fa-github"></i>
</a> </a>
| <a href="https://books.xfoss.com" title="捐赠donation" aria-label="捐赠donation"> | <a href="https://books.xfoss.com" title="捐赠donation" aria-label="捐赠donation">
🎁·打赏DONATE 🎁·打赏DONATE

View File

@ -2,8 +2,12 @@
.sidetoc { .sidetoc {
display: none; display: none;
} }
#menu-bar {
position: fixed !important;
}
} }
@media only screen and (min-width:1440px) { @media only screen and (min-width:1440px) {
main { main {
position: relative; position: relative;