diff --git a/documentation/docs/book.toml b/documentation/docs/book.toml index cd063fe6d2..ab06eaa14d 100644 --- a/documentation/docs/book.toml +++ b/documentation/docs/book.toml @@ -13,15 +13,15 @@ edition = "2018" # PREPROCESSORS # ################# -#[preprocessor.theme] -#sidebar-width = "280px" -#content-max-width = "75%" -#content-main-margin-left = "5%" -#content-main-margin-right = "5%" -#root-font-size = "80%" +[preprocessor.theme] +sidebar-width = "280px" +content-max-width = "80%" +content-main-margin-left = "5%" +content-main-margin-right = "5%" +root-font-size = "70%" #sidebar-font-size = "0.85em" -## if true, never read and touch the files in theme dir -#turn-off = true +# DO NOT CHANGE or you might overwrite the custom hbs headers +turn-off = true [preprocessor.admonish] command = "mdbook-admonish" diff --git a/documentation/docs/nym_themes/css/general.css b/documentation/docs/nym_themes/css/general.css index aef7ec7da0..df8c1d12d2 100644 --- a/documentation/docs/nym_themes/css/general.css +++ b/documentation/docs/nym_themes/css/general.css @@ -4,7 +4,7 @@ :root { /* Browser default font-size is 16px, this way 1 rem = 10px */ - font-size: 80%; + font-size: 70%; color-scheme: var(--color-scheme); } diff --git a/documentation/docs/nym_themes/css/variables.css b/documentation/docs/nym_themes/css/variables.css index d807e5d340..51b94cfc5a 100644 --- a/documentation/docs/nym_themes/css/variables.css +++ b/documentation/docs/nym_themes/css/variables.css @@ -6,7 +6,7 @@ --sidebar-resize-indicator-width: 8px; --sidebar-resize-indicator-space: 2px; --page-padding: 15px; - --content-max-width: 75%; + --content-max-width: 80%; --menu-bar-height: 40px; --mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace; --code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */ diff --git a/documentation/docs/nym_themes/index.hbs.bak b/documentation/docs/nym_themes/index.hbs.bak new file mode 100644 index 0000000000..d2a64dbc97 --- /dev/null +++ b/documentation/docs/nym_themes/index.hbs.bak @@ -0,0 +1,370 @@ + + + + + + {{ title }} + {{#if is_print }} + + {{/if}} + {{#if base_url}} + + {{/if}} + + + + {{> head}} + + + + + + {{#if favicon_svg}} + + {{/if}} + {{#if favicon_png}} + + {{/if}} + + + + {{#if print_enable}} + + {{/if}} + + + + {{#if copy_fonts}} + + {{/if}} + + + + + + + + {{#each additional_css}} + + {{/each}} + + {{#if mathjax_support}} + + + {{/if}} + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ {{> header}} + + + + {{#if search_enabled}} + + {{/if}} + + + + +
+
+
+
+ {{{ content }}} +
+
+ +
+
+
+ + +
+
+ + + +
+ + {{#if live_reload_endpoint}} + + + {{/if}} + + {{#if playground_line_numbers}} + + {{/if}} + + {{#if playground_copyable}} + + {{/if}} + + {{#if playground_js}} + + + + + + {{/if}} + + {{#if search_js}} + + + + {{/if}} + + + + + + + {{#each additional_js}} + + {{/each}} + + {{#if is_print}} + {{#if mathjax_support}} + + {{else}} + + {{/if}} + {{/if}} + + +
+ +