Compare commits

...

6 Commits

Author SHA1 Message Date
Gala 5a7e956c93 ind 2023-08-09 17:50:07 +02:00
Gala 3410a2b2e0 another indent 2023-08-09 17:49:16 +02:00
Gala 1349242367 indent fix 2023-08-09 17:47:02 +02:00
Gala 8f812cc610 test indent 2023-08-09 17:44:13 +02:00
Gala 05aa0dbd8e adding custom.css 2023-08-09 17:39:45 +02:00
Gala 5b69b0e7d9 apply nym style on dev-portal docs 2023-08-09 15:06:28 +02:00
4 changed files with 43 additions and 11 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ src = "src"
# - run `mdbook build`: this will rebuild the `./theme` directory
# - change value of `turn-off` back to `true`
[preprocessor.theme]
pagetoc = true
pagetoc = true
# some variables related (defined in theme/css/variables.css)
# `content-max-width` + `pagetoc-width` = 95% seems the best
pagetoc-width = "13%"
@@ -37,7 +37,7 @@ nav-chapters-min-width = "auto"
chapter-line-height = "2em"
section-line-height = "1.5em"
# # if true, never read and touch the files in theme dir
# if true, never read and touch the files in theme dir
turn-off = false
[preprocessor.admonish]
@@ -77,7 +77,7 @@ curly-quotes = true
# mathjax-support = false # useful if we want to pull equations in ?
copy-fonts = true
no-section-label = false
additional-css = ["theme/pagetoc.css", "././mdbook-admonish.css", "last-changed.css"]
additional-css = ["theme/pagetoc.css", "././mdbook-admonish.css", "custom.css"]
additional-js = ["theme/pagetoc.js"]
git-repository-url = "https://github.com/nymtech/nym"
git-repository-icon = "fa-github"
+38
View File
@@ -0,0 +1,38 @@
:root {
--mono-font: "Open Sans", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono",
monospace, monospace;
}
.coal {
--bg: #121726;
--fg: #f2f2f2;
--sidebar-bg: #121726;
--sidebar-fg: #f2f2f2;
--sidebar-active: #fb6e4e;
--icons: #f2f2f2;
--icons-hover: #fb6e4e;
--links: #fb6e4e;
}
.light {
--bg: #f4f6f8;
--fg: #121726;
--sidebar-bg: #f4f6f8;
--sidebar-fg: #121726;
--sidebar-active: #fb6e4e;
--icons: #121726;
--icons-hover: #fb6e4e;
--links: #fb6e4e;
}
footer {
font-size: 0.8em;
text-align: center;
border-top: 1px solid black;
padding: 5px 0;
}
@@ -1,6 +0,0 @@
footer {
font-size: 0.8em;
text-align: center;
border-top: 1px solid black;
padding: 5px 0;
}
@@ -13,7 +13,7 @@
}
@media only screen and (max-width:1439px) {
:root{
:root{
--content-max-width: 98%;
}
}
@@ -290,4 +290,4 @@
--searchresults-li-bg: #2b2b2f;
--search-mark-bg: #355c7d;
}
}
}