diff --git a/book.toml b/book.toml index 067bf45..8d7bde4 100644 --- a/book.toml +++ b/book.toml @@ -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" diff --git a/theme/css/variables.css b/theme/css/variables.css index 11341fe..693a3ad 100644 --- a/theme/css/variables.css +++ b/theme/css/variables.css @@ -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;