Skip to content

Commit

Permalink
regenerate pagetoc theme
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Jan 1, 2025
1 parent 1f003ff commit a7edb74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ multilingual = false
src = "src"
title = "rust-note"

# [preprocessor.theme]
# pagetoc = true
# sidebar-width = "300px"
# pagetoc-width = "15%"
# content-max-width = "75%"
# content-main-margin-left = "4%"
# content-main-margin-right = "4%"
# nav-chapters-max-width = "3%"
# nav-chapters-min-width = "3%"
[preprocessor.theme]
pagetoc = true
sidebar-width = "320px"
pagetoc-width = "15%"
content-max-width = "75%"
content-main-margin-left = "4%"
content-main-margin-right = "4%"
nav-chapters-max-width = "3%"
nav-chapters-min-width = "3%"

[output.html]
default-theme = "ayu"
Expand Down
2 changes: 1 addition & 1 deletion theme/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* Globals */

:root {
--sidebar-width: 300px;
--sidebar-width: 320px;
--sidebar-resize-indicator-width: 8px;
--sidebar-resize-indicator-space: 2px;
--page-padding: 15px;
Expand Down

0 comments on commit a7edb74

Please sign in to comment.