From b0d463268ee977e93cf3fe813aa6765021d17108 Mon Sep 17 00:00:00 2001 From: "Unisko PENG," Date: Thu, 30 Mar 2023 10:10:46 +0800 Subject: [PATCH] Optimize UI --- book.toml | 5 +++++ index.html | 5 ++--- theme/pagetoc.css | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/book.toml b/book.toml index 62d3ac5..c580fbf 100644 --- a/book.toml +++ b/book.toml @@ -9,3 +9,8 @@ title = "CCNA60D Chinese, 中文版 CCNA 60 days" [output.html] additional-css = ["theme/pagetoc.css"] additional-js = ["theme/pagetoc.js"] +git-repository-url = "https://github.com/gnu4cn/ccna60d" +git-repository-icon = "fa-github" + +[output.html.print] +enable = false diff --git a/index.html b/index.html index e4394ed..91256a1 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,6 @@ - @@ -116,8 +115,8 @@
- - + + | 🎁·打赏DONATE diff --git a/theme/pagetoc.css b/theme/pagetoc.css index f6d7c49..cafa416 100644 --- a/theme/pagetoc.css +++ b/theme/pagetoc.css @@ -2,8 +2,12 @@ .sidetoc { display: none; } + #menu-bar { + position: fixed !important; + } } + @media only screen and (min-width:1440px) { main { position: relative;