From 38e165100f577667c0d65448389e0a944a09f709 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 8 Oct 2021 00:55:06 -0400 Subject: [PATCH 1/3] Tried to change the theme --- doc/source/ystatic/theme.css | 395 +++++++++++++++++++++++++++++++++++ 1 file changed, 395 insertions(+) create mode 100644 doc/source/ystatic/theme.css diff --git a/doc/source/ystatic/theme.css b/doc/source/ystatic/theme.css new file mode 100644 index 000000000..3b5cbe03d --- /dev/null +++ b/doc/source/ystatic/theme.css @@ -0,0 +1,395 @@ +:root { + --dark-text-color: #c1c1c1; + --dark-link-color: #249ee8; +} + +body { + color: #bfbfbf; +} + +.wy-nav-content-wrap { + background-color: #101010; +} + +.wy-nav-content { + background-color: #141414; +} + +.section { + color: var(--dark-text-color); +} + +.highlight { + background-color: #17181c; +} + +.highlight .nn { + color: var(--dark-text-color); +} + +.highlight .nb { + color: #8bb8df; +} + +.highlight .kn, +.highlight .kc, +.highlight .k { + color: #41c2ea; +} + +.highlight .s1, +.highlight .s2 { + color: #b3e87f; +} + +.highlight .nt { + color: #ccb350; +} + +.highlight .c1 { + color: #686868; +} + +.rst-content div[class^="highlight"] { + border-color: #1a1a1a; +} + +.wy-nav-content a, +.wy-nav-content a:visited { + color: var(--dark-link-color); +} + +.btn-neutral { + background-color: #17181c !important; +} + +.btn-neutral:hover { + background-color: #101114 !important; +} + +.btn-neutral:visited { + color: #c1c1c1 !important; +} + +.btn { + box-shadow: none; +} + +footer { + color: #bdbdbd; +} + +.wy-nav-side { + background-color: #0d0d0d; +} + +.wy-menu-vertical li.current { + background-color: #141414; +} + +.wy-menu-vertical li.current > a, +.wy-menu-vertical li.on a { + background-color: #141415; + color: var(--dark-text-color); +} + +.wy-menu-vertical li.toctree-l1.current > a, +.wy-menu-vertical li.current a { + border-color: #0b0c0d; +} + +.wy-menu-vertical li.current a { + color: #bbb; +} + +.wy-menu-vertical li.current a:hover { + background-color: #222; +} + +.wy-menu-vertical a:hover, +.wy-menu-vertical li.current > a:hover, +.wy-menu-vertical li.on a:hover { + background-color: #1e1e1e; +} + +.wy-menu-vertical li.toctree-l2.current > a, +.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a { + background-color: #18181a; +} + +.wy-side-nav-search { + background-color: #0b152d; +} + +.wy-side-nav-search .wy-dropdown > a, +.wy-side-nav-search > a { + color: #ddd; +} + +.wy-side-nav-search input[type="text"] { + border-color: #111; + background-color: #141414; + color: var(--dark-text-color); +} + +.theme-switcher { + background-color: #0b0c0d; + color: var(--dark-text-color); +} + +writer-html4 .rst-content dl:not(.docutils) > dt, +writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) > dt { + background-color: #0b0b0b; + color: #007dce; + border-color: #282828; +} + +.rst-content code, +.rst-content tt { + color: var(--dark-text-color); +} + +writer-html4 .rst-content dl:not(.docutils) dl:not(.field-list) > dt, +writer-html5 + .rst-content + dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) + dl:not(.field-list) + > dt { + background-color: #0f0f0f; + color: #959595; + border-color: #2b2b2b; +} + +.rst-content code, +.rst-content tt, +code { + background-color: #2d2d2d; + border-color: #1c1c1c; +} + +.rst-content code.xref, +.rst-content tt.xref, +a .rst-content code, +a .rst-content tt { + color: #cecece; +} + +.rst-content .hint, +.rst-content .important, +.rst-content .tip, +.rst-content .wy-alert-success.admonition, +.rst-content .wy-alert-success.admonition-todo, +.rst-content .wy-alert-success.attention, +.rst-content .wy-alert-success.caution, +.rst-content .wy-alert-success.danger, +.rst-content .wy-alert-success.error, +.rst-content .wy-alert-success.note, +.rst-content .wy-alert-success.seealso, +.rst-content .wy-alert-success.warning, +.wy-alert.wy-alert-success { + background-color: #00392e; +} + +.rst-content .hint .admonition-title, +.rst-content .hint .wy-alert-title, +.rst-content .important .admonition-title, +.rst-content .important .wy-alert-title, +.rst-content .tip .admonition-title, +.rst-content .tip .wy-alert-title, +.rst-content .wy-alert-success.admonition-todo .admonition-title, +.rst-content .wy-alert-success.admonition-todo .wy-alert-title, +.rst-content .wy-alert-success.admonition .admonition-title, +.rst-content .wy-alert-success.admonition .wy-alert-title, +.rst-content .wy-alert-success.attention .admonition-title, +.rst-content .wy-alert-success.attention .wy-alert-title, +.rst-content .wy-alert-success.caution .admonition-title, +.rst-content .wy-alert-success.caution .wy-alert-title, +.rst-content .wy-alert-success.danger .admonition-title, +.rst-content .wy-alert-success.danger .wy-alert-title, +.rst-content .wy-alert-success.error .admonition-title, +.rst-content .wy-alert-success.error .wy-alert-title, +.rst-content .wy-alert-success.note .admonition-title, +.rst-content .wy-alert-success.note .wy-alert-title, +.rst-content .wy-alert-success.seealso .admonition-title, +.rst-content .wy-alert-success.seealso .wy-alert-title, +.rst-content .wy-alert-success.warning .admonition-title, +.rst-content .wy-alert-success.warning .wy-alert-title, +.rst-content .wy-alert.wy-alert-success .admonition-title, +.wy-alert.wy-alert-success .rst-content .admonition-title, +.wy-alert.wy-alert-success .wy-alert-title { + background-color: #006a56; +} + +.rst-content .note, +.rst-content .seealso, +.rst-content .wy-alert-info.admonition, +.rst-content .wy-alert-info.admonition-todo, +.rst-content .wy-alert-info.attention, +.rst-content .wy-alert-info.caution, +.rst-content .wy-alert-info.danger, +.rst-content .wy-alert-info.error, +.rst-content .wy-alert-info.hint, +.rst-content .wy-alert-info.important, +.rst-content .wy-alert-info.tip, +.rst-content .wy-alert-info.warning, +.wy-alert.wy-alert-info { + background-color: #002c4d; +} + +.rst-content .note .admonition-title, +.rst-content .note .wy-alert-title, +.rst-content .seealso .admonition-title, +.rst-content .seealso .wy-alert-title, +.rst-content .wy-alert-info.admonition-todo .admonition-title, +.rst-content .wy-alert-info.admonition-todo .wy-alert-title, +.rst-content .wy-alert-info.admonition .admonition-title, +.rst-content .wy-alert-info.admonition .wy-alert-title, +.rst-content .wy-alert-info.attention .admonition-title, +.rst-content .wy-alert-info.attention .wy-alert-title, +.rst-content .wy-alert-info.caution .admonition-title, +.rst-content .wy-alert-info.caution .wy-alert-title, +.rst-content .wy-alert-info.danger .admonition-title, +.rst-content .wy-alert-info.danger .wy-alert-title, +.rst-content .wy-alert-info.error .admonition-title, +.rst-content .wy-alert-info.error .wy-alert-title, +.rst-content .wy-alert-info.hint .admonition-title, +.rst-content .wy-alert-info.hint .wy-alert-title, +.rst-content .wy-alert-info.important .admonition-title, +.rst-content .wy-alert-info.important .wy-alert-title, +.rst-content .wy-alert-info.tip .admonition-title, +.rst-content .wy-alert-info.tip .wy-alert-title, +.rst-content .wy-alert-info.warning .admonition-title, +.rst-content .wy-alert-info.warning .wy-alert-title, +.rst-content .wy-alert.wy-alert-info .admonition-title, +.wy-alert.wy-alert-info .rst-content .admonition-title, +.wy-alert.wy-alert-info .wy-alert-title { + background-color: #004a7b; +} + +.rst-content .admonition-todo, +.rst-content .attention, +.rst-content .caution, +.rst-content .warning, +.rst-content .wy-alert-warning.admonition, +.rst-content .wy-alert-warning.danger, +.rst-content .wy-alert-warning.error, +.rst-content .wy-alert-warning.hint, +.rst-content .wy-alert-warning.important, +.rst-content .wy-alert-warning.note, +.rst-content .wy-alert-warning.seealso, +.rst-content .wy-alert-warning.tip, +.wy-alert.wy-alert-warning { + background-color: #533500; +} + +.rst-content .admonition-todo .admonition-title, +.rst-content .admonition-todo .wy-alert-title, +.rst-content .attention .admonition-title, +.rst-content .attention .wy-alert-title, +.rst-content .caution .admonition-title, +.rst-content .caution .wy-alert-title, +.rst-content .warning .admonition-title, +.rst-content .warning .wy-alert-title, +.rst-content .wy-alert-warning.admonition .admonition-title, +.rst-content .wy-alert-warning.admonition .wy-alert-title, +.rst-content .wy-alert-warning.danger .admonition-title, +.rst-content .wy-alert-warning.danger .wy-alert-title, +.rst-content .wy-alert-warning.error .admonition-title, +.rst-content .wy-alert-warning.error .wy-alert-title, +.rst-content .wy-alert-warning.hint .admonition-title, +.rst-content .wy-alert-warning.hint .wy-alert-title, +.rst-content .wy-alert-warning.important .admonition-title, +.rst-content .wy-alert-warning.important .wy-alert-title, +.rst-content .wy-alert-warning.note .admonition-title, +.rst-content .wy-alert-warning.note .wy-alert-title, +.rst-content .wy-alert-warning.seealso .admonition-title, +.rst-content .wy-alert-warning.seealso .wy-alert-title, +.rst-content .wy-alert-warning.tip .admonition-title, +.rst-content .wy-alert-warning.tip .wy-alert-title, +.rst-content .wy-alert.wy-alert-warning .admonition-title, +.wy-alert.wy-alert-warning .rst-content .admonition-title, +.wy-alert.wy-alert-warning .wy-alert-title { + background-color: #803b00; +} + +.rst-content .danger, +.rst-content .error, +.rst-content .wy-alert-danger.admonition, +.rst-content .wy-alert-danger.admonition-todo, +.rst-content .wy-alert-danger.attention, +.rst-content .wy-alert-danger.caution, +.rst-content .wy-alert-danger.hint, +.rst-content .wy-alert-danger.important, +.rst-content .wy-alert-danger.note, +.rst-content .wy-alert-danger.seealso, +.rst-content .wy-alert-danger.tip, +.rst-content .wy-alert-danger.warning, +.wy-alert.wy-alert-danger { + background-color: #82231a; +} + +.rst-content .danger .admonition-title, +.rst-content .danger .wy-alert-title, +.rst-content .error .admonition-title, +.rst-content .error .wy-alert-title, +.rst-content .wy-alert-danger.admonition-todo .admonition-title, +.rst-content .wy-alert-danger.admonition-todo .wy-alert-title, +.rst-content .wy-alert-danger.admonition .admonition-title, +.rst-content .wy-alert-danger.admonition .wy-alert-title, +.rst-content .wy-alert-danger.attention .admonition-title, +.rst-content .wy-alert-danger.attention .wy-alert-title, +.rst-content .wy-alert-danger.caution .admonition-title, +.rst-content .wy-alert-danger.caution .wy-alert-title, +.rst-content .wy-alert-danger.hint .admonition-title, +.rst-content .wy-alert-danger.hint .wy-alert-title, +.rst-content .wy-alert-danger.important .admonition-title, +.rst-content .wy-alert-danger.important .wy-alert-title, +.rst-content .wy-alert-danger.note .admonition-title, +.rst-content .wy-alert-danger.note .wy-alert-title, +.rst-content .wy-alert-danger.seealso .admonition-title, +.rst-content .wy-alert-danger.seealso .wy-alert-title, +.rst-content .wy-alert-danger.tip .admonition-title, +.rst-content .wy-alert-danger.tip .wy-alert-title, +.rst-content .wy-alert-danger.warning .admonition-title, +.rst-content .wy-alert-danger.warning .wy-alert-title, +.rst-content .wy-alert.wy-alert-danger .admonition-title, +.wy-alert.wy-alert-danger .rst-content .admonition-title, +.wy-alert.wy-alert-danger .wy-alert-title { + background-color: #b9372b; +} + +.wy-nav-top { + background-color: #0b152d; +} + +.rst-content table.docutils thead, +.rst-content table.field-list thead, +.wy-table thead { + color: var(--dark-text-color); +} + +.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td, +.wy-table-backed, +.wy-table-odd td, +.wy-table-striped tr:nth-child(2n-1) td { + background-color: #181818; +} + +.rst-content table.docutils td, +.wy-table-bordered-all td, +writer-html5 .rst-content table.docutils th, +.rst-content table.docutils, +.wy-table-bordered-all { + border-color: #262626; +} + +.rst-content table.docutils caption, +.rst-content table.field-list caption, +.wy-table caption { + color: var(--dark-text-color); +} + +.wy-menu-vertical li.toctree-l3.current > a, +.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a { + background-color: #18181a; +} From 809f9117b88f84815dfc7b80436d62c9df9efe70 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 8 Oct 2021 00:55:40 -0400 Subject: [PATCH 2/3] thing to know if rrdt has reloaded --- doc/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 631708028..da06d2e9f 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,7 +1,7 @@ .. Bitburner documentation master file, created by sphinx-quickstart on Wed Oct 4 15:03:07 2017. You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. + contain the root `toctree` directive. aaa Welcome to Bitburner's documentation! ===================================== From 0f7ad063ca9596b3dd4d64d09b6be20965b7cc17 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 8 Oct 2021 00:55:55 -0400 Subject: [PATCH 3/3] thing to know if rrdt has reloaded --- doc/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index da06d2e9f..77433ed50 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,13 +1,13 @@ .. Bitburner documentation master file, created by sphinx-quickstart on Wed Oct 4 15:03:07 2017. You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. aaa + contain the root `toctree` directive. Welcome to Bitburner's documentation! ===================================== Bitburner is a programming-based `incremental game `_ that revolves around hacking and cyberpunk themes. The game is currently in the -early beta stage of development. It `can be played here `_. +early beta stage of development. aaa It `can be played here `_. What is Bitburner? ------------------