From 90b6b1d2411e9185064bbe18828e1cdc3a0a8a28 Mon Sep 17 00:00:00 2001 From: "Unisko PENG," Date: Wed, 29 Mar 2023 13:36:03 +0800 Subject: [PATCH] Updated theme --- index.html | 25 ++++--------------------- theme/index.hbs | 25 ++++--------------------- theme/pagetoc.css | 5 +++-- 3 files changed, 11 insertions(+), 44 deletions(-) diff --git a/index.html b/index.html index 9bfdb36..2e88839 100644 --- a/index.html +++ b/index.html @@ -113,32 +113,15 @@ -

CCNA60D Chinese, 中文版 CCNA 60 days

+
- - ⚙️·Rust 官方书中文 - - - - ☕·Head First Java 中文 - - - ✨·代码片段与技术笔记 - - - 📜·TypeScript 教程 - - - 🎁·捐赠,donation - - - + | + 🎁·打赏DONATION +
diff --git a/theme/index.hbs b/theme/index.hbs index 0ea49df..7daafdb 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -137,28 +137,9 @@ {{/if}} -

{{ book_title }}

+
- - ⚙️·Rust 官方书中文 - - - - ☕·Head First Java 中文 - - - ✨·代码片段与技术笔记 - - - 📜·TypeScript 教程 - - - 🎁·捐赠,donation - - {{#if print_enable}} @@ -174,7 +155,9 @@ {{/if}} - + | + 🎁·打赏DONATION +
diff --git a/theme/pagetoc.css b/theme/pagetoc.css index a818baf..f6d7c49 100644 --- a/theme/pagetoc.css +++ b/theme/pagetoc.css @@ -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; }