From bdb8dfa8d2d9ac1668a1a0036d194cb57b168e37 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 31 Jul 2023 15:03:40 +0800 Subject: feat: add commiter --- docs/1.1.1 | 25 - docs/API/index.md | 0 docs/Core/index.md | 49 + docs/RulePackage/Structure/attribute.md | 0 docs/RulePackage/Structure/class.md | 0 docs/RulePackage/Structure/method.md | 0 docs/RulePackage/Write/prepare.md | 0 docs/RulePackage/Write/python.md | 0 docs/RulePackage/Write/write.md | 0 docs/Standard/Term/check/ability.md | 9 + docs/Standard/Term/check/index.md | 14 + docs/Standard/what-is-rule-package.md | 40 + docs/Standard/what-is-standard.md | 0 docs/Standard/why-rule-package.md | 0 docs/docs/API/index.md | 0 docs/docs/Core/index.md | 49 - docs/docs/RulePackage/Structure/attribute.md | 0 docs/docs/RulePackage/Structure/class.md | 0 docs/docs/RulePackage/Structure/method.md | 0 docs/docs/RulePackage/Write/prepare.md | 0 docs/docs/RulePackage/Write/python.md | 0 docs/docs/RulePackage/Write/write.md | 0 docs/docs/Standard/Term/check/ability.md | 9 - docs/docs/Standard/Term/check/index.md | 14 - docs/docs/Standard/what-is-rule-package.md | 40 - docs/docs/Standard/what-is-standard.md | 0 docs/docs/Standard/why-rule-package.md | 0 docs/docs/css/neoteroi-cards.css | 102 - docs/docs/css/neoteroi-gantt.css | 328 - docs/docs/css/neoteroi-mkdocs.css | 1399 ---- docs/docs/css/neoteroi-mkdocs.min.css | 1 - docs/docs/css/neoteroi-spantable.css | 56 - docs/docs/css/neoteroi-timeline.css | 340 - docs/docs/index.md | 5 - docs/docs/javascripts/.gitkeep | 0 docs/docs/javascripts/extra.js | 4 - docs/docs/res/main.pdf | Bin 54209 -> 0 bytes docs/docs/stylesheets/.gitkeep | 0 docs/docs/stylesheets/extra.css | 27 - docs/index.md | 5 + docs/javascripts/.gitkeep | 0 docs/javascripts/extra.js | 4 + docs/mkdocs.yml | 186 - docs/overrides/.gitkeep | 0 docs/overrides/assets/images/bg.jpg | Bin 195735 -> 0 bytes docs/overrides/assets/images/illustration.png | Bin 197865 -> 0 bytes docs/overrides/home.html | 111 - docs/overrides/main.html | 26 - docs/requirements.txt | 9 - docs/res/main.pdf | Bin 0 -> 54209 bytes docs/site/404.html | 621 -- docs/site/assets/images/favicon.png | Bin 1870 -> 0 bytes .../site/assets/javascripts/bundle.220ee61c.min.js | 29 - .../assets/javascripts/bundle.220ee61c.min.js.map | 8 - .../assets/javascripts/lunr/min/lunr.ar.min.js | 1 - .../assets/javascripts/lunr/min/lunr.da.min.js | 18 - .../assets/javascripts/lunr/min/lunr.de.min.js | 18 - .../assets/javascripts/lunr/min/lunr.du.min.js | 18 - .../assets/javascripts/lunr/min/lunr.es.min.js | 18 - .../assets/javascripts/lunr/min/lunr.fi.min.js | 18 - .../assets/javascripts/lunr/min/lunr.fr.min.js | 18 - .../assets/javascripts/lunr/min/lunr.hi.min.js | 1 - .../assets/javascripts/lunr/min/lunr.hu.min.js | 18 - .../assets/javascripts/lunr/min/lunr.hy.min.js | 1 - .../assets/javascripts/lunr/min/lunr.it.min.js | 18 - .../assets/javascripts/lunr/min/lunr.ja.min.js | 1 - .../assets/javascripts/lunr/min/lunr.jp.min.js | 1 - .../assets/javascripts/lunr/min/lunr.kn.min.js | 1 - .../assets/javascripts/lunr/min/lunr.ko.min.js | 1 - .../assets/javascripts/lunr/min/lunr.multi.min.js | 1 - .../assets/javascripts/lunr/min/lunr.nl.min.js | 18 - .../assets/javascripts/lunr/min/lunr.no.min.js | 18 - .../assets/javascripts/lunr/min/lunr.pt.min.js | 18 - .../assets/javascripts/lunr/min/lunr.ro.min.js | 18 - .../assets/javascripts/lunr/min/lunr.ru.min.js | 18 - .../assets/javascripts/lunr/min/lunr.sa.min.js | 1 - .../lunr/min/lunr.stemmer.support.min.js | 1 - .../assets/javascripts/lunr/min/lunr.sv.min.js | 18 - .../assets/javascripts/lunr/min/lunr.ta.min.js | 1 - .../assets/javascripts/lunr/min/lunr.te.min.js | 1 - .../assets/javascripts/lunr/min/lunr.th.min.js | 1 - .../assets/javascripts/lunr/min/lunr.tr.min.js | 18 - .../assets/javascripts/lunr/min/lunr.vi.min.js | 1 - .../assets/javascripts/lunr/min/lunr.zh.min.js | 1 - docs/site/assets/javascripts/lunr/tinyseg.js | 206 - docs/site/assets/javascripts/lunr/wordcut.js | 6708 -------------------- .../javascripts/workers/search.74e28a9f.min.js | 42 - .../javascripts/workers/search.74e28a9f.min.js.map | 8 - docs/site/assets/stylesheets/main.eebd395e.min.css | 1 - .../assets/stylesheets/main.eebd395e.min.css.map | 1 - .../assets/stylesheets/palette.ecc896b0.min.css | 1 - .../stylesheets/palette.ecc896b0.min.css.map | 1 - docs/site/blog/index.html | 756 --- docs/site/changelog/index.html | 765 --- docs/site/css/timeago.css | 15 - docs/site/index.html | 882 --- docs/site/js/timeago.min.js | 2 - docs/site/js/timeago_mkdocs_material.js | 18 - docs/site/search/search_index.json | 1 - docs/site/sitemap.xml | 3 - docs/site/sitemap.xml.gz | Bin 127 -> 0 bytes docs/stylesheets/.gitkeep | 0 docs/stylesheets/extra.css | 27 + docs/stylesheets/neoteroi-cards.css | 102 + docs/stylesheets/neoteroi-gantt.css | 328 + docs/stylesheets/neoteroi-mkdocs.css | 1399 ++++ docs/stylesheets/neoteroi-mkdocs.min.css | 1 + docs/stylesheets/neoteroi-spantable.css | 56 + docs/stylesheets/neoteroi-timeline.css | 340 + 109 files changed, 2374 insertions(+), 13084 deletions(-) delete mode 100644 docs/1.1.1 create mode 100644 docs/API/index.md create mode 100644 docs/Core/index.md create mode 100644 docs/RulePackage/Structure/attribute.md create mode 100644 docs/RulePackage/Structure/class.md create mode 100644 docs/RulePackage/Structure/method.md create mode 100644 docs/RulePackage/Write/prepare.md create mode 100644 docs/RulePackage/Write/python.md create mode 100644 docs/RulePackage/Write/write.md create mode 100644 docs/Standard/Term/check/ability.md create mode 100644 docs/Standard/Term/check/index.md create mode 100644 docs/Standard/what-is-rule-package.md create mode 100644 docs/Standard/what-is-standard.md create mode 100644 docs/Standard/why-rule-package.md delete mode 100644 docs/docs/API/index.md delete mode 100644 docs/docs/Core/index.md delete mode 100644 docs/docs/RulePackage/Structure/attribute.md delete mode 100644 docs/docs/RulePackage/Structure/class.md delete mode 100644 docs/docs/RulePackage/Structure/method.md delete mode 100644 docs/docs/RulePackage/Write/prepare.md delete mode 100644 docs/docs/RulePackage/Write/python.md delete mode 100644 docs/docs/RulePackage/Write/write.md delete mode 100644 docs/docs/Standard/Term/check/ability.md delete mode 100644 docs/docs/Standard/Term/check/index.md delete mode 100644 docs/docs/Standard/what-is-rule-package.md delete mode 100644 docs/docs/Standard/what-is-standard.md delete mode 100644 docs/docs/Standard/why-rule-package.md delete mode 100644 docs/docs/css/neoteroi-cards.css delete mode 100644 docs/docs/css/neoteroi-gantt.css delete mode 100644 docs/docs/css/neoteroi-mkdocs.css delete mode 100644 docs/docs/css/neoteroi-mkdocs.min.css delete mode 100644 docs/docs/css/neoteroi-spantable.css delete mode 100644 docs/docs/css/neoteroi-timeline.css delete mode 100644 docs/docs/index.md delete mode 100644 docs/docs/javascripts/.gitkeep delete mode 100644 docs/docs/javascripts/extra.js delete mode 100644 docs/docs/res/main.pdf delete mode 100644 docs/docs/stylesheets/.gitkeep delete mode 100644 docs/docs/stylesheets/extra.css create mode 100644 docs/index.md create mode 100644 docs/javascripts/.gitkeep create mode 100644 docs/javascripts/extra.js delete mode 100644 docs/mkdocs.yml delete mode 100644 docs/overrides/.gitkeep delete mode 100644 docs/overrides/assets/images/bg.jpg delete mode 100644 docs/overrides/assets/images/illustration.png delete mode 100644 docs/overrides/home.html delete mode 100644 docs/overrides/main.html delete mode 100644 docs/requirements.txt create mode 100644 docs/res/main.pdf delete mode 100644 docs/site/404.html delete mode 100644 docs/site/assets/images/favicon.png delete mode 100644 docs/site/assets/javascripts/bundle.220ee61c.min.js delete mode 100644 docs/site/assets/javascripts/bundle.220ee61c.min.js.map delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ar.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.da.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.de.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.du.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.es.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.fi.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.fr.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.hi.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.hu.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.hy.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.it.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ja.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.jp.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.kn.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ko.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.multi.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.nl.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.no.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.pt.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ro.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ru.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.sa.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.stemmer.support.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.sv.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.ta.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.te.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.th.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.tr.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.vi.min.js delete mode 100644 docs/site/assets/javascripts/lunr/min/lunr.zh.min.js delete mode 100644 docs/site/assets/javascripts/lunr/tinyseg.js delete mode 100644 docs/site/assets/javascripts/lunr/wordcut.js delete mode 100644 docs/site/assets/javascripts/workers/search.74e28a9f.min.js delete mode 100644 docs/site/assets/javascripts/workers/search.74e28a9f.min.js.map delete mode 100644 docs/site/assets/stylesheets/main.eebd395e.min.css delete mode 100644 docs/site/assets/stylesheets/main.eebd395e.min.css.map delete mode 100644 docs/site/assets/stylesheets/palette.ecc896b0.min.css delete mode 100644 docs/site/assets/stylesheets/palette.ecc896b0.min.css.map delete mode 100644 docs/site/blog/index.html delete mode 100644 docs/site/changelog/index.html delete mode 100644 docs/site/css/timeago.css delete mode 100644 docs/site/index.html delete mode 100644 docs/site/js/timeago.min.js delete mode 100644 docs/site/js/timeago_mkdocs_material.js delete mode 100644 docs/site/search/search_index.json delete mode 100644 docs/site/sitemap.xml delete mode 100644 docs/site/sitemap.xml.gz create mode 100644 docs/stylesheets/.gitkeep create mode 100644 docs/stylesheets/extra.css create mode 100644 docs/stylesheets/neoteroi-cards.css create mode 100644 docs/stylesheets/neoteroi-gantt.css create mode 100644 docs/stylesheets/neoteroi-mkdocs.css create mode 100644 docs/stylesheets/neoteroi-mkdocs.min.css create mode 100644 docs/stylesheets/neoteroi-spantable.css create mode 100644 docs/stylesheets/neoteroi-timeline.css (limited to 'docs') diff --git a/docs/1.1.1 b/docs/1.1.1 deleted file mode 100644 index a6480469..00000000 --- a/docs/1.1.1 +++ /dev/null @@ -1,25 +0,0 @@ -Requirement already satisfied: mkdocs-git-committers-plugin-2 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (1.1.2) -Requirement already satisfied: beautifulsoup4 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs-git-committers-plugin-2) (4.12.2) -Requirement already satisfied: gitpython in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs-git-committers-plugin-2) (3.1.32) -Requirement already satisfied: mkdocs>=1.0.3 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs-git-committers-plugin-2) (1.4.3) -Requirement already satisfied: requests in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs-git-committers-plugin-2) (2.31.0) -Requirement already satisfied: click>=7.0 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (8.1.3) -Requirement already satisfied: colorama>=0.4 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (0.4.6) -Requirement already satisfied: ghp-import>=1.0 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (2.1.0) -Requirement already satisfied: jinja2>=2.11.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (3.1.2) -Requirement already satisfied: markdown<3.4,>=3.2.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (3.3.7) -Requirement already satisfied: mergedeep>=1.3.4 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (1.3.4) -Requirement already satisfied: packaging>=20.5 in c:\users\22256\appdata\roaming\python\python311\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (23.1) -Requirement already satisfied: pyyaml-env-tag>=0.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (0.1) -Requirement already satisfied: pyyaml>=5.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (6.0) -Requirement already satisfied: watchdog>=2.0 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (3.0.0) -Requirement already satisfied: soupsieve>1.2 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from beautifulsoup4->mkdocs-git-committers-plugin-2) (2.4.1) -Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from gitpython->mkdocs-git-committers-plugin-2) (4.0.10) -Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from requests->mkdocs-git-committers-plugin-2) (3.1.0) -Requirement already satisfied: idna<4,>=2.5 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from requests->mkdocs-git-committers-plugin-2) (3.4) -Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from requests->mkdocs-git-committers-plugin-2) (1.26.16) -Requirement already satisfied: certifi>=2017.4.17 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from requests->mkdocs-git-committers-plugin-2) (2023.5.7) -Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\22256\appdata\roaming\python\python311\site-packages (from ghp-import>=1.0->mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (2.8.2) -Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from gitdb<5,>=4.0.1->gitpython->mkdocs-git-committers-plugin-2) (5.0.0) -Requirement already satisfied: MarkupSafe>=2.0 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from jinja2>=2.11.1->mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (2.1.3) -Requirement already satisfied: six>=1.5 in c:\users\22256\appdata\local\programs\python\python311\lib\site-packages (from python-dateutil>=2.8.1->ghp-import>=1.0->mkdocs>=1.0.3->mkdocs-git-committers-plugin-2) (1.16.0) diff --git a/docs/API/index.md b/docs/API/index.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/Core/index.md b/docs/Core/index.md new file mode 100644 index 00000000..3f3422b6 --- /dev/null +++ b/docs/Core/index.md @@ -0,0 +1,49 @@ +

HydroRollCore'水系核心

+ +

+ + + + + + + + + +

+ +## 🎁 Getting + +1. 安装库 + +在命令行输入。 + +``` shell +git clone https://github.com/HydroRoll-Team/HydroRollCore.git +cd HydroRollCore +poetry install --no-dev +# 或者使用pip +# pip install HydroRollCore +``` + +2. 创建规则包实例 + +``` shell +mkdir myrules && cd myrules && mkdir rule1 +echo.> config.toml && echo.> __init__.py :: 创建空的配置文件和python运行脚本 +``` + +在 `__init__.py` 创建一个 `rule` 实例并继承 `Rule` 基类, 通过编写合适的相关方法与类注册规则包实现规则的自定义。 + +``` python +from HydroRollCore import Rules + +class Myrule(Rules): + """自设规则包,继承 Rules 基类""" +``` + +3. 合理修改你的 `config.toml` 配置文件,完成注册! + +## 📄 License + +[MIT](https://github.com/HydroRoll-Team/HydroRollCore/blob/master/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian) diff --git a/docs/RulePackage/Structure/attribute.md b/docs/RulePackage/Structure/attribute.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/RulePackage/Structure/class.md b/docs/RulePackage/Structure/class.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/RulePackage/Structure/method.md b/docs/RulePackage/Structure/method.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/RulePackage/Write/prepare.md b/docs/RulePackage/Write/prepare.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/RulePackage/Write/python.md b/docs/RulePackage/Write/python.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/RulePackage/Write/write.md b/docs/RulePackage/Write/write.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/Standard/Term/check/ability.md b/docs/Standard/Term/check/ability.md new file mode 100644 index 00000000..6aab62b2 --- /dev/null +++ b/docs/Standard/Term/check/ability.md @@ -0,0 +1,9 @@ +--- +title: ability 检定 +icon: material/tooltip-plus +status: question +--- +!!! warning + 关于这部分内容请[移步正式术语][redirect]: [`check 检定`](/Standard/Term/check/) + + [redirect]: https://HydroRollCore.retrofor.space "我为什么会看到此项内容?" \ No newline at end of file diff --git a/docs/Standard/Term/check/index.md b/docs/Standard/Term/check/index.md new file mode 100644 index 00000000..ced50585 --- /dev/null +++ b/docs/Standard/Term/check/index.md @@ -0,0 +1,14 @@ +--- +title: check 检定 +--- + +!!! tip + 这是一个可选实现但是{==建议尽量必须实现==}的方法,主要表现在规则书正是检定方法不同而有所不同上。 + +### 方法说明 + +使用`check`或者`ability`方法, 必须对检定结果设定一个完整的输出判定范围。 + +### 检定结果表 + +如[`方法`](#_1)所言,你必须为检定的结果设计一个完整的输出判定范围,因此你需要严格并且合理的分配划分界限,保证所有情况都在允许范围内有一个类似”成功””失败”的输出。 diff --git a/docs/Standard/what-is-rule-package.md b/docs/Standard/what-is-rule-package.md new file mode 100644 index 00000000..da402b6a --- /dev/null +++ b/docs/Standard/what-is-rule-package.md @@ -0,0 +1,40 @@ +--- +title: "什么是规则包?" +--- + +规则包是水系核心用来加载的对象,可以理解为水系核心加载的一个一个规则实例。 + +规则包更类似于插件的设计,所以规则包也可以是一个Python文件或者一个Python包,但它必须像插件那样继承一个像Plugin这样的类(不然无法读取,我们姑且叫这个类为Rule),以及在Rule的子类里实现一些像handle()或者rule()这样必须实现的方法(也叫函数),而这些必须实现的方法,就是我们要讨论的,一个通用规则包标准就是明确了一个继承自Rule类的子类它本身应该实现什么方法。 + +举个例子(随便写的,其中一些必须实现的属性或者类名都是不确定的,以后或许会改): + +``` python +from HydroRolicore import RuLe + +class MyRule(Rule): + """我的自定义规则包 + + check 函数是必须实现的方法之一 + name属性是必须实现的属性之一,用来定义这个规则包的名字 + priority是可选实现的属性之一,默认0 + """ + + name = "我的自定义规则包" + priority = 0 # 优先级 + + def check(self): + """检定方法 + + self.result 是需要检定时计算的结果,可以直接使用 + self.rule.ability 是Rule类里提供的用于判断检定情况的属性 + """ + + if self.result < 5 and self.result > 0: + return self.rule.ability.success # 返回大成功时骰主自定义的大成功文本 + else: + ... # 其他的检定情况 +``` + +这样就实现了一个水系规则包,当pl使用检定掷骰指令时就会调用check()方法,如果检定结果数值小于5且大于0那么返回大成功。 + +我们要做的通用规则包标准就是这样一个“到底需要在Rule的子类MyRule里必须实现哪些方法?”的问题。 diff --git a/docs/Standard/what-is-standard.md b/docs/Standard/what-is-standard.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/Standard/why-rule-package.md b/docs/Standard/why-rule-package.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/docs/API/index.md b/docs/docs/API/index.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/Core/index.md b/docs/docs/Core/index.md deleted file mode 100644 index 3f3422b6..00000000 --- a/docs/docs/Core/index.md +++ /dev/null @@ -1,49 +0,0 @@ -

HydroRollCore'水系核心

- -

- - - - - - - - - -

- -## 🎁 Getting - -1. 安装库 - -在命令行输入。 - -``` shell -git clone https://github.com/HydroRoll-Team/HydroRollCore.git -cd HydroRollCore -poetry install --no-dev -# 或者使用pip -# pip install HydroRollCore -``` - -2. 创建规则包实例 - -``` shell -mkdir myrules && cd myrules && mkdir rule1 -echo.> config.toml && echo.> __init__.py :: 创建空的配置文件和python运行脚本 -``` - -在 `__init__.py` 创建一个 `rule` 实例并继承 `Rule` 基类, 通过编写合适的相关方法与类注册规则包实现规则的自定义。 - -``` python -from HydroRollCore import Rules - -class Myrule(Rules): - """自设规则包,继承 Rules 基类""" -``` - -3. 合理修改你的 `config.toml` 配置文件,完成注册! - -## 📄 License - -[MIT](https://github.com/HydroRoll-Team/HydroRollCore/blob/master/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian) diff --git a/docs/docs/RulePackage/Structure/attribute.md b/docs/docs/RulePackage/Structure/attribute.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/RulePackage/Structure/class.md b/docs/docs/RulePackage/Structure/class.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/RulePackage/Structure/method.md b/docs/docs/RulePackage/Structure/method.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/RulePackage/Write/prepare.md b/docs/docs/RulePackage/Write/prepare.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/RulePackage/Write/python.md b/docs/docs/RulePackage/Write/python.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/RulePackage/Write/write.md b/docs/docs/RulePackage/Write/write.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/Standard/Term/check/ability.md b/docs/docs/Standard/Term/check/ability.md deleted file mode 100644 index 6aab62b2..00000000 --- a/docs/docs/Standard/Term/check/ability.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: ability 检定 -icon: material/tooltip-plus -status: question ---- -!!! warning - 关于这部分内容请[移步正式术语][redirect]: [`check 检定`](/Standard/Term/check/) - - [redirect]: https://HydroRollCore.retrofor.space "我为什么会看到此项内容?" \ No newline at end of file diff --git a/docs/docs/Standard/Term/check/index.md b/docs/docs/Standard/Term/check/index.md deleted file mode 100644 index ced50585..00000000 --- a/docs/docs/Standard/Term/check/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: check 检定 ---- - -!!! tip - 这是一个可选实现但是{==建议尽量必须实现==}的方法,主要表现在规则书正是检定方法不同而有所不同上。 - -### 方法说明 - -使用`check`或者`ability`方法, 必须对检定结果设定一个完整的输出判定范围。 - -### 检定结果表 - -如[`方法`](#_1)所言,你必须为检定的结果设计一个完整的输出判定范围,因此你需要严格并且合理的分配划分界限,保证所有情况都在允许范围内有一个类似”成功””失败”的输出。 diff --git a/docs/docs/Standard/what-is-rule-package.md b/docs/docs/Standard/what-is-rule-package.md deleted file mode 100644 index 05c2921f..00000000 --- a/docs/docs/Standard/what-is-rule-package.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "什么是规则包?" ---- - -规则包是水系核心用来加载的对象,可以理解为水系核心加载的一个一个规则实例。 - -规则包类似插件的设计,所以规则包也可以是一个Python文件或者一个Python包,但它必须像插件那样继承一个像Plugin这样的类(不然无法读取,我们姑且叫这个类为Rule),以及在Rule的子类里实现一些像handle()或者rule()这样必须实现的方法(也叫函数),而这些必须实现的方法,就是我们要讨论的,一个通用规则包标准就是明确了一个继承自Rule类的子类它本身应该实现什么方法。 - -举个例子(随便写的,其中一些必须实现的属性或者类名都是不确定的,以后或许会改): - -``` python -from HydroRolicore import RuLe - -class MyRule(Rule): - """我的自定义规则包 - - check 函数是必须实现的方法之一 - name属性是必须实现的属性之一,用来定义这个规则包的名字 - priority是可选实现的属性之一,默认0 - """ - - name = "我的自定义规则包" - priority = 0 # 优先级 - - def check(self): - """检定方法 - - self.result 是需要检定时计算的结果,可以直接使用 - self.rule.ability 是Rule类里提供的用于判断检定情况的属性 - """ - - if self.result < 5 and self.result > 0: - return self.rule.ability.success # 返回大成功时骰主自定义的大成功文本 - else: - ... # 其他的检定情况 -``` - -这样就实现了一个水系规则包,当pl使用检定掷骰指令时就会调用check()方法,如果检定结果数值小于5且大于0那么返回大成功。 - -我们要做的通用规则包标准就是这样一个“到底需要在Rule的子类MyRule里必须实现哪些方法?”的问题。 diff --git a/docs/docs/Standard/what-is-standard.md b/docs/docs/Standard/what-is-standard.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/Standard/why-rule-package.md b/docs/docs/Standard/why-rule-package.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/css/neoteroi-cards.css b/docs/docs/css/neoteroi-cards.css deleted file mode 100644 index 5a5152f5..00000000 --- a/docs/docs/css/neoteroi-cards.css +++ /dev/null @@ -1,102 +0,0 @@ -.nt-cards.nt-grid { - display: grid; - grid-auto-columns: 1fr; - gap: 0.5rem; - max-width: 100vw; - overflow-x: auto; - padding: 1px; -} -.nt-cards.nt-grid.cols-1 { - grid-template-columns: repeat(1, 1fr); -} -.nt-cards.nt-grid.cols-2 { - grid-template-columns: repeat(2, 1fr); -} -.nt-cards.nt-grid.cols-3 { - grid-template-columns: repeat(3, 1fr); -} -.nt-cards.nt-grid.cols-4 { - grid-template-columns: repeat(4, 1fr); -} -.nt-cards.nt-grid.cols-5 { - grid-template-columns: repeat(5, 1fr); -} -.nt-cards.nt-grid.cols-6 { - grid-template-columns: repeat(6, 1fr); -} - -@media only screen and (max-width: 400px) { - .nt-cards.nt-grid { - grid-template-columns: repeat(1, 1fr) !important; - } -} -.nt-card { - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} -.nt-card:hover { - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 3px 1px -2px rgba(0, 0, 0, 0.3), 0 1px 5px 0 rgba(0, 0, 0, 0.22); -} - -[data-md-color-scheme=slate] .nt-card { - box-shadow: 0 2px 2px 0 rgba(4, 40, 33, 0.14), 0 3px 1px -2px rgba(40, 86, 94, 0.47), 0 1px 5px 0 rgba(139, 252, 255, 0.64); -} -[data-md-color-scheme=slate] .nt-card:hover { - box-shadow: 0 2px 2px 0 rgba(0, 255, 206, 0.14), 0 3px 1px -2px rgba(33, 156, 177, 0.47), 0 1px 5px 0 rgba(96, 251, 255, 0.64); -} - -.nt-card > a { - color: var(--md-default-fg-color); -} - -.nt-card > a > div { - cursor: pointer; -} - -.nt-card { - padding: 5px; - margin-bottom: 0.5rem; -} - -.nt-card-title { - font-size: 1rem; - font-weight: bold; - margin: 4px 0 8px 0; - line-height: 22px; -} - -.nt-card-content { - padding: 0.4rem 0.8rem 0.8rem 0.8rem; -} - -.nt-card-text { - font-size: 14px; - padding: 0; - margin: 0; -} - -.nt-card .nt-card-image { - text-align: center; - border-radius: 2px; - background-position: center center; - background-size: cover; - background-repeat: no-repeat; - min-height: 120px; -} - -.nt-card .nt-card-image.tags img { - margin-top: 12px; -} - -.nt-card .nt-card-image img { - height: 105px; - margin-top: 5px; -} - -.nt-card a:hover, -.nt-card a:focus { - color: var(--md-accent-fg-color); -} - -.nt-card h2 { - margin: 0; -} diff --git a/docs/docs/css/neoteroi-gantt.css b/docs/docs/css/neoteroi-gantt.css deleted file mode 100644 index f93f202e..00000000 --- a/docs/docs/css/neoteroi-gantt.css +++ /dev/null @@ -1,328 +0,0 @@ -/** - * Extra CSS for the neoteroi.projects.gantt extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -:root { - --nt-scrollbar-color: #2751b0; - --nt-plan-actions-height: 24px; - --nt-units-background: #ff9800; - --nt-months-background: #2751b0; - --nt-plan-vertical-line-color: #a3a3a3ad; -} - -.nt-pastello { - --nt-scrollbar-color: #9fb8f4; - --nt-units-background: #f5dc82; - --nt-months-background: #5b7fd1; -} - -[data-md-color-scheme=slate] { - --nt-units-background: #003773; -} -[data-md-color-scheme=slate] .nt-pastello { - --nt-units-background: #3f4997; -} - -.nt-plan-root { - min-height: 200px; - scrollbar-width: 20px; - scrollbar-color: var(--nt-scrollbar-color); - display: flex; -} -.nt-plan-root ::-webkit-scrollbar { - width: 20px; -} -.nt-plan-root ::-webkit-scrollbar-track { - box-shadow: inset 0 0 5px grey; - border-radius: 10px; -} -.nt-plan-root ::-webkit-scrollbar-thumb { - background: var(--nt-scrollbar-color); - border-radius: 10px; -} -.nt-plan-root .nt-plan { - flex: 80%; -} -.nt-plan-root.no-groups .nt-plan-periods { - padding-left: 0; -} -.nt-plan-root.no-groups .nt-plan-group-summary { - display: none; -} -.nt-plan-root .nt-timeline-dot.bigger { - top: -10px; -} -.nt-plan-root .nt-timeline-dot.bigger[title] { - cursor: help; -} - -.nt-plan { - white-space: nowrap; - overflow-x: auto; - display: flex; -} -.nt-plan .ug-timeline-dot { - left: 368px; - top: -8px; - cursor: help; -} - -.months { - display: flex; -} - -.month { - flex: auto; - display: inline-block; - box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px inset; - background-color: var(--nt-months-background); - color: white; - text-transform: uppercase; - font-family: Roboto, Helvetica, Arial, sans-serif; - padding: 2px 5px; - font-size: 12px; - border: 1px solid #000; - width: 150px; - border-radius: 8px; -} - -.nt-plan-group-activities { - flex: auto; - position: relative; -} - -.nt-vline { - border-left: 1px dashed var(--nt-plan-vertical-line-color); - height: 100%; - left: 0; - position: absolute; - margin-left: -0.5px; - top: 0; - -webkit-transition: all 0.5s linear !important; - -moz-transition: all 0.5s linear !important; - -ms-transition: all 0.5s linear !important; - -o-transition: all 0.5s linear !important; - transition: all 0.5s linear !important; - z-index: -2; -} - -.nt-plan-activity { - display: flex; - margin: 2px 0; - background-color: rgba(187, 187, 187, 0.2509803922); -} - -.actions { - height: var(--nt-plan-actions-height); -} - -.actions { - position: relative; -} - -.period { - display: inline-block; - height: var(--nt-plan-actions-height); - width: 120px; - position: absolute; - left: 0px; - background: #1da1f2; - border-radius: 5px; - transition: all 0.5s; - cursor: help; - -webkit-transition: width 1s ease-in-out; - -moz-transition: width 1s ease-in-out; - -o-transition: width 1s ease-in-out; - transition: width 1s ease-in-out; -} -.period .nt-tooltip { - display: none; - top: 30px; - position: relative; - padding: 1rem; - text-align: center; - font-size: 12px; -} -.period:hover .nt-tooltip { - display: inline-block; -} - -.period-0 { - left: 340px; - visibility: visible; - background-color: rgb(69, 97, 101); -} - -.period-1 { - left: 40px; - visibility: visible; - background-color: green; -} - -.period-2 { - left: 120px; - visibility: visible; - background-color: pink; - width: 80px; -} - -.period-3 { - left: 190px; - visibility: visible; - background-color: darkred; - width: 150px; -} - -.weeks > span, -.days > span { - height: 25px; -} - -.weeks > span { - display: inline-block; - margin: 0; - padding: 0; - font-weight: bold; -} -.weeks > span .week-text { - font-size: 10px; - position: absolute; - display: inline-block; - padding: 3px 4px; -} - -.days { - z-index: -2; - position: relative; -} - -.day-text { - font-size: 10px; - position: absolute; - display: inline-block; - padding: 3px 4px; -} - -.period span { - font-size: 12px; - vertical-align: top; - margin-left: 4px; - color: black; - background: rgba(255, 255, 255, 0.6588235294); - border-radius: 6px; - padding: 0 4px; -} - -.weeks, -.days { - height: 20px; - display: flex; - box-sizing: content-box; -} - -.months { - display: flex; -} - -.week, -.day { - height: 20px; - position: relative; - border: 1; - flex: auto; - border: 2px solid white; - border-radius: 4px; - background-color: var(--nt-units-background); - cursor: help; -} - -.years { - display: flex; -} - -.year { - text-align: center; - border-right: 1px solid var(--nt-plan-vertical-line-color); - font-weight: bold; -} -.year:first-child { - border-left: 1px solid var(--nt-plan-vertical-line-color); -} -.year:first-child:last-child { - width: 100%; -} - -.quarters { - display: flex; -} - -.quarter { - width: 12.5%; - text-align: center; - border-right: 1px solid var(--nt-plan-vertical-line-color); - font-weight: bold; -} -.quarter:first-child { - border-left: 1px solid var(--nt-plan-vertical-line-color); -} - -.nt-plan-group { - margin: 20px 0; - position: relative; -} - -.nt-plan-group { - display: flex; -} - -.nt-plan-group-summary { - background: #2751b0; - width: 150px; - white-space: normal; - padding: 0.1rem 0.5rem; - border-radius: 5px; - color: #fff; - z-index: 3; -} -.nt-plan-group-summary p { - margin: 0; - padding: 0; - font-size: 0.6rem; - color: #fff; -} - -.nt-plan-group-summary, -.month, -.period, -.week, -.day, -.nt-tooltip { - border: 3px solid white; - box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.nt-plan-periods { - padding-left: 150px; -} - -.months { - z-index: 2; - position: relative; -} - -.weeks { - position: relative; - top: -2px; - z-index: 0; -} - -.month, -.quarter, -.year, -.week, -.day, -.nt-tooltip { - font-family: Roboto, Helvetica, Arial, sans-serif; - box-sizing: border-box; -} diff --git a/docs/docs/css/neoteroi-mkdocs.css b/docs/docs/css/neoteroi-mkdocs.css deleted file mode 100644 index ee7d53a5..00000000 --- a/docs/docs/css/neoteroi-mkdocs.css +++ /dev/null @@ -1,1399 +0,0 @@ -/** - * All CSS for the neoteroi.projects.gantt extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -:root { - --nt-color-0: #CD853F; - --nt-color-1: #B22222; - --nt-color-2: #000080; - --nt-color-3: #4B0082; - --nt-color-4: #3CB371; - --nt-color-5: #D2B48C; - --nt-color-6: #FF00FF; - --nt-color-7: #98FB98; - --nt-color-8: #FFEBCD; - --nt-color-9: #2E8B57; - --nt-color-10: #6A5ACD; - --nt-color-11: #48D1CC; - --nt-color-12: #FFA500; - --nt-color-13: #F4A460; - --nt-color-14: #A52A2A; - --nt-color-15: #FFE4C4; - --nt-color-16: #FF4500; - --nt-color-17: #AFEEEE; - --nt-color-18: #FA8072; - --nt-color-19: #2F4F4F; - --nt-color-20: #FFDAB9; - --nt-color-21: #BC8F8F; - --nt-color-22: #FFC0CB; - --nt-color-23: #00FA9A; - --nt-color-24: #F0FFF0; - --nt-color-25: #FFFACD; - --nt-color-26: #F5F5F5; - --nt-color-27: #FF6347; - --nt-color-28: #FFFFF0; - --nt-color-29: #7FFFD4; - --nt-color-30: #E9967A; - --nt-color-31: #7B68EE; - --nt-color-32: #FFF8DC; - --nt-color-33: #0000CD; - --nt-color-34: #D2691E; - --nt-color-35: #708090; - --nt-color-36: #5F9EA0; - --nt-color-37: #008080; - --nt-color-38: #008000; - --nt-color-39: #FFE4E1; - --nt-color-40: #FFFF00; - --nt-color-41: #FFFAF0; - --nt-color-42: #DCDCDC; - --nt-color-43: #ADFF2F; - --nt-color-44: #ADD8E6; - --nt-color-45: #8B008B; - --nt-color-46: #7FFF00; - --nt-color-47: #800000; - --nt-color-48: #20B2AA; - --nt-color-49: #556B2F; - --nt-color-50: #778899; - --nt-color-51: #E6E6FA; - --nt-color-52: #FFFAFA; - --nt-color-53: #FF7F50; - --nt-color-54: #FF0000; - --nt-color-55: #F5DEB3; - --nt-color-56: #008B8B; - --nt-color-57: #66CDAA; - --nt-color-58: #808000; - --nt-color-59: #FAF0E6; - --nt-color-60: #00BFFF; - --nt-color-61: #C71585; - --nt-color-62: #00FFFF; - --nt-color-63: #8B4513; - --nt-color-64: #F0F8FF; - --nt-color-65: #FAEBD7; - --nt-color-66: #8B0000; - --nt-color-67: #4682B4; - --nt-color-68: #F0E68C; - --nt-color-69: #BDB76B; - --nt-color-70: #A0522D; - --nt-color-71: #FAFAD2; - --nt-color-72: #FFD700; - --nt-color-73: #DEB887; - --nt-color-74: #E0FFFF; - --nt-color-75: #8A2BE2; - --nt-color-76: #32CD32; - --nt-color-77: #87CEFA; - --nt-color-78: #00CED1; - --nt-color-79: #696969; - --nt-color-80: #DDA0DD; - --nt-color-81: #EE82EE; - --nt-color-82: #FFB6C1; - --nt-color-83: #8FBC8F; - --nt-color-84: #D8BFD8; - --nt-color-85: #9400D3; - --nt-color-86: #A9A9A9; - --nt-color-87: #FFFFE0; - --nt-color-88: #FFF5EE; - --nt-color-89: #FFF0F5; - --nt-color-90: #FFDEAD; - --nt-color-91: #800080; - --nt-color-92: #B0E0E6; - --nt-color-93: #9932CC; - --nt-color-94: #DAA520; - --nt-color-95: #F0FFFF; - --nt-color-96: #40E0D0; - --nt-color-97: #00FF7F; - --nt-color-98: #006400; - --nt-color-99: #808080; - --nt-color-100: #87CEEB; - --nt-color-101: #0000FF; - --nt-color-102: #6495ED; - --nt-color-103: #FDF5E6; - --nt-color-104: #B8860B; - --nt-color-105: #BA55D3; - --nt-color-106: #C0C0C0; - --nt-color-107: #000000; - --nt-color-108: #F08080; - --nt-color-109: #B0C4DE; - --nt-color-110: #00008B; - --nt-color-111: #6B8E23; - --nt-color-112: #FFE4B5; - --nt-color-113: #FFA07A; - --nt-color-114: #9ACD32; - --nt-color-115: #FFFFFF; - --nt-color-116: #F5F5DC; - --nt-color-117: #90EE90; - --nt-color-118: #1E90FF; - --nt-color-119: #7CFC00; - --nt-color-120: #FF69B4; - --nt-color-121: #F8F8FF; - --nt-color-122: #F5FFFA; - --nt-color-123: #00FF00; - --nt-color-124: #D3D3D3; - --nt-color-125: #DB7093; - --nt-color-126: #DA70D6; - --nt-color-127: #FF1493; - --nt-color-128: #228B22; - --nt-color-129: #FFEFD5; - --nt-color-130: #4169E1; - --nt-color-131: #191970; - --nt-color-132: #9370DB; - --nt-color-133: #483D8B; - --nt-color-134: #FF8C00; - --nt-color-135: #EEE8AA; - --nt-color-136: #CD5C5C; - --nt-color-137: #DC143C; -} - -:root { - --nt-group-0-main: #000000; - --nt-group-0-dark: #FFFFFF; - --nt-group-0-light: #000000; - --nt-group-0-main-bg: #F44336; - --nt-group-0-dark-bg: #BA000D; - --nt-group-0-light-bg: #FF7961; - --nt-group-1-main: #000000; - --nt-group-1-dark: #FFFFFF; - --nt-group-1-light: #000000; - --nt-group-1-main-bg: #E91E63; - --nt-group-1-dark-bg: #B0003A; - --nt-group-1-light-bg: #FF6090; - --nt-group-2-main: #FFFFFF; - --nt-group-2-dark: #FFFFFF; - --nt-group-2-light: #000000; - --nt-group-2-main-bg: #9C27B0; - --nt-group-2-dark-bg: #6A0080; - --nt-group-2-light-bg: #D05CE3; - --nt-group-3-main: #FFFFFF; - --nt-group-3-dark: #FFFFFF; - --nt-group-3-light: #000000; - --nt-group-3-main-bg: #673AB7; - --nt-group-3-dark-bg: #320B86; - --nt-group-3-light-bg: #9A67EA; - --nt-group-4-main: #FFFFFF; - --nt-group-4-dark: #FFFFFF; - --nt-group-4-light: #000000; - --nt-group-4-main-bg: #3F51B5; - --nt-group-4-dark-bg: #002984; - --nt-group-4-light-bg: #757DE8; - --nt-group-5-main: #000000; - --nt-group-5-dark: #FFFFFF; - --nt-group-5-light: #000000; - --nt-group-5-main-bg: #2196F3; - --nt-group-5-dark-bg: #0069C0; - --nt-group-5-light-bg: #6EC6FF; - --nt-group-6-main: #000000; - --nt-group-6-dark: #FFFFFF; - --nt-group-6-light: #000000; - --nt-group-6-main-bg: #03A9F4; - --nt-group-6-dark-bg: #007AC1; - --nt-group-6-light-bg: #67DAFF; - --nt-group-7-main: #000000; - --nt-group-7-dark: #000000; - --nt-group-7-light: #000000; - --nt-group-7-main-bg: #00BCD4; - --nt-group-7-dark-bg: #008BA3; - --nt-group-7-light-bg: #62EFFF; - --nt-group-8-main: #000000; - --nt-group-8-dark: #FFFFFF; - --nt-group-8-light: #000000; - --nt-group-8-main-bg: #009688; - --nt-group-8-dark-bg: #00675B; - --nt-group-8-light-bg: #52C7B8; - --nt-group-9-main: #000000; - --nt-group-9-dark: #FFFFFF; - --nt-group-9-light: #000000; - --nt-group-9-main-bg: #4CAF50; - --nt-group-9-dark-bg: #087F23; - --nt-group-9-light-bg: #80E27E; - --nt-group-10-main: #000000; - --nt-group-10-dark: #000000; - --nt-group-10-light: #000000; - --nt-group-10-main-bg: #8BC34A; - --nt-group-10-dark-bg: #5A9216; - --nt-group-10-light-bg: #BEF67A; - --nt-group-11-main: #000000; - --nt-group-11-dark: #000000; - --nt-group-11-light: #000000; - --nt-group-11-main-bg: #CDDC39; - --nt-group-11-dark-bg: #99AA00; - --nt-group-11-light-bg: #FFFF6E; - --nt-group-12-main: #000000; - --nt-group-12-dark: #000000; - --nt-group-12-light: #000000; - --nt-group-12-main-bg: #FFEB3B; - --nt-group-12-dark-bg: #C8B900; - --nt-group-12-light-bg: #FFFF72; - --nt-group-13-main: #000000; - --nt-group-13-dark: #000000; - --nt-group-13-light: #000000; - --nt-group-13-main-bg: #FFC107; - --nt-group-13-dark-bg: #C79100; - --nt-group-13-light-bg: #FFF350; - --nt-group-14-main: #000000; - --nt-group-14-dark: #000000; - --nt-group-14-light: #000000; - --nt-group-14-main-bg: #FF9800; - --nt-group-14-dark-bg: #C66900; - --nt-group-14-light-bg: #FFC947; - --nt-group-15-main: #000000; - --nt-group-15-dark: #FFFFFF; - --nt-group-15-light: #000000; - --nt-group-15-main-bg: #FF5722; - --nt-group-15-dark-bg: #C41C00; - --nt-group-15-light-bg: #FF8A50; - --nt-group-16-main: #FFFFFF; - --nt-group-16-dark: #FFFFFF; - --nt-group-16-light: #000000; - --nt-group-16-main-bg: #795548; - --nt-group-16-dark-bg: #4B2C20; - --nt-group-16-light-bg: #A98274; - --nt-group-17-main: #000000; - --nt-group-17-dark: #FFFFFF; - --nt-group-17-light: #000000; - --nt-group-17-main-bg: #9E9E9E; - --nt-group-17-dark-bg: #707070; - --nt-group-17-light-bg: #CFCFCF; - --nt-group-18-main: #000000; - --nt-group-18-dark: #FFFFFF; - --nt-group-18-light: #000000; - --nt-group-18-main-bg: #607D8B; - --nt-group-18-dark-bg: #34515E; - --nt-group-18-light-bg: #8EACBB; -} - -.nt-pastello { - --nt-group-0-main: #000000; - --nt-group-0-dark: #000000; - --nt-group-0-light: #000000; - --nt-group-0-main-bg: #EF9A9A; - --nt-group-0-dark-bg: #BA6B6C; - --nt-group-0-light-bg: #FFCCCB; - --nt-group-1-main: #000000; - --nt-group-1-dark: #000000; - --nt-group-1-light: #000000; - --nt-group-1-main-bg: #F48FB1; - --nt-group-1-dark-bg: #BF5F82; - --nt-group-1-light-bg: #FFC1E3; - --nt-group-2-main: #000000; - --nt-group-2-dark: #000000; - --nt-group-2-light: #000000; - --nt-group-2-main-bg: #CE93D8; - --nt-group-2-dark-bg: #9C64A6; - --nt-group-2-light-bg: #FFC4FF; - --nt-group-3-main: #000000; - --nt-group-3-dark: #000000; - --nt-group-3-light: #000000; - --nt-group-3-main-bg: #B39DDB; - --nt-group-3-dark-bg: #836FA9; - --nt-group-3-light-bg: #E6CEFF; - --nt-group-4-main: #000000; - --nt-group-4-dark: #000000; - --nt-group-4-light: #000000; - --nt-group-4-main-bg: #9FA8DA; - --nt-group-4-dark-bg: #6F79A8; - --nt-group-4-light-bg: #D1D9FF; - --nt-group-5-main: #000000; - --nt-group-5-dark: #000000; - --nt-group-5-light: #000000; - --nt-group-5-main-bg: #90CAF9; - --nt-group-5-dark-bg: #5D99C6; - --nt-group-5-light-bg: #C3FDFF; - --nt-group-6-main: #000000; - --nt-group-6-dark: #000000; - --nt-group-6-light: #000000; - --nt-group-6-main-bg: #81D4FA; - --nt-group-6-dark-bg: #4BA3C7; - --nt-group-6-light-bg: #B6FFFF; - --nt-group-7-main: #000000; - --nt-group-7-dark: #000000; - --nt-group-7-light: #000000; - --nt-group-7-main-bg: #80DEEA; - --nt-group-7-dark-bg: #4BACB8; - --nt-group-7-light-bg: #B4FFFF; - --nt-group-8-main: #000000; - --nt-group-8-dark: #000000; - --nt-group-8-light: #000000; - --nt-group-8-main-bg: #80CBC4; - --nt-group-8-dark-bg: #4F9A94; - --nt-group-8-light-bg: #B2FEF7; - --nt-group-9-main: #000000; - --nt-group-9-dark: #000000; - --nt-group-9-light: #000000; - --nt-group-9-main-bg: #A5D6A7; - --nt-group-9-dark-bg: #75A478; - --nt-group-9-light-bg: #D7FFD9; - --nt-group-10-main: #000000; - --nt-group-10-dark: #000000; - --nt-group-10-light: #000000; - --nt-group-10-main-bg: #C5E1A5; - --nt-group-10-dark-bg: #94AF76; - --nt-group-10-light-bg: #F8FFD7; - --nt-group-11-main: #000000; - --nt-group-11-dark: #000000; - --nt-group-11-light: #000000; - --nt-group-11-main-bg: #E6EE9C; - --nt-group-11-dark-bg: #B3BC6D; - --nt-group-11-light-bg: #FFFFCE; - --nt-group-12-main: #000000; - --nt-group-12-dark: #000000; - --nt-group-12-light: #000000; - --nt-group-12-main-bg: #FFF59D; - --nt-group-12-dark-bg: #CBC26D; - --nt-group-12-light-bg: #FFFFCF; - --nt-group-13-main: #000000; - --nt-group-13-dark: #000000; - --nt-group-13-light: #000000; - --nt-group-13-main-bg: #FFE082; - --nt-group-13-dark-bg: #CAAE53; - --nt-group-13-light-bg: #FFFFB3; - --nt-group-14-main: #000000; - --nt-group-14-dark: #000000; - --nt-group-14-light: #000000; - --nt-group-14-main-bg: #FFCC80; - --nt-group-14-dark-bg: #CA9B52; - --nt-group-14-light-bg: #FFFFB0; - --nt-group-15-main: #000000; - --nt-group-15-dark: #000000; - --nt-group-15-light: #000000; - --nt-group-15-main-bg: #FFAB91; - --nt-group-15-dark-bg: #C97B63; - --nt-group-15-light-bg: #FFDDC1; - --nt-group-16-main: #000000; - --nt-group-16-dark: #000000; - --nt-group-16-light: #000000; - --nt-group-16-main-bg: #BCAAA4; - --nt-group-16-dark-bg: #8C7B75; - --nt-group-16-light-bg: #EFDCD5; - --nt-group-17-main: #000000; - --nt-group-17-dark: #000000; - --nt-group-17-light: #000000; - --nt-group-17-main-bg: #EEEEEE; - --nt-group-17-dark-bg: #BCBCBC; - --nt-group-17-light-bg: #FFFFFF; - --nt-group-18-main: #000000; - --nt-group-18-dark: #000000; - --nt-group-18-light: #000000; - --nt-group-18-main-bg: #B0BEC5; - --nt-group-18-dark-bg: #808E95; - --nt-group-18-light-bg: #E2F1F8; -} - -.nt-group-0 .nt-plan-group-summary, -.nt-group-0 .nt-timeline-dot { - color: var(--nt-group-0-dark); - background-color: var(--nt-group-0-dark-bg); -} -.nt-group-0 .period { - color: var(--nt-group-0-main); - background-color: var(--nt-group-0-main-bg); -} - -.nt-group-1 .nt-plan-group-summary, -.nt-group-1 .nt-timeline-dot { - color: var(--nt-group-1-dark); - background-color: var(--nt-group-1-dark-bg); -} -.nt-group-1 .period { - color: var(--nt-group-1-main); - background-color: var(--nt-group-1-main-bg); -} - -.nt-group-2 .nt-plan-group-summary, -.nt-group-2 .nt-timeline-dot { - color: var(--nt-group-2-dark); - background-color: var(--nt-group-2-dark-bg); -} -.nt-group-2 .period { - color: var(--nt-group-2-main); - background-color: var(--nt-group-2-main-bg); -} - -.nt-group-3 .nt-plan-group-summary, -.nt-group-3 .nt-timeline-dot { - color: var(--nt-group-3-dark); - background-color: var(--nt-group-3-dark-bg); -} -.nt-group-3 .period { - color: var(--nt-group-3-main); - background-color: var(--nt-group-3-main-bg); -} - -.nt-group-4 .nt-plan-group-summary, -.nt-group-4 .nt-timeline-dot { - color: var(--nt-group-4-dark); - background-color: var(--nt-group-4-dark-bg); -} -.nt-group-4 .period { - color: var(--nt-group-4-main); - background-color: var(--nt-group-4-main-bg); -} - -.nt-group-5 .nt-plan-group-summary, -.nt-group-5 .nt-timeline-dot { - color: var(--nt-group-5-dark); - background-color: var(--nt-group-5-dark-bg); -} -.nt-group-5 .period { - color: var(--nt-group-5-main); - background-color: var(--nt-group-5-main-bg); -} - -.nt-group-6 .nt-plan-group-summary, -.nt-group-6 .nt-timeline-dot { - color: var(--nt-group-6-dark); - background-color: var(--nt-group-6-dark-bg); -} -.nt-group-6 .period { - color: var(--nt-group-6-main); - background-color: var(--nt-group-6-main-bg); -} - -.nt-group-7 .nt-plan-group-summary, -.nt-group-7 .nt-timeline-dot { - color: var(--nt-group-7-dark); - background-color: var(--nt-group-7-dark-bg); -} -.nt-group-7 .period { - color: var(--nt-group-7-main); - background-color: var(--nt-group-7-main-bg); -} - -.nt-group-8 .nt-plan-group-summary, -.nt-group-8 .nt-timeline-dot { - color: var(--nt-group-8-dark); - background-color: var(--nt-group-8-dark-bg); -} -.nt-group-8 .period { - color: var(--nt-group-8-main); - background-color: var(--nt-group-8-main-bg); -} - -.nt-group-9 .nt-plan-group-summary, -.nt-group-9 .nt-timeline-dot { - color: var(--nt-group-9-dark); - background-color: var(--nt-group-9-dark-bg); -} -.nt-group-9 .period { - color: var(--nt-group-9-main); - background-color: var(--nt-group-9-main-bg); -} - -.nt-group-10 .nt-plan-group-summary, -.nt-group-10 .nt-timeline-dot { - color: var(--nt-group-10-dark); - background-color: var(--nt-group-10-dark-bg); -} -.nt-group-10 .period { - color: var(--nt-group-10-main); - background-color: var(--nt-group-10-main-bg); -} - -.nt-group-11 .nt-plan-group-summary, -.nt-group-11 .nt-timeline-dot { - color: var(--nt-group-11-dark); - background-color: var(--nt-group-11-dark-bg); -} -.nt-group-11 .period { - color: var(--nt-group-11-main); - background-color: var(--nt-group-11-main-bg); -} - -.nt-group-12 .nt-plan-group-summary, -.nt-group-12 .nt-timeline-dot { - color: var(--nt-group-12-dark); - background-color: var(--nt-group-12-dark-bg); -} -.nt-group-12 .period { - color: var(--nt-group-12-main); - background-color: var(--nt-group-12-main-bg); -} - -.nt-group-13 .nt-plan-group-summary, -.nt-group-13 .nt-timeline-dot { - color: var(--nt-group-13-dark); - background-color: var(--nt-group-13-dark-bg); -} -.nt-group-13 .period { - color: var(--nt-group-13-main); - background-color: var(--nt-group-13-main-bg); -} - -.nt-group-14 .nt-plan-group-summary, -.nt-group-14 .nt-timeline-dot { - color: var(--nt-group-14-dark); - background-color: var(--nt-group-14-dark-bg); -} -.nt-group-14 .period { - color: var(--nt-group-14-main); - background-color: var(--nt-group-14-main-bg); -} - -.nt-group-15 .nt-plan-group-summary, -.nt-group-15 .nt-timeline-dot { - color: var(--nt-group-15-dark); - background-color: var(--nt-group-15-dark-bg); -} -.nt-group-15 .period { - color: var(--nt-group-15-main); - background-color: var(--nt-group-15-main-bg); -} - -.nt-group-16 .nt-plan-group-summary, -.nt-group-16 .nt-timeline-dot { - color: var(--nt-group-16-dark); - background-color: var(--nt-group-16-dark-bg); -} -.nt-group-16 .period { - color: var(--nt-group-16-main); - background-color: var(--nt-group-16-main-bg); -} - -.nt-group-17 .nt-plan-group-summary, -.nt-group-17 .nt-timeline-dot { - color: var(--nt-group-17-dark); - background-color: var(--nt-group-17-dark-bg); -} -.nt-group-17 .period { - color: var(--nt-group-17-main); - background-color: var(--nt-group-17-main-bg); -} - -.nt-group-18 .nt-plan-group-summary, -.nt-group-18 .nt-timeline-dot { - color: var(--nt-group-18-dark); - background-color: var(--nt-group-18-dark-bg); -} -.nt-group-18 .period { - color: var(--nt-group-18-main); - background-color: var(--nt-group-18-main-bg); -} - -/** - * Extra CSS file for MkDocs and the neoteroi.timeline extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -.nt-error { - border: 2px dashed darkred; - padding: 0 1rem; - background: #faf9ba; - color: darkred; -} - -.nt-timeline { - margin-top: 30px; -} -.nt-timeline .nt-timeline-title { - font-size: 1.1rem; - margin-top: 0; -} -.nt-timeline .nt-timeline-sub-title { - margin-top: 0; -} -.nt-timeline .nt-timeline-content { - font-size: 0.8rem; - border-bottom: 2px dashed #ccc; - padding-bottom: 1.2rem; -} -.nt-timeline.horizontal .nt-timeline-items { - flex-direction: row; - overflow-x: scroll; -} -.nt-timeline.horizontal .nt-timeline-items > div { - min-width: 400px; - margin-right: 50px; -} -.nt-timeline.horizontal.reverse .nt-timeline-items { - flex-direction: row-reverse; -} -.nt-timeline.horizontal.center .nt-timeline-before { - background-image: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal.center .nt-timeline-after { - background-image: linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal.center .nt-timeline-items { - background-image: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal .nt-timeline-dot { - left: 50%; -} -.nt-timeline.horizontal .nt-timeline-dot:not(.bigger) { - top: calc(50% - 4px); -} -.nt-timeline.horizontal .nt-timeline-dot.bigger { - top: calc(50% - 15px); -} -.nt-timeline.vertical .nt-timeline-items { - flex-direction: column; -} -.nt-timeline.vertical.reverse .nt-timeline-items { - flex-direction: column-reverse; -} -.nt-timeline.vertical.center .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-dot { - left: calc(50% - 10px); -} -.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger) { - top: 10px; -} -.nt-timeline.vertical.center .nt-timeline-dot.bigger { - left: calc(50% - 20px); -} -.nt-timeline.vertical.left { - padding-left: 100px; -} -.nt-timeline.vertical.left .nt-timeline-item { - padding-left: 70px; -} -.nt-timeline.vertical.left .nt-timeline-sub-title { - left: -100px; - width: 100px; -} -.nt-timeline.vertical.left .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-dot { - left: 21px; - top: 8px; -} -.nt-timeline.vertical.left .nt-timeline-dot.bigger { - top: 0px; - left: 10px; -} -.nt-timeline.vertical.right { - padding-right: 100px; -} -.nt-timeline.vertical.right .nt-timeline-sub-title { - right: -100px; - text-align: left; - width: 100px; -} -.nt-timeline.vertical.right .nt-timeline-item { - padding-right: 70px; -} -.nt-timeline.vertical.right .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-dot { - right: 21px; - top: 8px; -} -.nt-timeline.vertical.right .nt-timeline-dot.bigger { - top: 10px; - right: 10px; -} - -.nt-timeline-items { - display: flex; - position: relative; -} -.nt-timeline-items > div { - min-height: 100px; - padding-top: 2px; - padding-bottom: 20px; -} - -.nt-timeline-before { - content: ""; - height: 15px; -} - -.nt-timeline-after { - content: ""; - height: 60px; - margin-bottom: 20px; -} - -.nt-timeline-sub-title { - position: absolute; - width: 50%; - top: 4px; - font-size: 18px; - color: var(--nt-color-50); -} - -[data-md-color-scheme=slate] .nt-timeline-sub-title { - color: var(--nt-color-51); -} - -.nt-timeline-item { - position: relative; -} - -.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item { - padding-left: calc(50% + 40px); -} -.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { - left: 0; - padding-right: 40px; - text-align: right; -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) { - padding-left: calc(50% + 40px); -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title { - left: 0; - padding-right: 40px; - text-align: right; -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) { - text-align: right; - padding-right: calc(50% + 40px); -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { - right: 0; - padding-left: 40px; - text-align: left; -} - -.nt-timeline-dot { - position: relative; - width: 20px; - height: 20px; - border-radius: 100%; - background-color: #fc5b5b; - position: absolute; - top: 0px; - z-index: 2; - display: flex; - justify-content: center; - align-items: center; - box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12); - border: 3px solid white; -} -.nt-timeline-dot:not(.bigger) .icon { - font-size: 10px; -} -.nt-timeline-dot.bigger { - width: 40px; - height: 40px; - padding: 3px; -} -.nt-timeline-dot .icon { - color: white; -} - -/* Fix for webkit (Chrome, Safari) */ -@supports not (-moz-appearance: none) { - /* - This fix is necessary, for some reason, to render the timeline properly - inside `details` elements used by pymdownx. Firefox doesn't need this fix, - it renders elements properly. - */ - details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title, -details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { - left: -40px; - } - details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { - right: -40px; - } - details .nt-timeline.vertical.center .nt-timeline-dot { - left: calc(50% - 12px); - } - details .nt-timeline-dot.bigger { - font-size: 1rem !important; - } -} -/* default colors */ -.nt-timeline-item:nth-child(0) .nt-timeline-dot { - background-color: var(--nt-color-0); -} - -.nt-timeline-item:nth-child(1) .nt-timeline-dot { - background-color: var(--nt-color-1); -} - -.nt-timeline-item:nth-child(2) .nt-timeline-dot { - background-color: var(--nt-color-2); -} - -.nt-timeline-item:nth-child(3) .nt-timeline-dot { - background-color: var(--nt-color-3); -} - -.nt-timeline-item:nth-child(4) .nt-timeline-dot { - background-color: var(--nt-color-4); -} - -.nt-timeline-item:nth-child(5) .nt-timeline-dot { - background-color: var(--nt-color-5); -} - -.nt-timeline-item:nth-child(6) .nt-timeline-dot { - background-color: var(--nt-color-6); -} - -.nt-timeline-item:nth-child(7) .nt-timeline-dot { - background-color: var(--nt-color-7); -} - -.nt-timeline-item:nth-child(8) .nt-timeline-dot { - background-color: var(--nt-color-8); -} - -.nt-timeline-item:nth-child(9) .nt-timeline-dot { - background-color: var(--nt-color-9); -} - -.nt-timeline-item:nth-child(10) .nt-timeline-dot { - background-color: var(--nt-color-10); -} - -.nt-timeline-item:nth-child(11) .nt-timeline-dot { - background-color: var(--nt-color-11); -} - -.nt-timeline-item:nth-child(12) .nt-timeline-dot { - background-color: var(--nt-color-12); -} - -.nt-timeline-item:nth-child(13) .nt-timeline-dot { - background-color: var(--nt-color-13); -} - -.nt-timeline-item:nth-child(14) .nt-timeline-dot { - background-color: var(--nt-color-14); -} - -.nt-timeline-item:nth-child(15) .nt-timeline-dot { - background-color: var(--nt-color-15); -} - -.nt-timeline-item:nth-child(16) .nt-timeline-dot { - background-color: var(--nt-color-16); -} - -.nt-timeline-item:nth-child(17) .nt-timeline-dot { - background-color: var(--nt-color-17); -} - -.nt-timeline-item:nth-child(18) .nt-timeline-dot { - background-color: var(--nt-color-18); -} - -.nt-timeline-item:nth-child(19) .nt-timeline-dot { - background-color: var(--nt-color-19); -} - -.nt-timeline-item:nth-child(20) .nt-timeline-dot { - background-color: var(--nt-color-20); -} - -/** - * Extra CSS for the neoteroi.projects.gantt extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -:root { - --nt-scrollbar-color: #2751b0; - --nt-plan-actions-height: 24px; - --nt-units-background: #ff9800; - --nt-months-background: #2751b0; - --nt-plan-vertical-line-color: #a3a3a3ad; -} - -.nt-pastello { - --nt-scrollbar-color: #9fb8f4; - --nt-units-background: #f5dc82; - --nt-months-background: #5b7fd1; -} - -[data-md-color-scheme=slate] { - --nt-units-background: #003773; -} -[data-md-color-scheme=slate] .nt-pastello { - --nt-units-background: #3f4997; -} - -.nt-plan-root { - min-height: 200px; - scrollbar-width: 20px; - scrollbar-color: var(--nt-scrollbar-color); - display: flex; -} -.nt-plan-root ::-webkit-scrollbar { - width: 20px; -} -.nt-plan-root ::-webkit-scrollbar-track { - box-shadow: inset 0 0 5px grey; - border-radius: 10px; -} -.nt-plan-root ::-webkit-scrollbar-thumb { - background: var(--nt-scrollbar-color); - border-radius: 10px; -} -.nt-plan-root .nt-plan { - flex: 80%; -} -.nt-plan-root.no-groups .nt-plan-periods { - padding-left: 0; -} -.nt-plan-root.no-groups .nt-plan-group-summary { - display: none; -} -.nt-plan-root .nt-timeline-dot.bigger { - top: -10px; -} -.nt-plan-root .nt-timeline-dot.bigger[title] { - cursor: help; -} - -.nt-plan { - white-space: nowrap; - overflow-x: auto; - display: flex; -} -.nt-plan .ug-timeline-dot { - left: 368px; - top: -8px; - cursor: help; -} - -.months { - display: flex; -} - -.month { - flex: auto; - display: inline-block; - box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px inset; - background-color: var(--nt-months-background); - color: white; - text-transform: uppercase; - font-family: Roboto, Helvetica, Arial, sans-serif; - padding: 2px 5px; - font-size: 12px; - border: 1px solid #000; - width: 150px; - border-radius: 8px; -} - -.nt-plan-group-activities { - flex: auto; - position: relative; -} - -.nt-vline { - border-left: 1px dashed var(--nt-plan-vertical-line-color); - height: 100%; - left: 0; - position: absolute; - margin-left: -0.5px; - top: 0; - -webkit-transition: all 0.5s linear !important; - -moz-transition: all 0.5s linear !important; - -ms-transition: all 0.5s linear !important; - -o-transition: all 0.5s linear !important; - transition: all 0.5s linear !important; - z-index: -2; -} - -.nt-plan-activity { - display: flex; - margin: 2px 0; - background-color: rgba(187, 187, 187, 0.2509803922); -} - -.actions { - height: var(--nt-plan-actions-height); -} - -.actions { - position: relative; -} - -.period { - display: inline-block; - height: var(--nt-plan-actions-height); - width: 120px; - position: absolute; - left: 0px; - background: #1da1f2; - border-radius: 5px; - transition: all 0.5s; - cursor: help; - -webkit-transition: width 1s ease-in-out; - -moz-transition: width 1s ease-in-out; - -o-transition: width 1s ease-in-out; - transition: width 1s ease-in-out; -} -.period .nt-tooltip { - display: none; - top: 30px; - position: relative; - padding: 1rem; - text-align: center; - font-size: 12px; -} -.period:hover .nt-tooltip { - display: inline-block; -} - -.period-0 { - left: 340px; - visibility: visible; - background-color: rgb(69, 97, 101); -} - -.period-1 { - left: 40px; - visibility: visible; - background-color: green; -} - -.period-2 { - left: 120px; - visibility: visible; - background-color: pink; - width: 80px; -} - -.period-3 { - left: 190px; - visibility: visible; - background-color: darkred; - width: 150px; -} - -.weeks > span, -.days > span { - height: 25px; -} - -.weeks > span { - display: inline-block; - margin: 0; - padding: 0; - font-weight: bold; -} -.weeks > span .week-text { - font-size: 10px; - position: absolute; - display: inline-block; - padding: 3px 4px; -} - -.days { - z-index: -2; - position: relative; -} - -.day-text { - font-size: 10px; - position: absolute; - display: inline-block; - padding: 3px 4px; -} - -.period span { - font-size: 12px; - vertical-align: top; - margin-left: 4px; - color: black; - background: rgba(255, 255, 255, 0.6588235294); - border-radius: 6px; - padding: 0 4px; -} - -.weeks, -.days { - height: 20px; - display: flex; - box-sizing: content-box; -} - -.months { - display: flex; -} - -.week, -.day { - height: 20px; - position: relative; - border: 1; - flex: auto; - border: 2px solid white; - border-radius: 4px; - background-color: var(--nt-units-background); - cursor: help; -} - -.years { - display: flex; -} - -.year { - text-align: center; - border-right: 1px solid var(--nt-plan-vertical-line-color); - font-weight: bold; -} -.year:first-child { - border-left: 1px solid var(--nt-plan-vertical-line-color); -} -.year:first-child:last-child { - width: 100%; -} - -.quarters { - display: flex; -} - -.quarter { - width: 12.5%; - text-align: center; - border-right: 1px solid var(--nt-plan-vertical-line-color); - font-weight: bold; -} -.quarter:first-child { - border-left: 1px solid var(--nt-plan-vertical-line-color); -} - -.nt-plan-group { - margin: 20px 0; - position: relative; -} - -.nt-plan-group { - display: flex; -} - -.nt-plan-group-summary { - background: #2751b0; - width: 150px; - white-space: normal; - padding: 0.1rem 0.5rem; - border-radius: 5px; - color: #fff; - z-index: 3; -} -.nt-plan-group-summary p { - margin: 0; - padding: 0; - font-size: 0.6rem; - color: #fff; -} - -.nt-plan-group-summary, -.month, -.period, -.week, -.day, -.nt-tooltip { - border: 3px solid white; - box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.nt-plan-periods { - padding-left: 150px; -} - -.months { - z-index: 2; - position: relative; -} - -.weeks { - position: relative; - top: -2px; - z-index: 0; -} - -.month, -.quarter, -.year, -.week, -.day, -.nt-tooltip { - font-family: Roboto, Helvetica, Arial, sans-serif; - box-sizing: border-box; -} - -.nt-cards.nt-grid { - display: grid; - grid-auto-columns: 1fr; - gap: 0.5rem; - max-width: 100vw; - overflow-x: auto; - padding: 1px; -} -.nt-cards.nt-grid.cols-1 { - grid-template-columns: repeat(1, 1fr); -} -.nt-cards.nt-grid.cols-2 { - grid-template-columns: repeat(2, 1fr); -} -.nt-cards.nt-grid.cols-3 { - grid-template-columns: repeat(3, 1fr); -} -.nt-cards.nt-grid.cols-4 { - grid-template-columns: repeat(4, 1fr); -} -.nt-cards.nt-grid.cols-5 { - grid-template-columns: repeat(5, 1fr); -} -.nt-cards.nt-grid.cols-6 { - grid-template-columns: repeat(6, 1fr); -} - -@media only screen and (max-width: 400px) { - .nt-cards.nt-grid { - grid-template-columns: repeat(1, 1fr) !important; - } -} -.nt-card { - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} -.nt-card:hover { - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 3px 1px -2px rgba(0, 0, 0, 0.3), 0 1px 5px 0 rgba(0, 0, 0, 0.22); -} - -[data-md-color-scheme=slate] .nt-card { - box-shadow: 0 2px 2px 0 rgba(4, 40, 33, 0.14), 0 3px 1px -2px rgba(40, 86, 94, 0.47), 0 1px 5px 0 rgba(139, 252, 255, 0.64); -} -[data-md-color-scheme=slate] .nt-card:hover { - box-shadow: 0 2px 2px 0 rgba(0, 255, 206, 0.14), 0 3px 1px -2px rgba(33, 156, 177, 0.47), 0 1px 5px 0 rgba(96, 251, 255, 0.64); -} - -.nt-card > a { - color: var(--md-default-fg-color); -} - -.nt-card > a > div { - cursor: pointer; -} - -.nt-card { - padding: 5px; - margin-bottom: 0.5rem; -} - -.nt-card-title { - font-size: 1rem; - font-weight: bold; - margin: 4px 0 8px 0; - line-height: 22px; -} - -.nt-card-content { - padding: 0.4rem 0.8rem 0.8rem 0.8rem; -} - -.nt-card-text { - font-size: 14px; - padding: 0; - margin: 0; -} - -.nt-card .nt-card-image { - text-align: center; - border-radius: 2px; - background-position: center center; - background-size: cover; - background-repeat: no-repeat; - min-height: 120px; -} - -.nt-card .nt-card-image.tags img { - margin-top: 12px; -} - -.nt-card .nt-card-image img { - height: 105px; - margin-top: 5px; -} - -.nt-card a:hover, -.nt-card a:focus { - color: var(--md-accent-fg-color); -} - -.nt-card h2 { - margin: 0; -} - -/** - * Extra CSS file recommended for MkDocs and neoteroi.spantable extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -.span-table-wrapper table { - border-collapse: collapse; - margin-bottom: 2rem; - border-radius: 0.1rem; -} - -.span-table td, -.span-table th { - padding: 0.2rem; - background-color: var(--md-default-bg-color); - font-size: 0.64rem; - max-width: 100%; - overflow: auto; - touch-action: auto; - border-top: 0.05rem solid var(--md-typeset-table-color); - padding: 0.9375em 1.25em; - vertical-align: top; -} - -.span-table tr:first-child td { - font-weight: 700; - min-width: 5rem; - padding: 0.9375em 1.25em; - vertical-align: top; -} - -.span-table td:first-child { - border-left: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table td:last-child { - border-right: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table tr:last-child { - border-bottom: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table [colspan], -.span-table [rowspan] { - font-weight: bold; - border: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]), -.span-table td[colspan]:hover, -.span-table td[rowspan]:hover { - background-color: rgba(0, 0, 0, 0.035); - box-shadow: 0 0.05rem 0 var(--md-default-bg-color) inset; - transition: background-color 125ms; -} diff --git a/docs/docs/css/neoteroi-mkdocs.min.css b/docs/docs/css/neoteroi-mkdocs.min.css deleted file mode 100644 index ea55c672..00000000 --- a/docs/docs/css/neoteroi-mkdocs.min.css +++ /dev/null @@ -1 +0,0 @@ -:root{--nt-color-0: #CD853F;--nt-color-1: #B22222;--nt-color-2: #000080;--nt-color-3: #4B0082;--nt-color-4: #3CB371;--nt-color-5: #D2B48C;--nt-color-6: #FF00FF;--nt-color-7: #98FB98;--nt-color-8: #FFEBCD;--nt-color-9: #2E8B57;--nt-color-10: #6A5ACD;--nt-color-11: #48D1CC;--nt-color-12: #FFA500;--nt-color-13: #F4A460;--nt-color-14: #A52A2A;--nt-color-15: #FFE4C4;--nt-color-16: #FF4500;--nt-color-17: #AFEEEE;--nt-color-18: #FA8072;--nt-color-19: #2F4F4F;--nt-color-20: #FFDAB9;--nt-color-21: #BC8F8F;--nt-color-22: #FFC0CB;--nt-color-23: #00FA9A;--nt-color-24: #F0FFF0;--nt-color-25: #FFFACD;--nt-color-26: #F5F5F5;--nt-color-27: #FF6347;--nt-color-28: #FFFFF0;--nt-color-29: #7FFFD4;--nt-color-30: #E9967A;--nt-color-31: #7B68EE;--nt-color-32: #FFF8DC;--nt-color-33: #0000CD;--nt-color-34: #D2691E;--nt-color-35: #708090;--nt-color-36: #5F9EA0;--nt-color-37: #008080;--nt-color-38: #008000;--nt-color-39: #FFE4E1;--nt-color-40: #FFFF00;--nt-color-41: #FFFAF0;--nt-color-42: #DCDCDC;--nt-color-43: #ADFF2F;--nt-color-44: #ADD8E6;--nt-color-45: #8B008B;--nt-color-46: #7FFF00;--nt-color-47: #800000;--nt-color-48: #20B2AA;--nt-color-49: #556B2F;--nt-color-50: #778899;--nt-color-51: #E6E6FA;--nt-color-52: #FFFAFA;--nt-color-53: #FF7F50;--nt-color-54: #FF0000;--nt-color-55: #F5DEB3;--nt-color-56: #008B8B;--nt-color-57: #66CDAA;--nt-color-58: #808000;--nt-color-59: #FAF0E6;--nt-color-60: #00BFFF;--nt-color-61: #C71585;--nt-color-62: #00FFFF;--nt-color-63: #8B4513;--nt-color-64: #F0F8FF;--nt-color-65: #FAEBD7;--nt-color-66: #8B0000;--nt-color-67: #4682B4;--nt-color-68: #F0E68C;--nt-color-69: #BDB76B;--nt-color-70: #A0522D;--nt-color-71: #FAFAD2;--nt-color-72: #FFD700;--nt-color-73: #DEB887;--nt-color-74: #E0FFFF;--nt-color-75: #8A2BE2;--nt-color-76: #32CD32;--nt-color-77: #87CEFA;--nt-color-78: #00CED1;--nt-color-79: #696969;--nt-color-80: #DDA0DD;--nt-color-81: #EE82EE;--nt-color-82: #FFB6C1;--nt-color-83: #8FBC8F;--nt-color-84: #D8BFD8;--nt-color-85: #9400D3;--nt-color-86: #A9A9A9;--nt-color-87: #FFFFE0;--nt-color-88: #FFF5EE;--nt-color-89: #FFF0F5;--nt-color-90: #FFDEAD;--nt-color-91: #800080;--nt-color-92: #B0E0E6;--nt-color-93: #9932CC;--nt-color-94: #DAA520;--nt-color-95: #F0FFFF;--nt-color-96: #40E0D0;--nt-color-97: #00FF7F;--nt-color-98: #006400;--nt-color-99: #808080;--nt-color-100: #87CEEB;--nt-color-101: #0000FF;--nt-color-102: #6495ED;--nt-color-103: #FDF5E6;--nt-color-104: #B8860B;--nt-color-105: #BA55D3;--nt-color-106: #C0C0C0;--nt-color-107: #000000;--nt-color-108: #F08080;--nt-color-109: #B0C4DE;--nt-color-110: #00008B;--nt-color-111: #6B8E23;--nt-color-112: #FFE4B5;--nt-color-113: #FFA07A;--nt-color-114: #9ACD32;--nt-color-115: #FFFFFF;--nt-color-116: #F5F5DC;--nt-color-117: #90EE90;--nt-color-118: #1E90FF;--nt-color-119: #7CFC00;--nt-color-120: #FF69B4;--nt-color-121: #F8F8FF;--nt-color-122: #F5FFFA;--nt-color-123: #00FF00;--nt-color-124: #D3D3D3;--nt-color-125: #DB7093;--nt-color-126: #DA70D6;--nt-color-127: #FF1493;--nt-color-128: #228B22;--nt-color-129: #FFEFD5;--nt-color-130: #4169E1;--nt-color-131: #191970;--nt-color-132: #9370DB;--nt-color-133: #483D8B;--nt-color-134: #FF8C00;--nt-color-135: #EEE8AA;--nt-color-136: #CD5C5C;--nt-color-137: #DC143C}:root{--nt-group-0-main: #000000;--nt-group-0-dark: #FFFFFF;--nt-group-0-light: #000000;--nt-group-0-main-bg: #F44336;--nt-group-0-dark-bg: #BA000D;--nt-group-0-light-bg: #FF7961;--nt-group-1-main: #000000;--nt-group-1-dark: #FFFFFF;--nt-group-1-light: #000000;--nt-group-1-main-bg: #E91E63;--nt-group-1-dark-bg: #B0003A;--nt-group-1-light-bg: #FF6090;--nt-group-2-main: #FFFFFF;--nt-group-2-dark: #FFFFFF;--nt-group-2-light: #000000;--nt-group-2-main-bg: #9C27B0;--nt-group-2-dark-bg: #6A0080;--nt-group-2-light-bg: #D05CE3;--nt-group-3-main: #FFFFFF;--nt-group-3-dark: #FFFFFF;--nt-group-3-light: #000000;--nt-group-3-main-bg: #673AB7;--nt-group-3-dark-bg: #320B86;--nt-group-3-light-bg: #9A67EA;--nt-group-4-main: #FFFFFF;--nt-group-4-dark: #FFFFFF;--nt-group-4-light: #000000;--nt-group-4-main-bg: #3F51B5;--nt-group-4-dark-bg: #002984;--nt-group-4-light-bg: #757DE8;--nt-group-5-main: #000000;--nt-group-5-dark: #FFFFFF;--nt-group-5-light: #000000;--nt-group-5-main-bg: #2196F3;--nt-group-5-dark-bg: #0069C0;--nt-group-5-light-bg: #6EC6FF;--nt-group-6-main: #000000;--nt-group-6-dark: #FFFFFF;--nt-group-6-light: #000000;--nt-group-6-main-bg: #03A9F4;--nt-group-6-dark-bg: #007AC1;--nt-group-6-light-bg: #67DAFF;--nt-group-7-main: #000000;--nt-group-7-dark: #000000;--nt-group-7-light: #000000;--nt-group-7-main-bg: #00BCD4;--nt-group-7-dark-bg: #008BA3;--nt-group-7-light-bg: #62EFFF;--nt-group-8-main: #000000;--nt-group-8-dark: #FFFFFF;--nt-group-8-light: #000000;--nt-group-8-main-bg: #009688;--nt-group-8-dark-bg: #00675B;--nt-group-8-light-bg: #52C7B8;--nt-group-9-main: #000000;--nt-group-9-dark: #FFFFFF;--nt-group-9-light: #000000;--nt-group-9-main-bg: #4CAF50;--nt-group-9-dark-bg: #087F23;--nt-group-9-light-bg: #80E27E;--nt-group-10-main: #000000;--nt-group-10-dark: #000000;--nt-group-10-light: #000000;--nt-group-10-main-bg: #8BC34A;--nt-group-10-dark-bg: #5A9216;--nt-group-10-light-bg: #BEF67A;--nt-group-11-main: #000000;--nt-group-11-dark: #000000;--nt-group-11-light: #000000;--nt-group-11-main-bg: #CDDC39;--nt-group-11-dark-bg: #99AA00;--nt-group-11-light-bg: #FFFF6E;--nt-group-12-main: #000000;--nt-group-12-dark: #000000;--nt-group-12-light: #000000;--nt-group-12-main-bg: #FFEB3B;--nt-group-12-dark-bg: #C8B900;--nt-group-12-light-bg: #FFFF72;--nt-group-13-main: #000000;--nt-group-13-dark: #000000;--nt-group-13-light: #000000;--nt-group-13-main-bg: #FFC107;--nt-group-13-dark-bg: #C79100;--nt-group-13-light-bg: #FFF350;--nt-group-14-main: #000000;--nt-group-14-dark: #000000;--nt-group-14-light: #000000;--nt-group-14-main-bg: #FF9800;--nt-group-14-dark-bg: #C66900;--nt-group-14-light-bg: #FFC947;--nt-group-15-main: #000000;--nt-group-15-dark: #FFFFFF;--nt-group-15-light: #000000;--nt-group-15-main-bg: #FF5722;--nt-group-15-dark-bg: #C41C00;--nt-group-15-light-bg: #FF8A50;--nt-group-16-main: #FFFFFF;--nt-group-16-dark: #FFFFFF;--nt-group-16-light: #000000;--nt-group-16-main-bg: #795548;--nt-group-16-dark-bg: #4B2C20;--nt-group-16-light-bg: #A98274;--nt-group-17-main: #000000;--nt-group-17-dark: #FFFFFF;--nt-group-17-light: #000000;--nt-group-17-main-bg: #9E9E9E;--nt-group-17-dark-bg: #707070;--nt-group-17-light-bg: #CFCFCF;--nt-group-18-main: #000000;--nt-group-18-dark: #FFFFFF;--nt-group-18-light: #000000;--nt-group-18-main-bg: #607D8B;--nt-group-18-dark-bg: #34515E;--nt-group-18-light-bg: #8EACBB}.nt-pastello{--nt-group-0-main: #000000;--nt-group-0-dark: #000000;--nt-group-0-light: #000000;--nt-group-0-main-bg: #EF9A9A;--nt-group-0-dark-bg: #BA6B6C;--nt-group-0-light-bg: #FFCCCB;--nt-group-1-main: #000000;--nt-group-1-dark: #000000;--nt-group-1-light: #000000;--nt-group-1-main-bg: #F48FB1;--nt-group-1-dark-bg: #BF5F82;--nt-group-1-light-bg: #FFC1E3;--nt-group-2-main: #000000;--nt-group-2-dark: #000000;--nt-group-2-light: #000000;--nt-group-2-main-bg: #CE93D8;--nt-group-2-dark-bg: #9C64A6;--nt-group-2-light-bg: #FFC4FF;--nt-group-3-main: #000000;--nt-group-3-dark: #000000;--nt-group-3-light: #000000;--nt-group-3-main-bg: #B39DDB;--nt-group-3-dark-bg: #836FA9;--nt-group-3-light-bg: #E6CEFF;--nt-group-4-main: #000000;--nt-group-4-dark: #000000;--nt-group-4-light: #000000;--nt-group-4-main-bg: #9FA8DA;--nt-group-4-dark-bg: #6F79A8;--nt-group-4-light-bg: #D1D9FF;--nt-group-5-main: #000000;--nt-group-5-dark: #000000;--nt-group-5-light: #000000;--nt-group-5-main-bg: #90CAF9;--nt-group-5-dark-bg: #5D99C6;--nt-group-5-light-bg: #C3FDFF;--nt-group-6-main: #000000;--nt-group-6-dark: #000000;--nt-group-6-light: #000000;--nt-group-6-main-bg: #81D4FA;--nt-group-6-dark-bg: #4BA3C7;--nt-group-6-light-bg: #B6FFFF;--nt-group-7-main: #000000;--nt-group-7-dark: #000000;--nt-group-7-light: #000000;--nt-group-7-main-bg: #80DEEA;--nt-group-7-dark-bg: #4BACB8;--nt-group-7-light-bg: #B4FFFF;--nt-group-8-main: #000000;--nt-group-8-dark: #000000;--nt-group-8-light: #000000;--nt-group-8-main-bg: #80CBC4;--nt-group-8-dark-bg: #4F9A94;--nt-group-8-light-bg: #B2FEF7;--nt-group-9-main: #000000;--nt-group-9-dark: #000000;--nt-group-9-light: #000000;--nt-group-9-main-bg: #A5D6A7;--nt-group-9-dark-bg: #75A478;--nt-group-9-light-bg: #D7FFD9;--nt-group-10-main: #000000;--nt-group-10-dark: #000000;--nt-group-10-light: #000000;--nt-group-10-main-bg: #C5E1A5;--nt-group-10-dark-bg: #94AF76;--nt-group-10-light-bg: #F8FFD7;--nt-group-11-main: #000000;--nt-group-11-dark: #000000;--nt-group-11-light: #000000;--nt-group-11-main-bg: #E6EE9C;--nt-group-11-dark-bg: #B3BC6D;--nt-group-11-light-bg: #FFFFCE;--nt-group-12-main: #000000;--nt-group-12-dark: #000000;--nt-group-12-light: #000000;--nt-group-12-main-bg: #FFF59D;--nt-group-12-dark-bg: #CBC26D;--nt-group-12-light-bg: #FFFFCF;--nt-group-13-main: #000000;--nt-group-13-dark: #000000;--nt-group-13-light: #000000;--nt-group-13-main-bg: #FFE082;--nt-group-13-dark-bg: #CAAE53;--nt-group-13-light-bg: #FFFFB3;--nt-group-14-main: #000000;--nt-group-14-dark: #000000;--nt-group-14-light: #000000;--nt-group-14-main-bg: #FFCC80;--nt-group-14-dark-bg: #CA9B52;--nt-group-14-light-bg: #FFFFB0;--nt-group-15-main: #000000;--nt-group-15-dark: #000000;--nt-group-15-light: #000000;--nt-group-15-main-bg: #FFAB91;--nt-group-15-dark-bg: #C97B63;--nt-group-15-light-bg: #FFDDC1;--nt-group-16-main: #000000;--nt-group-16-dark: #000000;--nt-group-16-light: #000000;--nt-group-16-main-bg: #BCAAA4;--nt-group-16-dark-bg: #8C7B75;--nt-group-16-light-bg: #EFDCD5;--nt-group-17-main: #000000;--nt-group-17-dark: #000000;--nt-group-17-light: #000000;--nt-group-17-main-bg: #EEEEEE;--nt-group-17-dark-bg: #BCBCBC;--nt-group-17-light-bg: #FFFFFF;--nt-group-18-main: #000000;--nt-group-18-dark: #000000;--nt-group-18-light: #000000;--nt-group-18-main-bg: #B0BEC5;--nt-group-18-dark-bg: #808E95;--nt-group-18-light-bg: #E2F1F8}.nt-group-0 .nt-plan-group-summary,.nt-group-0 .nt-timeline-dot{color:var(--nt-group-0-dark);background-color:var(--nt-group-0-dark-bg)}.nt-group-0 .period{color:var(--nt-group-0-main);background-color:var(--nt-group-0-main-bg)}.nt-group-1 .nt-plan-group-summary,.nt-group-1 .nt-timeline-dot{color:var(--nt-group-1-dark);background-color:var(--nt-group-1-dark-bg)}.nt-group-1 .period{color:var(--nt-group-1-main);background-color:var(--nt-group-1-main-bg)}.nt-group-2 .nt-plan-group-summary,.nt-group-2 .nt-timeline-dot{color:var(--nt-group-2-dark);background-color:var(--nt-group-2-dark-bg)}.nt-group-2 .period{color:var(--nt-group-2-main);background-color:var(--nt-group-2-main-bg)}.nt-group-3 .nt-plan-group-summary,.nt-group-3 .nt-timeline-dot{color:var(--nt-group-3-dark);background-color:var(--nt-group-3-dark-bg)}.nt-group-3 .period{color:var(--nt-group-3-main);background-color:var(--nt-group-3-main-bg)}.nt-group-4 .nt-plan-group-summary,.nt-group-4 .nt-timeline-dot{color:var(--nt-group-4-dark);background-color:var(--nt-group-4-dark-bg)}.nt-group-4 .period{color:var(--nt-group-4-main);background-color:var(--nt-group-4-main-bg)}.nt-group-5 .nt-plan-group-summary,.nt-group-5 .nt-timeline-dot{color:var(--nt-group-5-dark);background-color:var(--nt-group-5-dark-bg)}.nt-group-5 .period{color:var(--nt-group-5-main);background-color:var(--nt-group-5-main-bg)}.nt-group-6 .nt-plan-group-summary,.nt-group-6 .nt-timeline-dot{color:var(--nt-group-6-dark);background-color:var(--nt-group-6-dark-bg)}.nt-group-6 .period{color:var(--nt-group-6-main);background-color:var(--nt-group-6-main-bg)}.nt-group-7 .nt-plan-group-summary,.nt-group-7 .nt-timeline-dot{color:var(--nt-group-7-dark);background-color:var(--nt-group-7-dark-bg)}.nt-group-7 .period{color:var(--nt-group-7-main);background-color:var(--nt-group-7-main-bg)}.nt-group-8 .nt-plan-group-summary,.nt-group-8 .nt-timeline-dot{color:var(--nt-group-8-dark);background-color:var(--nt-group-8-dark-bg)}.nt-group-8 .period{color:var(--nt-group-8-main);background-color:var(--nt-group-8-main-bg)}.nt-group-9 .nt-plan-group-summary,.nt-group-9 .nt-timeline-dot{color:var(--nt-group-9-dark);background-color:var(--nt-group-9-dark-bg)}.nt-group-9 .period{color:var(--nt-group-9-main);background-color:var(--nt-group-9-main-bg)}.nt-group-10 .nt-plan-group-summary,.nt-group-10 .nt-timeline-dot{color:var(--nt-group-10-dark);background-color:var(--nt-group-10-dark-bg)}.nt-group-10 .period{color:var(--nt-group-10-main);background-color:var(--nt-group-10-main-bg)}.nt-group-11 .nt-plan-group-summary,.nt-group-11 .nt-timeline-dot{color:var(--nt-group-11-dark);background-color:var(--nt-group-11-dark-bg)}.nt-group-11 .period{color:var(--nt-group-11-main);background-color:var(--nt-group-11-main-bg)}.nt-group-12 .nt-plan-group-summary,.nt-group-12 .nt-timeline-dot{color:var(--nt-group-12-dark);background-color:var(--nt-group-12-dark-bg)}.nt-group-12 .period{color:var(--nt-group-12-main);background-color:var(--nt-group-12-main-bg)}.nt-group-13 .nt-plan-group-summary,.nt-group-13 .nt-timeline-dot{color:var(--nt-group-13-dark);background-color:var(--nt-group-13-dark-bg)}.nt-group-13 .period{color:var(--nt-group-13-main);background-color:var(--nt-group-13-main-bg)}.nt-group-14 .nt-plan-group-summary,.nt-group-14 .nt-timeline-dot{color:var(--nt-group-14-dark);background-color:var(--nt-group-14-dark-bg)}.nt-group-14 .period{color:var(--nt-group-14-main);background-color:var(--nt-group-14-main-bg)}.nt-group-15 .nt-plan-group-summary,.nt-group-15 .nt-timeline-dot{color:var(--nt-group-15-dark);background-color:var(--nt-group-15-dark-bg)}.nt-group-15 .period{color:var(--nt-group-15-main);background-color:var(--nt-group-15-main-bg)}.nt-group-16 .nt-plan-group-summary,.nt-group-16 .nt-timeline-dot{color:var(--nt-group-16-dark);background-color:var(--nt-group-16-dark-bg)}.nt-group-16 .period{color:var(--nt-group-16-main);background-color:var(--nt-group-16-main-bg)}.nt-group-17 .nt-plan-group-summary,.nt-group-17 .nt-timeline-dot{color:var(--nt-group-17-dark);background-color:var(--nt-group-17-dark-bg)}.nt-group-17 .period{color:var(--nt-group-17-main);background-color:var(--nt-group-17-main-bg)}.nt-group-18 .nt-plan-group-summary,.nt-group-18 .nt-timeline-dot{color:var(--nt-group-18-dark);background-color:var(--nt-group-18-dark-bg)}.nt-group-18 .period{color:var(--nt-group-18-main);background-color:var(--nt-group-18-main-bg)}.nt-error{border:2px dashed darkred;padding:0 1rem;background:#faf9ba;color:darkred}.nt-timeline{margin-top:30px}.nt-timeline .nt-timeline-title{font-size:1.1rem;margin-top:0}.nt-timeline .nt-timeline-sub-title{margin-top:0}.nt-timeline .nt-timeline-content{font-size:.8rem;border-bottom:2px dashed #ccc;padding-bottom:1.2rem}.nt-timeline.horizontal .nt-timeline-items{flex-direction:row;overflow-x:scroll}.nt-timeline.horizontal .nt-timeline-items>div{min-width:400px;margin-right:50px}.nt-timeline.horizontal.reverse .nt-timeline-items{flex-direction:row-reverse}.nt-timeline.horizontal.center .nt-timeline-before{background-image:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal.center .nt-timeline-after{background-image:linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal.center .nt-timeline-items{background-image:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal .nt-timeline-dot{left:50%}.nt-timeline.horizontal .nt-timeline-dot:not(.bigger){top:calc(50% - 4px)}.nt-timeline.horizontal .nt-timeline-dot.bigger{top:calc(50% - 15px)}.nt-timeline.vertical .nt-timeline-items{flex-direction:column}.nt-timeline.vertical.reverse .nt-timeline-items{flex-direction:column-reverse}.nt-timeline.vertical.center .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-dot{left:calc(50% - 10px)}.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger){top:10px}.nt-timeline.vertical.center .nt-timeline-dot.bigger{left:calc(50% - 20px)}.nt-timeline.vertical.left{padding-left:100px}.nt-timeline.vertical.left .nt-timeline-item{padding-left:70px}.nt-timeline.vertical.left .nt-timeline-sub-title{left:-100px;width:100px}.nt-timeline.vertical.left .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-dot{left:21px;top:8px}.nt-timeline.vertical.left .nt-timeline-dot.bigger{top:0px;left:10px}.nt-timeline.vertical.right{padding-right:100px}.nt-timeline.vertical.right .nt-timeline-sub-title{right:-100px;text-align:left;width:100px}.nt-timeline.vertical.right .nt-timeline-item{padding-right:70px}.nt-timeline.vertical.right .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-dot{right:21px;top:8px}.nt-timeline.vertical.right .nt-timeline-dot.bigger{top:10px;right:10px}.nt-timeline-items{display:flex;position:relative}.nt-timeline-items>div{min-height:100px;padding-top:2px;padding-bottom:20px}.nt-timeline-before{content:"";height:15px}.nt-timeline-after{content:"";height:60px;margin-bottom:20px}.nt-timeline-sub-title{position:absolute;width:50%;top:4px;font-size:18px;color:var(--nt-color-50)}[data-md-color-scheme=slate] .nt-timeline-sub-title{color:var(--nt-color-51)}.nt-timeline-item{position:relative}.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item{padding-left:calc(50% + 40px)}.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title{left:0;padding-right:40px;text-align:right}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd){padding-left:calc(50% + 40px)}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title{left:0;padding-right:40px;text-align:right}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even){text-align:right;padding-right:calc(50% + 40px)}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title{right:0;padding-left:40px;text-align:left}.nt-timeline-dot{position:relative;width:20px;height:20px;border-radius:100%;background-color:#fc5b5b;position:absolute;top:0px;z-index:2;display:flex;justify-content:center;align-items:center;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);border:3px solid #fff}.nt-timeline-dot:not(.bigger) .icon{font-size:10px}.nt-timeline-dot.bigger{width:40px;height:40px;padding:3px}.nt-timeline-dot .icon{color:#fff}@supports not (-moz-appearance: none){details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title,details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title{left:-40px}details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title{right:-40px}details .nt-timeline.vertical.center .nt-timeline-dot{left:calc(50% - 12px)}details .nt-timeline-dot.bigger{font-size:1rem !important}}.nt-timeline-item:nth-child(0) .nt-timeline-dot{background-color:var(--nt-color-0)}.nt-timeline-item:nth-child(1) .nt-timeline-dot{background-color:var(--nt-color-1)}.nt-timeline-item:nth-child(2) .nt-timeline-dot{background-color:var(--nt-color-2)}.nt-timeline-item:nth-child(3) .nt-timeline-dot{background-color:var(--nt-color-3)}.nt-timeline-item:nth-child(4) .nt-timeline-dot{background-color:var(--nt-color-4)}.nt-timeline-item:nth-child(5) .nt-timeline-dot{background-color:var(--nt-color-5)}.nt-timeline-item:nth-child(6) .nt-timeline-dot{background-color:var(--nt-color-6)}.nt-timeline-item:nth-child(7) .nt-timeline-dot{background-color:var(--nt-color-7)}.nt-timeline-item:nth-child(8) .nt-timeline-dot{background-color:var(--nt-color-8)}.nt-timeline-item:nth-child(9) .nt-timeline-dot{background-color:var(--nt-color-9)}.nt-timeline-item:nth-child(10) .nt-timeline-dot{background-color:var(--nt-color-10)}.nt-timeline-item:nth-child(11) .nt-timeline-dot{background-color:var(--nt-color-11)}.nt-timeline-item:nth-child(12) .nt-timeline-dot{background-color:var(--nt-color-12)}.nt-timeline-item:nth-child(13) .nt-timeline-dot{background-color:var(--nt-color-13)}.nt-timeline-item:nth-child(14) .nt-timeline-dot{background-color:var(--nt-color-14)}.nt-timeline-item:nth-child(15) .nt-timeline-dot{background-color:var(--nt-color-15)}.nt-timeline-item:nth-child(16) .nt-timeline-dot{background-color:var(--nt-color-16)}.nt-timeline-item:nth-child(17) .nt-timeline-dot{background-color:var(--nt-color-17)}.nt-timeline-item:nth-child(18) .nt-timeline-dot{background-color:var(--nt-color-18)}.nt-timeline-item:nth-child(19) .nt-timeline-dot{background-color:var(--nt-color-19)}.nt-timeline-item:nth-child(20) .nt-timeline-dot{background-color:var(--nt-color-20)}:root{--nt-scrollbar-color: #2751b0;--nt-plan-actions-height: 24px;--nt-units-background: #ff9800;--nt-months-background: #2751b0;--nt-plan-vertical-line-color: #a3a3a3ad}.nt-pastello{--nt-scrollbar-color: #9fb8f4;--nt-units-background: #f5dc82;--nt-months-background: #5b7fd1}[data-md-color-scheme=slate]{--nt-units-background: #003773}[data-md-color-scheme=slate] .nt-pastello{--nt-units-background: #3f4997}.nt-plan-root{min-height:200px;scrollbar-width:20px;scrollbar-color:var(--nt-scrollbar-color);display:flex}.nt-plan-root ::-webkit-scrollbar{width:20px}.nt-plan-root ::-webkit-scrollbar-track{box-shadow:inset 0 0 5px gray;border-radius:10px}.nt-plan-root ::-webkit-scrollbar-thumb{background:var(--nt-scrollbar-color);border-radius:10px}.nt-plan-root .nt-plan{flex:80%}.nt-plan-root.no-groups .nt-plan-periods{padding-left:0}.nt-plan-root.no-groups .nt-plan-group-summary{display:none}.nt-plan-root .nt-timeline-dot.bigger{top:-10px}.nt-plan-root .nt-timeline-dot.bigger[title]{cursor:help}.nt-plan{white-space:nowrap;overflow-x:auto;display:flex}.nt-plan .ug-timeline-dot{left:368px;top:-8px;cursor:help}.months{display:flex}.month{flex:auto;display:inline-block;box-shadow:rgba(0,0,0,.2) 0px 3px 1px -2px,rgba(0,0,0,.14) 0px 2px 2px 0px,rgba(0,0,0,.12) 0px 1px 5px 0px inset;background-color:var(--nt-months-background);color:#fff;text-transform:uppercase;font-family:Roboto,Helvetica,Arial,sans-serif;padding:2px 5px;font-size:12px;border:1px solid #000;width:150px;border-radius:8px}.nt-plan-group-activities{flex:auto;position:relative}.nt-vline{border-left:1px dashed var(--nt-plan-vertical-line-color);height:100%;left:0;position:absolute;margin-left:-0.5px;top:0;-webkit-transition:all .5s linear !important;-moz-transition:all .5s linear !important;-ms-transition:all .5s linear !important;-o-transition:all .5s linear !important;transition:all .5s linear !important;z-index:-2}.nt-plan-activity{display:flex;margin:2px 0;background-color:rgba(187,187,187,.2509803922)}.actions{height:var(--nt-plan-actions-height)}.actions{position:relative}.period{display:inline-block;height:var(--nt-plan-actions-height);width:120px;position:absolute;left:0px;background:#1da1f2;border-radius:5px;transition:all .5s;cursor:help;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}.period .nt-tooltip{display:none;top:30px;position:relative;padding:1rem;text-align:center;font-size:12px}.period:hover .nt-tooltip{display:inline-block}.period-0{left:340px;visibility:visible;background-color:#456165}.period-1{left:40px;visibility:visible;background-color:green}.period-2{left:120px;visibility:visible;background-color:pink;width:80px}.period-3{left:190px;visibility:visible;background-color:darkred;width:150px}.weeks>span,.days>span{height:25px}.weeks>span{display:inline-block;margin:0;padding:0;font-weight:bold}.weeks>span .week-text{font-size:10px;position:absolute;display:inline-block;padding:3px 4px}.days{z-index:-2;position:relative}.day-text{font-size:10px;position:absolute;display:inline-block;padding:3px 4px}.period span{font-size:12px;vertical-align:top;margin-left:4px;color:#000;background:rgba(255,255,255,.6588235294);border-radius:6px;padding:0 4px}.weeks,.days{height:20px;display:flex;box-sizing:content-box}.months{display:flex}.week,.day{height:20px;position:relative;border:1;flex:auto;border:2px solid #fff;border-radius:4px;background-color:var(--nt-units-background);cursor:help}.years{display:flex}.year{text-align:center;border-right:1px solid var(--nt-plan-vertical-line-color);font-weight:bold}.year:first-child{border-left:1px solid var(--nt-plan-vertical-line-color)}.year:first-child:last-child{width:100%}.quarters{display:flex}.quarter{width:12.5%;text-align:center;border-right:1px solid var(--nt-plan-vertical-line-color);font-weight:bold}.quarter:first-child{border-left:1px solid var(--nt-plan-vertical-line-color)}.nt-plan-group{margin:20px 0;position:relative}.nt-plan-group{display:flex}.nt-plan-group-summary{background:#2751b0;width:150px;white-space:normal;padding:.1rem .5rem;border-radius:5px;color:#fff;z-index:3}.nt-plan-group-summary p{margin:0;padding:0;font-size:.6rem;color:#fff}.nt-plan-group-summary,.month,.period,.week,.day,.nt-tooltip{border:3px solid #fff;box-shadow:0 2px 3px -1px rgba(0,0,0,.2),0 3px 3px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.nt-plan-periods{padding-left:150px}.months{z-index:2;position:relative}.weeks{position:relative;top:-2px;z-index:0}.month,.quarter,.year,.week,.day,.nt-tooltip{font-family:Roboto,Helvetica,Arial,sans-serif;box-sizing:border-box}.nt-cards.nt-grid{display:grid;grid-auto-columns:1fr;gap:.5rem;max-width:100vw;overflow-x:auto;padding:1px}.nt-cards.nt-grid.cols-1{grid-template-columns:repeat(1, 1fr)}.nt-cards.nt-grid.cols-2{grid-template-columns:repeat(2, 1fr)}.nt-cards.nt-grid.cols-3{grid-template-columns:repeat(3, 1fr)}.nt-cards.nt-grid.cols-4{grid-template-columns:repeat(4, 1fr)}.nt-cards.nt-grid.cols-5{grid-template-columns:repeat(5, 1fr)}.nt-cards.nt-grid.cols-6{grid-template-columns:repeat(6, 1fr)}@media only screen and (max-width: 400px){.nt-cards.nt-grid{grid-template-columns:repeat(1, 1fr) !important}}.nt-card{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.nt-card:hover{box-shadow:0 2px 2px 0 rgba(0,0,0,.24),0 3px 1px -2px rgba(0,0,0,.3),0 1px 5px 0 rgba(0,0,0,.22)}[data-md-color-scheme=slate] .nt-card{box-shadow:0 2px 2px 0 rgba(4,40,33,.14),0 3px 1px -2px rgba(40,86,94,.47),0 1px 5px 0 rgba(139,252,255,.64)}[data-md-color-scheme=slate] .nt-card:hover{box-shadow:0 2px 2px 0 rgba(0,255,206,.14),0 3px 1px -2px rgba(33,156,177,.47),0 1px 5px 0 rgba(96,251,255,.64)}.nt-card>a{color:var(--md-default-fg-color)}.nt-card>a>div{cursor:pointer}.nt-card{padding:5px;margin-bottom:.5rem}.nt-card-title{font-size:1rem;font-weight:bold;margin:4px 0 8px 0;line-height:22px}.nt-card-content{padding:.4rem .8rem .8rem .8rem}.nt-card-text{font-size:14px;padding:0;margin:0}.nt-card .nt-card-image{text-align:center;border-radius:2px;background-position:center center;background-size:cover;background-repeat:no-repeat;min-height:120px}.nt-card .nt-card-image.tags img{margin-top:12px}.nt-card .nt-card-image img{height:105px;margin-top:5px}.nt-card a:hover,.nt-card a:focus{color:var(--md-accent-fg-color)}.nt-card h2{margin:0}.span-table-wrapper table{border-collapse:collapse;margin-bottom:2rem;border-radius:.1rem}.span-table td,.span-table th{padding:.2rem;background-color:var(--md-default-bg-color);font-size:.64rem;max-width:100%;overflow:auto;touch-action:auto;border-top:.05rem solid var(--md-typeset-table-color);padding:.9375em 1.25em;vertical-align:top}.span-table tr:first-child td{font-weight:700;min-width:5rem;padding:.9375em 1.25em;vertical-align:top}.span-table td:first-child{border-left:.05rem solid var(--md-typeset-table-color)}.span-table td:last-child{border-right:.05rem solid var(--md-typeset-table-color)}.span-table tr:last-child{border-bottom:.05rem solid var(--md-typeset-table-color)}.span-table [colspan],.span-table [rowspan]{font-weight:bold;border:.05rem solid var(--md-typeset-table-color)}.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]),.span-table td[colspan]:hover,.span-table td[rowspan]:hover{background-color:rgba(0,0,0,.035);box-shadow:0 .05rem 0 var(--md-default-bg-color) inset;transition:background-color 125ms} diff --git a/docs/docs/css/neoteroi-spantable.css b/docs/docs/css/neoteroi-spantable.css deleted file mode 100644 index be069a85..00000000 --- a/docs/docs/css/neoteroi-spantable.css +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Extra CSS file recommended for MkDocs and neoteroi.spantable extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -.span-table-wrapper table { - border-collapse: collapse; - margin-bottom: 2rem; - border-radius: 0.1rem; -} - -.span-table td, -.span-table th { - padding: 0.2rem; - background-color: var(--md-default-bg-color); - font-size: 0.64rem; - max-width: 100%; - overflow: auto; - touch-action: auto; - border-top: 0.05rem solid var(--md-typeset-table-color); - padding: 0.9375em 1.25em; - vertical-align: top; -} - -.span-table tr:first-child td { - font-weight: 700; - min-width: 5rem; - padding: 0.9375em 1.25em; - vertical-align: top; -} - -.span-table td:first-child { - border-left: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table td:last-child { - border-right: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table tr:last-child { - border-bottom: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table [colspan], -.span-table [rowspan] { - font-weight: bold; - border: 0.05rem solid var(--md-typeset-table-color); -} - -.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]), -.span-table td[colspan]:hover, -.span-table td[rowspan]:hover { - background-color: rgba(0, 0, 0, 0.035); - box-shadow: 0 0.05rem 0 var(--md-default-bg-color) inset; - transition: background-color 125ms; -} diff --git a/docs/docs/css/neoteroi-timeline.css b/docs/docs/css/neoteroi-timeline.css deleted file mode 100644 index 68220895..00000000 --- a/docs/docs/css/neoteroi-timeline.css +++ /dev/null @@ -1,340 +0,0 @@ -/** - * Extra CSS file for MkDocs and the neoteroi.timeline extension. - * - * https://github.com/Neoteroi/mkdocs-plugins -**/ -.nt-error { - border: 2px dashed darkred; - padding: 0 1rem; - background: #faf9ba; - color: darkred; -} - -.nt-timeline { - margin-top: 30px; -} -.nt-timeline .nt-timeline-title { - font-size: 1.1rem; - margin-top: 0; -} -.nt-timeline .nt-timeline-sub-title { - margin-top: 0; -} -.nt-timeline .nt-timeline-content { - font-size: 0.8rem; - border-bottom: 2px dashed #ccc; - padding-bottom: 1.2rem; -} -.nt-timeline.horizontal .nt-timeline-items { - flex-direction: row; - overflow-x: scroll; -} -.nt-timeline.horizontal .nt-timeline-items > div { - min-width: 400px; - margin-right: 50px; -} -.nt-timeline.horizontal.reverse .nt-timeline-items { - flex-direction: row-reverse; -} -.nt-timeline.horizontal.center .nt-timeline-before { - background-image: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal.center .nt-timeline-after { - background-image: linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal.center .nt-timeline-items { - background-image: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%); - background-repeat: no-repeat; - background-size: 100% 2px; - background-position: 0 center; -} -.nt-timeline.horizontal .nt-timeline-dot { - left: 50%; -} -.nt-timeline.horizontal .nt-timeline-dot:not(.bigger) { - top: calc(50% - 4px); -} -.nt-timeline.horizontal .nt-timeline-dot.bigger { - top: calc(50% - 15px); -} -.nt-timeline.vertical .nt-timeline-items { - flex-direction: column; -} -.nt-timeline.vertical.reverse .nt-timeline-items { - flex-direction: column-reverse; -} -.nt-timeline.vertical.center .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; -} -.nt-timeline.vertical.center .nt-timeline-dot { - left: calc(50% - 10px); -} -.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger) { - top: 10px; -} -.nt-timeline.vertical.center .nt-timeline-dot.bigger { - left: calc(50% - 20px); -} -.nt-timeline.vertical.left { - padding-left: 100px; -} -.nt-timeline.vertical.left .nt-timeline-item { - padding-left: 70px; -} -.nt-timeline.vertical.left .nt-timeline-sub-title { - left: -100px; - width: 100px; -} -.nt-timeline.vertical.left .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; -} -.nt-timeline.vertical.left .nt-timeline-dot { - left: 21px; - top: 8px; -} -.nt-timeline.vertical.left .nt-timeline-dot.bigger { - top: 0px; - left: 10px; -} -.nt-timeline.vertical.right { - padding-right: 100px; -} -.nt-timeline.vertical.right .nt-timeline-sub-title { - right: -100px; - text-align: left; - width: 100px; -} -.nt-timeline.vertical.right .nt-timeline-item { - padding-right: 70px; -} -.nt-timeline.vertical.right .nt-timeline-before { - background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-after { - background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-items { - background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; -} -.nt-timeline.vertical.right .nt-timeline-dot { - right: 21px; - top: 8px; -} -.nt-timeline.vertical.right .nt-timeline-dot.bigger { - top: 10px; - right: 10px; -} - -.nt-timeline-items { - display: flex; - position: relative; -} -.nt-timeline-items > div { - min-height: 100px; - padding-top: 2px; - padding-bottom: 20px; -} - -.nt-timeline-before { - content: ""; - height: 15px; -} - -.nt-timeline-after { - content: ""; - height: 60px; - margin-bottom: 20px; -} - -.nt-timeline-sub-title { - position: absolute; - width: 50%; - top: 4px; - font-size: 18px; - color: var(--nt-color-50); -} - -[data-md-color-scheme=slate] .nt-timeline-sub-title { - color: var(--nt-color-51); -} - -.nt-timeline-item { - position: relative; -} - -.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item { - padding-left: calc(50% + 40px); -} -.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { - left: 0; - padding-right: 40px; - text-align: right; -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) { - padding-left: calc(50% + 40px); -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title { - left: 0; - padding-right: 40px; - text-align: right; -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) { - text-align: right; - padding-right: calc(50% + 40px); -} -.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { - right: 0; - padding-left: 40px; - text-align: left; -} - -.nt-timeline-dot { - position: relative; - width: 20px; - height: 20px; - border-radius: 100%; - background-color: #fc5b5b; - position: absolute; - top: 0px; - z-index: 2; - display: flex; - justify-content: center; - align-items: center; - box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12); - border: 3px solid white; -} -.nt-timeline-dot:not(.bigger) .icon { - font-size: 10px; -} -.nt-timeline-dot.bigger { - width: 40px; - height: 40px; - padding: 3px; -} -.nt-timeline-dot .icon { - color: white; -} - -/* Fix for webkit (Chrome, Safari) */ -@supports not (-moz-appearance: none) { - /* - This fix is necessary, for some reason, to render the timeline properly - inside `details` elements used by pymdownx. Firefox doesn't need this fix, - it renders elements properly. - */ - details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title, -details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { - left: -40px; - } - details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { - right: -40px; - } - details .nt-timeline.vertical.center .nt-timeline-dot { - left: calc(50% - 12px); - } - details .nt-timeline-dot.bigger { - font-size: 1rem !important; - } -} -/* default colors */ -.nt-timeline-item:nth-child(0) .nt-timeline-dot { - background-color: var(--nt-color-0); -} - -.nt-timeline-item:nth-child(1) .nt-timeline-dot { - background-color: var(--nt-color-1); -} - -.nt-timeline-item:nth-child(2) .nt-timeline-dot { - background-color: var(--nt-color-2); -} - -.nt-timeline-item:nth-child(3) .nt-timeline-dot { - background-color: var(--nt-color-3); -} - -.nt-timeline-item:nth-child(4) .nt-timeline-dot { - background-color: var(--nt-color-4); -} - -.nt-timeline-item:nth-child(5) .nt-timeline-dot { - background-color: var(--nt-color-5); -} - -.nt-timeline-item:nth-child(6) .nt-timeline-dot { - background-color: var(--nt-color-6); -} - -.nt-timeline-item:nth-child(7) .nt-timeline-dot { - background-color: var(--nt-color-7); -} - -.nt-timeline-item:nth-child(8) .nt-timeline-dot { - background-color: var(--nt-color-8); -} - -.nt-timeline-item:nth-child(9) .nt-timeline-dot { - background-color: var(--nt-color-9); -} - -.nt-timeline-item:nth-child(10) .nt-timeline-dot { - background-color: var(--nt-color-10); -} - -.nt-timeline-item:nth-child(11) .nt-timeline-dot { - background-color: var(--nt-color-11); -} - -.nt-timeline-item:nth-child(12) .nt-timeline-dot { - background-color: var(--nt-color-12); -} - -.nt-timeline-item:nth-child(13) .nt-timeline-dot { - background-color: var(--nt-color-13); -} - -.nt-timeline-item:nth-child(14) .nt-timeline-dot { - background-color: var(--nt-color-14); -} - -.nt-timeline-item:nth-child(15) .nt-timeline-dot { - background-color: var(--nt-color-15); -} - -.nt-timeline-item:nth-child(16) .nt-timeline-dot { - background-color: var(--nt-color-16); -} - -.nt-timeline-item:nth-child(17) .nt-timeline-dot { - background-color: var(--nt-color-17); -} - -.nt-timeline-item:nth-child(18) .nt-timeline-dot { - background-color: var(--nt-color-18); -} - -.nt-timeline-item:nth-child(19) .nt-timeline-dot { - background-color: var(--nt-color-19); -} - -.nt-timeline-item:nth-child(20) .nt-timeline-dot { - background-color: var(--nt-color-20); -} diff --git a/docs/docs/index.md b/docs/docs/index.md deleted file mode 100644 index cce47e7b..00000000 --- a/docs/docs/index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -template: home.html ---- - -你好,世界主! diff --git a/docs/docs/javascripts/.gitkeep b/docs/docs/javascripts/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/javascripts/extra.js b/docs/docs/javascripts/extra.js deleted file mode 100644 index a8694826..00000000 --- a/docs/docs/javascripts/extra.js +++ /dev/null @@ -1,4 +0,0 @@ -$( '.contributors img[data-src]' ).each( function() { - src = $(this).attr("data-src"); - $(this).attr('src',src); -}); \ No newline at end of file diff --git a/docs/docs/res/main.pdf b/docs/docs/res/main.pdf deleted file mode 100644 index 4ec4dd73..00000000 Binary files a/docs/docs/res/main.pdf and /dev/null differ diff --git a/docs/docs/stylesheets/.gitkeep b/docs/docs/stylesheets/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docs/stylesheets/extra.css b/docs/docs/stylesheets/extra.css deleted file mode 100644 index c555dccc..00000000 --- a/docs/docs/stylesheets/extra.css +++ /dev/null @@ -1,27 +0,0 @@ -.metadata{ - list-style:none; - padding:0; - margin:0; - margin-bottom: 15px; - color: #999; - font-size:0.85em; -} -.metadata.page-metadata .contributors-text{ - margin-right:5px -} -body[dir=rtl] .metadata.page-metadata .contributors-text{ - margin-right:0; - margin-left:5px -} -.page-metadata .contributors{ - display:inline-block; - list-style:none; - margin:0!important; - padding:0!important -} -.page-metadata .contributors li{ - display:inline-block; - vertical-align:top; - margin:0; - padding:0 -} \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 00000000..cce47e7b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,5 @@ +--- +template: home.html +--- + +你好,世界主! diff --git a/docs/javascripts/.gitkeep b/docs/javascripts/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/javascripts/extra.js b/docs/javascripts/extra.js new file mode 100644 index 00000000..a8694826 --- /dev/null +++ b/docs/javascripts/extra.js @@ -0,0 +1,4 @@ +$( '.contributors img[data-src]' ).each( function() { + src = $(this).attr("data-src"); + $(this).attr('src',src); +}); \ No newline at end of file diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml deleted file mode 100644 index cd347321..00000000 --- a/docs/mkdocs.yml +++ /dev/null @@ -1,186 +0,0 @@ -site_name: HydroRollCore 核心文档 (草案) -repo_url: https://github.com/HydroRoll-Team/HydroRollCore -repo_name: HydroRoll-Team/HydroRollCore -edit_uri: edit/master/docs/docs/ -site_author: Hsiang Nianian -site_description: >- - HydroRollCore -- 水系核心,一个基于通用规则包标准的规则包读取框架。 - -theme: - name: material - language: zh - icon: - logo: material/library-outline - repo: fontawesome/brands/git-alt - custom_dir: overrides - features: - - content.action.edit - - content.action.view - - content.tooltips - - navigation.footer - - navigation.tabs - # - navigation.tabs.sticky - - navigation.sections - - navigation.expand - - navigation.path - - navigation.indexes - - toc.follow - - navigation.top - - search.highlight - - search.suggest - - search.share - - header.autohide - - navigation.footer - palette: - # Palette toggle for automatic mode - - media: "(prefers-color-scheme)" - toggle: - icon: material/brightness-auto - name: Switch to light mode - - # Palette toggle for light mode - - media: "(prefers-color-scheme: light)" - scheme: default - toggle: - icon: material/brightness-7 - name: Switch to dark mode - - # Palette toggle for dark mode - - media: "(prefers-color-scheme: dark)" - scheme: slate - toggle: - icon: material/brightness-4 - name: Switch to system preference - -extra: - homepage: https://HydroRollCore.retrofor.space - alternate: - # - name: English - # link: /en/ - # lang: en - - name: 中文 - link: / - lang: zh - consent: - title: Cookie 偏好设置 - description: >- - 我们使用Cookie来识别您的重复访问和偏好,以及衡量我们的文档的有效性和用户是否找到他们搜索的内容。在您的同意下,这将帮助我们改善我们的文档。 - actions: - - accept - - manage - cookies: - analytics: - name: Google Analytics - checked: true - github: - name: GitHub - checked: true - - social: - - icon: fontawesome/brands/github - link: https://github.com/HydroRoll-Team - -extra_css: - - stylesheets/extra.css - - css/neoteroi-mkdocs.css - -extra_javascript: - - javascripts/extra.js - -copyright: > - Copyright © 2013 - PRESENT. HydroRoll-Team – - 管理Cookie - -markdown_extensions: - # - neoteroi.timeline - # - neoteroi.cards - # - neoteroi.projects - # - neoteroi.spantabs - - pymdownx.snippets: - auto_append: - - includes/abbreviations.md - - abbr - - admonition - - attr_list - - def_list - - footnotes - - md_in_html - - toc: - permalink: true - - pymdownx.arithmatex: - generic: true - - pymdownx.betterem: - smart_enable: all - - pymdownx.caret - - pymdownx.details - - pymdownx.emoji: - emoji_generator: !!python/name:materialx.emoji.to_svg - emoji_index: !!python/name:materialx.emoji.twemoji - - pymdownx.highlight: - anchor_linenums: true - line_spans: __span - pygments_lang_class: true - - pymdownx.inlinehilite - - pymdownx.keys - - pymdownx.magiclink: - repo_url_shorthand: true - user: squidfunk - repo: mkdocs-material - - pymdownx.mark - - pymdownx.smartsymbols - - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name:pymdownx.superfences.fence_code_format - - pymdownx.tabbed: - alternate_style: true - - pymdownx.tasklist: - custom_checkbox: true - - pymdownx.tilde - -plugins: - - blog - - search - - git-authors - - git-revision-date-localized: - enable_creation_date: true - fallback_to_build_date: true - timezone: Asia/Shanghai - type: timeago - custom_format: "%d. %B %Y" - - git-committers: - repository: HydroRoll-Team/HydroRollCore - branch: master - -nav: - - 主页: index.md - - 水系核心: - - "核心概览": Core/index.md - - 规则包入门: - - 整体结构: - - "类": RulePackage/Structure/class.md - - "方法": RulePackage/Structure/method.md - - "属性": RulePackage/Structure/attribute.md - - 实战内容: - - "了解Python": RulePackage/Write/python.md - - "准备规则书": RulePackage/Write/prepare.md - - "编写规则包": RulePackage/Write/write.md - - 通用规则包标准(GRPS1): - - 什么是规则包?: Standard/what-is-rule-package.md - - 为什么要做规则包?: Standard/why-rule-package.md - - 什么是通用规则包标准?: Standard/what-is-standard.md - - 术语表(草案): - - setting 背景: Standard/Term/setting.md - - scenario 剧本: Standard/Term/scenario.md - - duration 时长: - - sene 场: Standard/Term/Duration/sene.md - - module 模组: Standard/Term/Duration/module.md - - campaign 战役: Standard/Term/Duration/campaign.md - - face 骰子面数: Standard/Term/dice-face.md - - count 骰子个数: Standard/Term/dice-count.md - - check 检定: - - Standard/Term/check/index.md - - ability 检定: Standard/Term/check/ability.md - - API Reference: - - "API Reference": API/index.md diff --git a/docs/overrides/.gitkeep b/docs/overrides/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/overrides/assets/images/bg.jpg b/docs/overrides/assets/images/bg.jpg deleted file mode 100644 index 90976a9f..00000000 Binary files a/docs/overrides/assets/images/bg.jpg and /dev/null differ diff --git a/docs/overrides/assets/images/illustration.png b/docs/overrides/assets/images/illustration.png deleted file mode 100644 index 69f739c0..00000000 Binary files a/docs/overrides/assets/images/illustration.png and /dev/null differ diff --git a/docs/overrides/home.html b/docs/overrides/home.html deleted file mode 100644 index 79b18ba8..00000000 --- a/docs/overrides/home.html +++ /dev/null @@ -1,111 +0,0 @@ - - -{% extends "main.html" %} - - -{% block tabs %} - {{ super() }} - - - - - -
-
-
- - -
- -
- - -
-

HydroRollCore

- HydroRollCore 是一个规则包读取与处理分发用工具,通过读取一个一个规则包实现水系骰子掷骰规则,同时支持模板创建与Wiki站点辅助设计规则书内容。
- 它是世界主入门水系的关键。
- - 快速开始 - - - 了解通用规则包标准 - -
-
-
-
-{% endblock %} - - -{% block content %} - -{% endblock %} - - -{% block footer %} - -{% endblock %} \ No newline at end of file diff --git a/docs/overrides/main.html b/docs/overrides/main.html deleted file mode 100644 index 419038a4..00000000 --- a/docs/overrides/main.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - {{ super() }} - -{% block footer %} - -{% endblock %} - - -{% endblock %} diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index beda6eae..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -mkdocs-material -mkdocs-blog-plugin -mkdocs-git-revision-date-localized-plugin -mkdocs-git-authors-plugin -mkdocs-material-extensions>=1.1 -neoteroi-mkdocs -pillow -cairosvg -mkdocs-git-committers-plugin-2>=1.1.1 \ No newline at end of file diff --git a/docs/res/main.pdf b/docs/res/main.pdf new file mode 100644 index 00000000..4ec4dd73 Binary files /dev/null and b/docs/res/main.pdf differ diff --git a/docs/site/404.html b/docs/site/404.html deleted file mode 100644 index 3b9787a3..00000000 --- a/docs/site/404.html +++ /dev/null @@ -1,621 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Psi Docs (Draft) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - -
-
-
- - - -
-
-
- - - -
-
-
- - - -
-
- -

404 - Not found

- -
-
- - -
- - - -
- - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/site/assets/images/favicon.png b/docs/site/assets/images/favicon.png deleted file mode 100644 index 1cf13b9f..00000000 Binary files a/docs/site/assets/images/favicon.png and /dev/null differ diff --git a/docs/site/assets/javascripts/bundle.220ee61c.min.js b/docs/site/assets/javascripts/bundle.220ee61c.min.js deleted file mode 100644 index 116072a1..00000000 --- a/docs/site/assets/javascripts/bundle.220ee61c.min.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict";(()=>{var Ci=Object.create;var gr=Object.defineProperty;var Ri=Object.getOwnPropertyDescriptor;var ki=Object.getOwnPropertyNames,Ht=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable;var rn=(e,t,r)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))yr.call(t,r)&&rn(e,r,t[r]);if(Ht)for(var r of Ht(t))nn.call(t,r)&&rn(e,r,t[r]);return e};var on=(e,t)=>{var r={};for(var n in e)yr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ht)for(var n of Ht(e))t.indexOf(n)<0&&nn.call(e,n)&&(r[n]=e[n]);return r};var Pt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Pi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ki(t))!yr.call(e,o)&&o!==r&&gr(e,o,{get:()=>t[o],enumerable:!(n=Ri(t,o))||n.enumerable});return e};var yt=(e,t,r)=>(r=e!=null?Ci(Hi(e)):{},Pi(t||!e||!e.__esModule?gr(r,"default",{value:e,enumerable:!0}):r,e));var sn=Pt((xr,an)=>{(function(e,t){typeof xr=="object"&&typeof an!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(xr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(O){return!!(O&&O!==document&&O.nodeName!=="HTML"&&O.nodeName!=="BODY"&&"classList"in O&&"contains"in O.classList)}function f(O){var Qe=O.type,De=O.tagName;return!!(De==="INPUT"&&s[Qe]&&!O.readOnly||De==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function c(O){O.classList.contains("focus-visible")||(O.classList.add("focus-visible"),O.setAttribute("data-focus-visible-added",""))}function u(O){O.hasAttribute("data-focus-visible-added")&&(O.classList.remove("focus-visible"),O.removeAttribute("data-focus-visible-added"))}function p(O){O.metaKey||O.altKey||O.ctrlKey||(a(r.activeElement)&&c(r.activeElement),n=!0)}function m(O){n=!1}function d(O){a(O.target)&&(n||f(O.target))&&c(O.target)}function h(O){a(O.target)&&(O.target.classList.contains("focus-visible")||O.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(O.target))}function v(O){document.visibilityState==="hidden"&&(o&&(n=!0),Y())}function Y(){document.addEventListener("mousemove",N),document.addEventListener("mousedown",N),document.addEventListener("mouseup",N),document.addEventListener("pointermove",N),document.addEventListener("pointerdown",N),document.addEventListener("pointerup",N),document.addEventListener("touchmove",N),document.addEventListener("touchstart",N),document.addEventListener("touchend",N)}function B(){document.removeEventListener("mousemove",N),document.removeEventListener("mousedown",N),document.removeEventListener("mouseup",N),document.removeEventListener("pointermove",N),document.removeEventListener("pointerdown",N),document.removeEventListener("pointerup",N),document.removeEventListener("touchmove",N),document.removeEventListener("touchstart",N),document.removeEventListener("touchend",N)}function N(O){O.target.nodeName&&O.target.nodeName.toLowerCase()==="html"||(n=!1,B())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",v,!0),Y(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var cn=Pt(Er=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(c){return!1}},r=t(),n=function(c){var u={next:function(){var p=c.shift();return{done:p===void 0,value:p}}};return r&&(u[Symbol.iterator]=function(){return u}),u},o=function(c){return encodeURIComponent(c).replace(/%20/g,"+")},i=function(c){return decodeURIComponent(String(c).replace(/\+/g," "))},s=function(){var c=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var m=typeof p;if(m!=="undefined")if(m==="string")p!==""&&this._fromString(p);else if(p instanceof c){var d=this;p.forEach(function(B,N){d.append(N,B)})}else if(p!==null&&m==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;hd[0]?1:0}),c._entries&&(c._entries={});for(var p=0;p1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Er);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},r=function(){var o=e.URL,i=function(f,c){typeof f!="string"&&(f=String(f)),c&&typeof c!="string"&&(c=String(c));var u=document,p;if(c&&(e.location===void 0||c!==e.location.href)){c=c.toLowerCase(),u=document.implementation.createHTMLDocument(""),p=u.createElement("base"),p.href=c,u.head.appendChild(p);try{if(p.href.indexOf(c)!==0)throw new Error(p.href)}catch(O){throw new Error("URL unable to set base "+c+" due to "+O)}}var m=u.createElement("a");m.href=f,p&&(u.body.appendChild(m),m.href=m.href);var d=u.createElement("input");if(d.type="url",d.value=f,m.protocol===":"||!/:/.test(m.href)||!d.checkValidity()&&!c)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:m});var h=new e.URLSearchParams(this.search),v=!0,Y=!0,B=this;["append","delete","set"].forEach(function(O){var Qe=h[O];h[O]=function(){Qe.apply(h,arguments),v&&(Y=!1,B.search=h.toString(),Y=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var N=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==N&&(N=this.search,Y&&(v=!1,this.searchParams._fromString(this.search),v=!0))}})},s=i.prototype,a=function(f){Object.defineProperty(s,f,{get:function(){return this._anchorElement[f]},set:function(c){this._anchorElement[f]=c},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(f){a(f)}),Object.defineProperty(s,"search",{get:function(){return this._anchorElement.search},set:function(f){this._anchorElement.search=f,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(s,{toString:{get:function(){var f=this;return function(){return f.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(f){this._anchorElement.href=f,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(f){this._anchorElement.pathname=f},enumerable:!0},origin:{get:function(){var f={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],c=this._anchorElement.port!=f&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(c?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(f){},enumerable:!0},username:{get:function(){return""},set:function(f){},enumerable:!0}}),i.createObjectURL=function(f){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(f){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||r(),e.location!==void 0&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=n()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Er)});var qr=Pt((Mt,Nr)=>{/*! - * clipboard.js v2.0.11 - * https://clipboardjs.com/ - * - * Licensed MIT © Zeno Rocha - */(function(t,r){typeof Mt=="object"&&typeof Nr=="object"?Nr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Mt=="object"?Mt.ClipboardJS=r():t.ClipboardJS=r()})(Mt,function(){return function(){var e={686:function(n,o,i){"use strict";i.d(o,{default:function(){return Ai}});var s=i(279),a=i.n(s),f=i(370),c=i.n(f),u=i(817),p=i.n(u);function m(j){try{return document.execCommand(j)}catch(T){return!1}}var d=function(T){var E=p()(T);return m("cut"),E},h=d;function v(j){var T=document.documentElement.getAttribute("dir")==="rtl",E=document.createElement("textarea");E.style.fontSize="12pt",E.style.border="0",E.style.padding="0",E.style.margin="0",E.style.position="absolute",E.style[T?"right":"left"]="-9999px";var H=window.pageYOffset||document.documentElement.scrollTop;return E.style.top="".concat(H,"px"),E.setAttribute("readonly",""),E.value=j,E}var Y=function(T,E){var H=v(T);E.container.appendChild(H);var I=p()(H);return m("copy"),H.remove(),I},B=function(T){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},H="";return typeof T=="string"?H=Y(T,E):T instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(T==null?void 0:T.type)?H=Y(T.value,E):(H=p()(T),m("copy")),H},N=B;function O(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(E){return typeof E}:O=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},O(j)}var Qe=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=T.action,H=E===void 0?"copy":E,I=T.container,q=T.target,Me=T.text;if(H!=="copy"&&H!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(q!==void 0)if(q&&O(q)==="object"&&q.nodeType===1){if(H==="copy"&&q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(H==="cut"&&(q.hasAttribute("readonly")||q.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Me)return N(Me,{container:I});if(q)return H==="cut"?h(q):N(q,{container:I})},De=Qe;function $e(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$e=function(E){return typeof E}:$e=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},$e(j)}function Ei(j,T){if(!(j instanceof T))throw new TypeError("Cannot call a class as a function")}function tn(j,T){for(var E=0;E0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof I.action=="function"?I.action:this.defaultAction,this.target=typeof I.target=="function"?I.target:this.defaultTarget,this.text=typeof I.text=="function"?I.text:this.defaultText,this.container=$e(I.container)==="object"?I.container:document.body}},{key:"listenClick",value:function(I){var q=this;this.listener=c()(I,"click",function(Me){return q.onClick(Me)})}},{key:"onClick",value:function(I){var q=I.delegateTarget||I.currentTarget,Me=this.action(q)||"copy",kt=De({action:Me,container:this.container,target:this.target(q),text:this.text(q)});this.emit(kt?"success":"error",{action:Me,text:kt,trigger:q,clearSelection:function(){q&&q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(I){return vr("action",I)}},{key:"defaultTarget",value:function(I){var q=vr("target",I);if(q)return document.querySelector(q)}},{key:"defaultText",value:function(I){return vr("text",I)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(I){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return N(I,q)}},{key:"cut",value:function(I){return h(I)}},{key:"isSupported",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],q=typeof I=="string"?[I]:I,Me=!!document.queryCommandSupported;return q.forEach(function(kt){Me=Me&&!!document.queryCommandSupported(kt)}),Me}}]),E}(a()),Ai=Li},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function s(a,f){for(;a&&a.nodeType!==o;){if(typeof a.matches=="function"&&a.matches(f))return a;a=a.parentNode}}n.exports=s},438:function(n,o,i){var s=i(828);function a(u,p,m,d,h){var v=c.apply(this,arguments);return u.addEventListener(m,v,h),{destroy:function(){u.removeEventListener(m,v,h)}}}function f(u,p,m,d,h){return typeof u.addEventListener=="function"?a.apply(null,arguments):typeof m=="function"?a.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(v){return a(v,p,m,d,h)}))}function c(u,p,m,d){return function(h){h.delegateTarget=s(h.target,p),h.delegateTarget&&d.call(u,h)}}n.exports=f},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var s=Object.prototype.toString.call(i);return s==="[object Function]"}},370:function(n,o,i){var s=i(879),a=i(438);function f(m,d,h){if(!m&&!d&&!h)throw new Error("Missing required arguments");if(!s.string(d))throw new TypeError("Second argument must be a String");if(!s.fn(h))throw new TypeError("Third argument must be a Function");if(s.node(m))return c(m,d,h);if(s.nodeList(m))return u(m,d,h);if(s.string(m))return p(m,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(m,d,h){return m.addEventListener(d,h),{destroy:function(){m.removeEventListener(d,h)}}}function u(m,d,h){return Array.prototype.forEach.call(m,function(v){v.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(m,function(v){v.removeEventListener(d,h)})}}}function p(m,d,h){return a(document.body,m,d,h)}n.exports=f},817:function(n){function o(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var f=window.getSelection(),c=document.createRange();c.selectNodeContents(i),f.removeAllRanges(),f.addRange(c),s=f.toString()}return s}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,s,a){var f=this.e||(this.e={});return(f[i]||(f[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var f=this;function c(){f.off(i,c),s.apply(a,arguments)}return c._=s,this.on(i,c,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),f=0,c=a.length;for(f;f{"use strict";/*! - * escape-html - * Copyright(c) 2012-2013 TJ Holowaychuk - * Copyright(c) 2015 Andreas Lubbe - * Copyright(c) 2015 Tiancheng "Timothy" Gu - * MIT Licensed - */var rs=/["'&<>]/;Yo.exports=ns;function ns(e){var t=""+e,r=rs.exec(t);if(!r)return t;var n,o="",i=0,s=0;for(i=r.index;i0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function D(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n1||a(m,d)})})}function a(m,d){try{f(n[m](d))}catch(h){p(i[0][3],h)}}function f(m){m.value instanceof et?Promise.resolve(m.value.v).then(c,u):p(i[0][2],m)}function c(m){a("next",m)}function u(m){a("throw",m)}function p(m,d){m(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function pn(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Ee=="function"?Ee(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,f){s=e[i](s),o(a,f,s.done,s.value)})}}function o(i,s,a,f){Promise.resolve(f).then(function(c){i({value:c,done:a})},s)}}function C(e){return typeof e=="function"}function at(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var It=at(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: -`+r.map(function(n,o){return o+1+") "+n.toString()}).join(` - `):"",this.name="UnsubscriptionError",this.errors=r}});function Ve(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ie=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Ee(s),f=a.next();!f.done;f=a.next()){var c=f.value;c.remove(this)}}catch(v){t={error:v}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(C(u))try{u()}catch(v){i=v instanceof It?v.errors:[v]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var m=Ee(p),d=m.next();!d.done;d=m.next()){var h=d.value;try{ln(h)}catch(v){i=i!=null?i:[],v instanceof It?i=D(D([],W(i)),W(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new It(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ln(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ve(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ve(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Sr=Ie.EMPTY;function jt(e){return e instanceof Ie||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function ln(e){C(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout:function(e,t){for(var r=[],n=2;n0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?Sr:(this.currentObservers=null,a.push(r),new Ie(function(){n.currentObservers=null,Ve(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new F;return r.source=this,r},t.create=function(r,n){return new xn(r,n)},t}(F);var xn=function(e){ie(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Sr},t}(x);var Et={now:function(){return(Et.delegate||Date).now()},delegate:void 0};var wt=function(e){ie(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Et);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,f=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+f)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,s=o._buffer,a=s.slice(),f=0;f0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=ut.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var s=r.actions;n!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==n&&(ut.cancelAnimationFrame(n),r._scheduled=void 0)},t}(Wt);var Sn=function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(Dt);var Oe=new Sn(wn);var M=new F(function(e){return e.complete()});function Vt(e){return e&&C(e.schedule)}function Cr(e){return e[e.length-1]}function Ye(e){return C(Cr(e))?e.pop():void 0}function Te(e){return Vt(Cr(e))?e.pop():void 0}function zt(e,t){return typeof Cr(e)=="number"?e.pop():t}var pt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Nt(e){return C(e==null?void 0:e.then)}function qt(e){return C(e[ft])}function Kt(e){return Symbol.asyncIterator&&C(e==null?void 0:e[Symbol.asyncIterator])}function Qt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function zi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yt=zi();function Gt(e){return C(e==null?void 0:e[Yt])}function Bt(e){return un(this,arguments,function(){var r,n,o,i;return $t(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,et(r.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,et(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,et(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Jt(e){return C(e==null?void 0:e.getReader)}function U(e){if(e instanceof F)return e;if(e!=null){if(qt(e))return Ni(e);if(pt(e))return qi(e);if(Nt(e))return Ki(e);if(Kt(e))return On(e);if(Gt(e))return Qi(e);if(Jt(e))return Yi(e)}throw Qt(e)}function Ni(e){return new F(function(t){var r=e[ft]();if(C(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qi(e){return new F(function(t){for(var r=0;r=2;return function(n){return n.pipe(e?A(function(o,i){return e(o,i,n)}):de,ge(1),r?He(t):Dn(function(){return new Zt}))}}function Vn(){for(var e=[],t=0;t=2,!0))}function pe(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new x}:t,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,f=a===void 0?!0:a;return function(c){var u,p,m,d=0,h=!1,v=!1,Y=function(){p==null||p.unsubscribe(),p=void 0},B=function(){Y(),u=m=void 0,h=v=!1},N=function(){var O=u;B(),O==null||O.unsubscribe()};return y(function(O,Qe){d++,!v&&!h&&Y();var De=m=m!=null?m:r();Qe.add(function(){d--,d===0&&!v&&!h&&(p=$r(N,f))}),De.subscribe(Qe),!u&&d>0&&(u=new rt({next:function($e){return De.next($e)},error:function($e){v=!0,Y(),p=$r(B,o,$e),De.error($e)},complete:function(){h=!0,Y(),p=$r(B,s),De.complete()}}),U(O).subscribe(u))})(c)}}function $r(e,t){for(var r=[],n=2;ne.next(document)),e}function K(e,t=document){return Array.from(t.querySelectorAll(e))}function z(e,t=document){let r=ce(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function ce(e,t=document){return t.querySelector(e)||void 0}function _e(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function tr(e){return L(b(document.body,"focusin"),b(document.body,"focusout")).pipe(ke(1),l(()=>{let t=_e();return typeof t!="undefined"?e.contains(t):!1}),V(e===_e()),J())}function Xe(e){return{x:e.offsetLeft,y:e.offsetTop}}function Kn(e){return L(b(window,"load"),b(window,"resize")).pipe(Ce(0,Oe),l(()=>Xe(e)),V(Xe(e)))}function rr(e){return{x:e.scrollLeft,y:e.scrollTop}}function dt(e){return L(b(e,"scroll"),b(window,"resize")).pipe(Ce(0,Oe),l(()=>rr(e)),V(rr(e)))}var Yn=function(){if(typeof Map!="undefined")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!Wr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),va?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Wr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=ba.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Gn=function(e,t){for(var r=0,n=Object.keys(t);r0},e}(),Jn=typeof WeakMap!="undefined"?new WeakMap:new Yn,Xn=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ga.getInstance(),n=new La(t,r,this);Jn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Xn.prototype[e]=function(){var t;return(t=Jn.get(this))[e].apply(t,arguments)}});var Aa=function(){return typeof nr.ResizeObserver!="undefined"?nr.ResizeObserver:Xn}(),Zn=Aa;var eo=new x,Ca=$(()=>k(new Zn(e=>{for(let t of e)eo.next(t)}))).pipe(g(e=>L(ze,k(e)).pipe(R(()=>e.disconnect()))),X(1));function he(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ye(e){return Ca.pipe(S(t=>t.observe(e)),g(t=>eo.pipe(A(({target:r})=>r===e),R(()=>t.unobserve(e)),l(()=>he(e)))),V(he(e)))}function bt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function ar(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var to=new x,Ra=$(()=>k(new IntersectionObserver(e=>{for(let t of e)to.next(t)},{threshold:0}))).pipe(g(e=>L(ze,k(e)).pipe(R(()=>e.disconnect()))),X(1));function sr(e){return Ra.pipe(S(t=>t.observe(e)),g(t=>to.pipe(A(({target:r})=>r===e),R(()=>t.unobserve(e)),l(({isIntersecting:r})=>r))))}function ro(e,t=16){return dt(e).pipe(l(({y:r})=>{let n=he(e),o=bt(e);return r>=o.height-n.height-t}),J())}var cr={drawer:z("[data-md-toggle=drawer]"),search:z("[data-md-toggle=search]")};function no(e){return cr[e].checked}function Ke(e,t){cr[e].checked!==t&&cr[e].click()}function Ue(e){let t=cr[e];return b(t,"change").pipe(l(()=>t.checked),V(t.checked))}function ka(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function Ha(){return L(b(window,"compositionstart").pipe(l(()=>!0)),b(window,"compositionend").pipe(l(()=>!1))).pipe(V(!1))}function oo(){let e=b(window,"keydown").pipe(A(t=>!(t.metaKey||t.ctrlKey)),l(t=>({mode:no("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),A(({mode:t,type:r})=>{if(t==="global"){let n=_e();if(typeof n!="undefined")return!ka(n,r)}return!0}),pe());return Ha().pipe(g(t=>t?M:e))}function le(){return new URL(location.href)}function ot(e){location.href=e.href}function io(){return new x}function ao(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)ao(e,r)}function _(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="undefined"&&(typeof t[o]!="boolean"?n.setAttribute(o,t[o]):n.setAttribute(o,""));for(let o of r)ao(n,o);return n}function fr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function so(){return location.hash.substring(1)}function Dr(e){let t=_("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Pa(e){return L(b(window,"hashchange"),e).pipe(l(so),V(so()),A(t=>t.length>0),X(1))}function co(e){return Pa(e).pipe(l(t=>ce(`[id="${t}"]`)),A(t=>typeof t!="undefined"))}function Vr(e){let t=matchMedia(e);return er(r=>t.addListener(()=>r(t.matches))).pipe(V(t.matches))}function fo(){let e=matchMedia("print");return L(b(window,"beforeprint").pipe(l(()=>!0)),b(window,"afterprint").pipe(l(()=>!1))).pipe(V(e.matches))}function zr(e,t){return e.pipe(g(r=>r?t():M))}function ur(e,t={credentials:"same-origin"}){return ue(fetch(`${e}`,t)).pipe(fe(()=>M),g(r=>r.status!==200?Ot(()=>new Error(r.statusText)):k(r)))}function We(e,t){return ur(e,t).pipe(g(r=>r.json()),X(1))}function uo(e,t){let r=new DOMParser;return ur(e,t).pipe(g(n=>n.text()),l(n=>r.parseFromString(n,"text/xml")),X(1))}function pr(e){let t=_("script",{src:e});return $(()=>(document.head.appendChild(t),L(b(t,"load"),b(t,"error").pipe(g(()=>Ot(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(l(()=>{}),R(()=>document.head.removeChild(t)),ge(1))))}function po(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function lo(){return L(b(window,"scroll",{passive:!0}),b(window,"resize",{passive:!0})).pipe(l(po),V(po()))}function mo(){return{width:innerWidth,height:innerHeight}}function ho(){return b(window,"resize",{passive:!0}).pipe(l(mo),V(mo()))}function bo(){return G([lo(),ho()]).pipe(l(([e,t])=>({offset:e,size:t})),X(1))}function lr(e,{viewport$:t,header$:r}){let n=t.pipe(ee("size")),o=G([n,r]).pipe(l(()=>Xe(e)));return G([r,t,o]).pipe(l(([{height:i},{offset:s,size:a},{x:f,y:c}])=>({offset:{x:s.x-f,y:s.y-c+i},size:a})))}(()=>{function e(n,o){parent.postMessage(n,o||"*")}function t(...n){return n.reduce((o,i)=>o.then(()=>new Promise(s=>{let a=document.createElement("script");a.src=i,a.onload=s,document.body.appendChild(a)})),Promise.resolve())}var r=class extends EventTarget{constructor(n){super(),this.url=n,this.m=i=>{i.source===this.w&&(this.dispatchEvent(new MessageEvent("message",{data:i.data})),this.onmessage&&this.onmessage(i))},this.e=(i,s,a,f,c)=>{if(s===`${this.url}`){let u=new ErrorEvent("error",{message:i,filename:s,lineno:a,colno:f,error:c});this.dispatchEvent(u),this.onerror&&this.onerror(u)}};let o=document.createElement("iframe");o.hidden=!0,document.body.appendChild(this.iframe=o),this.w.document.open(),this.w.document.write(` - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - -
-
-
- - - -
-
-
- - - -
-
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - -

Index

- -

Last modified on: 2023-07-25 12:37:11

- -
-
- - - Last update: - 2023-07-25 - -
- Created: - 2023-07-22 - - -
-
- - - - - - - - - - - - -
- - Authors: - -
- - -
-
- - -
- - - -
- - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/site/changelog/index.html b/docs/site/changelog/index.html deleted file mode 100644 index 5d99da12..00000000 --- a/docs/site/changelog/index.html +++ /dev/null @@ -1,765 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Index - Psi Docs (Draft) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - -
-
-
- - - -
-
-
- - - -
-
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - -

Index

- -
-
-
-
-

Launch

-2022-Q1

First implementation.

-
:fontawesome-rocket:
-
-
-

One

-2022-Q2

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
:octicons-sun-16:
-
-
-

Two

-2022-Q3

Lorem ipsum dolor sit amet.

-
:material-github:
-
-
-

Three

-2022-Q4

Lorem ipsum dolor sit amet.

-
-
-
-
-
-

Last modified on: 2023-07-25 12:37:11

- -
-
- - - Last update: - 2023-07-25 - -
- Created: - 2023-07-22 - - -
-
- - - - - - - - - - - - -
- - Authors: Not Committed Yet - -
- - -
-
- - -
- - - -
- - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/site/css/timeago.css b/docs/site/css/timeago.css deleted file mode 100644 index f7ab7d69..00000000 --- a/docs/site/css/timeago.css +++ /dev/null @@ -1,15 +0,0 @@ -/* - timeago output is dynamic, which breaks when you print a page. - - This CSS is only included when type: timeago - and ensures fallback to type "iso_date" when printing. - - */ - -.git-revision-date-localized-plugin-iso_date { display: none } - -@media print { - .git-revision-date-localized-plugin-iso_date { display: inline } - .git-revision-date-localized-plugin-timeago { display: none } -} - diff --git a/docs/site/index.html b/docs/site/index.html deleted file mode 100644 index 3ec44e7f..00000000 --- a/docs/site/index.html +++ /dev/null @@ -1,882 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Psi Docs (Draft) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- - -
- -
- - - - - - - - - -
-
- - - -
-
-
- - - - - - -
-
-
- - - -
-
-
- - - -
-
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - -

Psi CLI 语言

-

Psi is a new programming language designed with simplicity, flexibility, and performance in mind. It provides a clean and intuitive syntax that is easy to read and write, making it an excellent choice for both beginners and experienced programmers.

-

Features

-
    -
  • -

    Lexer Module_: The lexer module is responsible for converting the source code into a sequence of tokens. It recognizes the basic elements of the language such as identifiers, keywords, operators, and literals. ['OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'SEPARATOR', 'CONTROL', 'IDENTIFIER', 'OPERATOR', 'INTEGER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'EOF']

    -
  • -
  • -

    Parser Module_: The parser module takes the sequence of tokens generated by the lexer module and transforms it into an Abstract Syntax Tree (AST). The AST is a tree-like data structure that represents the source code in a way that is closer to the syntactic structure of the programming language.

    -
  • -
  • -

    Built-in Types Module_: This module defines the built-in types of the Psi language, such as lists and dictionaries. It provides functions for creating and manipulating instances of these types.

    -
  • -
  • -

    Error Handling Module_: This module provides a mechanism for catching and handling errors during runtime. It defines a set of exception classes and functions for throwing and catching these exceptions.

    -
  • -
  • -

    Execution Environment Module_: This module defines the execution environment of the Psi language, including the scope and lifecycle of variables. It provides functions for defining and looking up variables in the execution environment.

    -
  • -
  • -

    Interpreter Module_: The main task of this module is to traverse the AST and perform the corresponding operations in the execution environment.

    -
  • -
  • -

    Mathematics Foundation Module_: This module provides basic mathematical functions and constants, such as addition, subtraction, multiplication, and division.

    -
  • -
  • -

    Documentation Module_: This module uses reStructuredText and Sphinx to build the documentation, providing API interface descriptions and usage examples.

    -
  • -
-

Getting Started

-

To get started with Psi, you can clone the repository and follow the instructions in the README file. The repository includes a comprehensive set of examples that demonstrate the various features of the language.

-

Contributing

-

Contributions to the Psi project are welcome. If you have a feature request, bug report, or proposal for improvement, please open an issue on the project's GitHub page. If you wish to contribute code, please fork the repository and submit a pull request.

-

How to build docs

-
git clone https://github.com/HydroRoll-Team/psi.git
-cd psi/psi/docs
-sphinx-build -b html . _build/html
-
-

License

-

Psi is open-source software, licensed under the MIT license. This means you are free to use, modify, and distribute it under the terms of this license.

-

Last modified on: 2023-07-25 12:37:11

- -
-
- - - Last update: - 2023-07-25 - -
- Created: - 2023-07-25 - - -
-
- - - - - - - - - - - - -
- - Authors: 简律纯 - -
- - -
-
- - -
- - - -
- - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/site/js/timeago.min.js b/docs/site/js/timeago.min.js deleted file mode 100644 index a8530a5f..00000000 --- a/docs/site/js/timeago.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Taken from https://cdnjs.cloudflare.com/ajax/libs/timeago.js/4.0.2/timeago.min.js */ -!function(s,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((s=s||self).timeago={})}(this,function(s){"use strict";var a=["second","minute","hour","day","week","month","year"];function n(s,n){if(0===n)return["just now","right now"];var e=a[Math.floor(n/2)];return 1=m[t]&&t=m[e]&&e 0) { - var locale = nodes[0].getAttribute('locale'); - timeago.render(nodes, locale); - } - }) -} else { - var nodes = document.querySelectorAll('.timeago'); - if (nodes.length > 0) { - var locale = nodes[0].getAttribute('locale'); - timeago.render(nodes, locale); - } -} diff --git a/docs/site/search/search_index.json b/docs/site/search/search_index.json deleted file mode 100644 index 684e15eb..00000000 --- a/docs/site/search/search_index.json +++ /dev/null @@ -1 +0,0 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Psi CLI \u8bed\u8a00","text":"

Psi is a new programming language designed with simplicity, flexibility, and performance in mind. It provides a clean and intuitive syntax that is easy to read and write, making it an excellent choice for both beginners and experienced programmers.

"},{"location":"#features","title":"Features","text":"
  • Lexer Module_: The lexer module is responsible for converting the source code into a sequence of tokens. It recognizes the basic elements of the language such as identifiers, keywords, operators, and literals. ['OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'SEPARATOR', 'CONTROL', 'IDENTIFIER', 'OPERATOR', 'INTEGER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'EOF']

  • Parser Module_: The parser module takes the sequence of tokens generated by the lexer module and transforms it into an Abstract Syntax Tree (AST). The AST is a tree-like data structure that represents the source code in a way that is closer to the syntactic structure of the programming language.

  • Built-in Types Module_: This module defines the built-in types of the Psi language, such as lists and dictionaries. It provides functions for creating and manipulating instances of these types.

  • Error Handling Module_: This module provides a mechanism for catching and handling errors during runtime. It defines a set of exception classes and functions for throwing and catching these exceptions.

  • Execution Environment Module_: This module defines the execution environment of the Psi language, including the scope and lifecycle of variables. It provides functions for defining and looking up variables in the execution environment.

  • Interpreter Module_: The main task of this module is to traverse the AST and perform the corresponding operations in the execution environment.

  • Mathematics Foundation Module_: This module provides basic mathematical functions and constants, such as addition, subtraction, multiplication, and division.

  • Documentation Module_: This module uses reStructuredText and Sphinx to build the documentation, providing API interface descriptions and usage examples.

"},{"location":"#getting-started","title":"Getting Started","text":"

To get started with Psi, you can clone the repository and follow the instructions in the README file. The repository includes a comprehensive set of examples that demonstrate the various features of the language.

"},{"location":"#contributing","title":"Contributing","text":"

Contributions to the Psi project are welcome. If you have a feature request, bug report, or proposal for improvement, please open an issue on the project's GitHub page. If you wish to contribute code, please fork the repository and submit a pull request.

How to build docs

git clone https://github.com/HydroRoll-Team/psi.git\ncd psi/psi/docs\nsphinx-build -b html . _build/html\n
"},{"location":"#license","title":"License","text":"

Psi is open-source software, licensed under the MIT license. This means you are free to use, modify, and distribute it under the terms of this license.

Last modified on: 2023-07-25 12:37:11

\u7b80"},{"location":"blog/","title":"Index","text":"

Last modified on: 2023-07-25 12:37:11

\u7b80"},{"location":"changelog/","title":"Index","text":"

Launch

2022-Q1

First implementation.

:fontawesome-rocket:

One

2022-Q2

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

:octicons-sun-16:

Two

2022-Q3

Lorem ipsum dolor sit amet.

:material-github:

Three

2022-Q4

Lorem ipsum dolor sit amet.

Last modified on: 2023-07-25 12:37:11

\u7b80"}]} \ No newline at end of file diff --git a/docs/site/sitemap.xml b/docs/site/sitemap.xml deleted file mode 100644 index 0f8724ef..00000000 --- a/docs/site/sitemap.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/docs/site/sitemap.xml.gz b/docs/site/sitemap.xml.gz deleted file mode 100644 index 598cff45..00000000 Binary files a/docs/site/sitemap.xml.gz and /dev/null differ diff --git a/docs/stylesheets/.gitkeep b/docs/stylesheets/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css new file mode 100644 index 00000000..c555dccc --- /dev/null +++ b/docs/stylesheets/extra.css @@ -0,0 +1,27 @@ +.metadata{ + list-style:none; + padding:0; + margin:0; + margin-bottom: 15px; + color: #999; + font-size:0.85em; +} +.metadata.page-metadata .contributors-text{ + margin-right:5px +} +body[dir=rtl] .metadata.page-metadata .contributors-text{ + margin-right:0; + margin-left:5px +} +.page-metadata .contributors{ + display:inline-block; + list-style:none; + margin:0!important; + padding:0!important +} +.page-metadata .contributors li{ + display:inline-block; + vertical-align:top; + margin:0; + padding:0 +} \ No newline at end of file diff --git a/docs/stylesheets/neoteroi-cards.css b/docs/stylesheets/neoteroi-cards.css new file mode 100644 index 00000000..5a5152f5 --- /dev/null +++ b/docs/stylesheets/neoteroi-cards.css @@ -0,0 +1,102 @@ +.nt-cards.nt-grid { + display: grid; + grid-auto-columns: 1fr; + gap: 0.5rem; + max-width: 100vw; + overflow-x: auto; + padding: 1px; +} +.nt-cards.nt-grid.cols-1 { + grid-template-columns: repeat(1, 1fr); +} +.nt-cards.nt-grid.cols-2 { + grid-template-columns: repeat(2, 1fr); +} +.nt-cards.nt-grid.cols-3 { + grid-template-columns: repeat(3, 1fr); +} +.nt-cards.nt-grid.cols-4 { + grid-template-columns: repeat(4, 1fr); +} +.nt-cards.nt-grid.cols-5 { + grid-template-columns: repeat(5, 1fr); +} +.nt-cards.nt-grid.cols-6 { + grid-template-columns: repeat(6, 1fr); +} + +@media only screen and (max-width: 400px) { + .nt-cards.nt-grid { + grid-template-columns: repeat(1, 1fr) !important; + } +} +.nt-card { + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} +.nt-card:hover { + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 3px 1px -2px rgba(0, 0, 0, 0.3), 0 1px 5px 0 rgba(0, 0, 0, 0.22); +} + +[data-md-color-scheme=slate] .nt-card { + box-shadow: 0 2px 2px 0 rgba(4, 40, 33, 0.14), 0 3px 1px -2px rgba(40, 86, 94, 0.47), 0 1px 5px 0 rgba(139, 252, 255, 0.64); +} +[data-md-color-scheme=slate] .nt-card:hover { + box-shadow: 0 2px 2px 0 rgba(0, 255, 206, 0.14), 0 3px 1px -2px rgba(33, 156, 177, 0.47), 0 1px 5px 0 rgba(96, 251, 255, 0.64); +} + +.nt-card > a { + color: var(--md-default-fg-color); +} + +.nt-card > a > div { + cursor: pointer; +} + +.nt-card { + padding: 5px; + margin-bottom: 0.5rem; +} + +.nt-card-title { + font-size: 1rem; + font-weight: bold; + margin: 4px 0 8px 0; + line-height: 22px; +} + +.nt-card-content { + padding: 0.4rem 0.8rem 0.8rem 0.8rem; +} + +.nt-card-text { + font-size: 14px; + padding: 0; + margin: 0; +} + +.nt-card .nt-card-image { + text-align: center; + border-radius: 2px; + background-position: center center; + background-size: cover; + background-repeat: no-repeat; + min-height: 120px; +} + +.nt-card .nt-card-image.tags img { + margin-top: 12px; +} + +.nt-card .nt-card-image img { + height: 105px; + margin-top: 5px; +} + +.nt-card a:hover, +.nt-card a:focus { + color: var(--md-accent-fg-color); +} + +.nt-card h2 { + margin: 0; +} diff --git a/docs/stylesheets/neoteroi-gantt.css b/docs/stylesheets/neoteroi-gantt.css new file mode 100644 index 00000000..f93f202e --- /dev/null +++ b/docs/stylesheets/neoteroi-gantt.css @@ -0,0 +1,328 @@ +/** + * Extra CSS for the neoteroi.projects.gantt extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +:root { + --nt-scrollbar-color: #2751b0; + --nt-plan-actions-height: 24px; + --nt-units-background: #ff9800; + --nt-months-background: #2751b0; + --nt-plan-vertical-line-color: #a3a3a3ad; +} + +.nt-pastello { + --nt-scrollbar-color: #9fb8f4; + --nt-units-background: #f5dc82; + --nt-months-background: #5b7fd1; +} + +[data-md-color-scheme=slate] { + --nt-units-background: #003773; +} +[data-md-color-scheme=slate] .nt-pastello { + --nt-units-background: #3f4997; +} + +.nt-plan-root { + min-height: 200px; + scrollbar-width: 20px; + scrollbar-color: var(--nt-scrollbar-color); + display: flex; +} +.nt-plan-root ::-webkit-scrollbar { + width: 20px; +} +.nt-plan-root ::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px grey; + border-radius: 10px; +} +.nt-plan-root ::-webkit-scrollbar-thumb { + background: var(--nt-scrollbar-color); + border-radius: 10px; +} +.nt-plan-root .nt-plan { + flex: 80%; +} +.nt-plan-root.no-groups .nt-plan-periods { + padding-left: 0; +} +.nt-plan-root.no-groups .nt-plan-group-summary { + display: none; +} +.nt-plan-root .nt-timeline-dot.bigger { + top: -10px; +} +.nt-plan-root .nt-timeline-dot.bigger[title] { + cursor: help; +} + +.nt-plan { + white-space: nowrap; + overflow-x: auto; + display: flex; +} +.nt-plan .ug-timeline-dot { + left: 368px; + top: -8px; + cursor: help; +} + +.months { + display: flex; +} + +.month { + flex: auto; + display: inline-block; + box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px inset; + background-color: var(--nt-months-background); + color: white; + text-transform: uppercase; + font-family: Roboto, Helvetica, Arial, sans-serif; + padding: 2px 5px; + font-size: 12px; + border: 1px solid #000; + width: 150px; + border-radius: 8px; +} + +.nt-plan-group-activities { + flex: auto; + position: relative; +} + +.nt-vline { + border-left: 1px dashed var(--nt-plan-vertical-line-color); + height: 100%; + left: 0; + position: absolute; + margin-left: -0.5px; + top: 0; + -webkit-transition: all 0.5s linear !important; + -moz-transition: all 0.5s linear !important; + -ms-transition: all 0.5s linear !important; + -o-transition: all 0.5s linear !important; + transition: all 0.5s linear !important; + z-index: -2; +} + +.nt-plan-activity { + display: flex; + margin: 2px 0; + background-color: rgba(187, 187, 187, 0.2509803922); +} + +.actions { + height: var(--nt-plan-actions-height); +} + +.actions { + position: relative; +} + +.period { + display: inline-block; + height: var(--nt-plan-actions-height); + width: 120px; + position: absolute; + left: 0px; + background: #1da1f2; + border-radius: 5px; + transition: all 0.5s; + cursor: help; + -webkit-transition: width 1s ease-in-out; + -moz-transition: width 1s ease-in-out; + -o-transition: width 1s ease-in-out; + transition: width 1s ease-in-out; +} +.period .nt-tooltip { + display: none; + top: 30px; + position: relative; + padding: 1rem; + text-align: center; + font-size: 12px; +} +.period:hover .nt-tooltip { + display: inline-block; +} + +.period-0 { + left: 340px; + visibility: visible; + background-color: rgb(69, 97, 101); +} + +.period-1 { + left: 40px; + visibility: visible; + background-color: green; +} + +.period-2 { + left: 120px; + visibility: visible; + background-color: pink; + width: 80px; +} + +.period-3 { + left: 190px; + visibility: visible; + background-color: darkred; + width: 150px; +} + +.weeks > span, +.days > span { + height: 25px; +} + +.weeks > span { + display: inline-block; + margin: 0; + padding: 0; + font-weight: bold; +} +.weeks > span .week-text { + font-size: 10px; + position: absolute; + display: inline-block; + padding: 3px 4px; +} + +.days { + z-index: -2; + position: relative; +} + +.day-text { + font-size: 10px; + position: absolute; + display: inline-block; + padding: 3px 4px; +} + +.period span { + font-size: 12px; + vertical-align: top; + margin-left: 4px; + color: black; + background: rgba(255, 255, 255, 0.6588235294); + border-radius: 6px; + padding: 0 4px; +} + +.weeks, +.days { + height: 20px; + display: flex; + box-sizing: content-box; +} + +.months { + display: flex; +} + +.week, +.day { + height: 20px; + position: relative; + border: 1; + flex: auto; + border: 2px solid white; + border-radius: 4px; + background-color: var(--nt-units-background); + cursor: help; +} + +.years { + display: flex; +} + +.year { + text-align: center; + border-right: 1px solid var(--nt-plan-vertical-line-color); + font-weight: bold; +} +.year:first-child { + border-left: 1px solid var(--nt-plan-vertical-line-color); +} +.year:first-child:last-child { + width: 100%; +} + +.quarters { + display: flex; +} + +.quarter { + width: 12.5%; + text-align: center; + border-right: 1px solid var(--nt-plan-vertical-line-color); + font-weight: bold; +} +.quarter:first-child { + border-left: 1px solid var(--nt-plan-vertical-line-color); +} + +.nt-plan-group { + margin: 20px 0; + position: relative; +} + +.nt-plan-group { + display: flex; +} + +.nt-plan-group-summary { + background: #2751b0; + width: 150px; + white-space: normal; + padding: 0.1rem 0.5rem; + border-radius: 5px; + color: #fff; + z-index: 3; +} +.nt-plan-group-summary p { + margin: 0; + padding: 0; + font-size: 0.6rem; + color: #fff; +} + +.nt-plan-group-summary, +.month, +.period, +.week, +.day, +.nt-tooltip { + border: 3px solid white; + box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} + +.nt-plan-periods { + padding-left: 150px; +} + +.months { + z-index: 2; + position: relative; +} + +.weeks { + position: relative; + top: -2px; + z-index: 0; +} + +.month, +.quarter, +.year, +.week, +.day, +.nt-tooltip { + font-family: Roboto, Helvetica, Arial, sans-serif; + box-sizing: border-box; +} diff --git a/docs/stylesheets/neoteroi-mkdocs.css b/docs/stylesheets/neoteroi-mkdocs.css new file mode 100644 index 00000000..ee7d53a5 --- /dev/null +++ b/docs/stylesheets/neoteroi-mkdocs.css @@ -0,0 +1,1399 @@ +/** + * All CSS for the neoteroi.projects.gantt extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +:root { + --nt-color-0: #CD853F; + --nt-color-1: #B22222; + --nt-color-2: #000080; + --nt-color-3: #4B0082; + --nt-color-4: #3CB371; + --nt-color-5: #D2B48C; + --nt-color-6: #FF00FF; + --nt-color-7: #98FB98; + --nt-color-8: #FFEBCD; + --nt-color-9: #2E8B57; + --nt-color-10: #6A5ACD; + --nt-color-11: #48D1CC; + --nt-color-12: #FFA500; + --nt-color-13: #F4A460; + --nt-color-14: #A52A2A; + --nt-color-15: #FFE4C4; + --nt-color-16: #FF4500; + --nt-color-17: #AFEEEE; + --nt-color-18: #FA8072; + --nt-color-19: #2F4F4F; + --nt-color-20: #FFDAB9; + --nt-color-21: #BC8F8F; + --nt-color-22: #FFC0CB; + --nt-color-23: #00FA9A; + --nt-color-24: #F0FFF0; + --nt-color-25: #FFFACD; + --nt-color-26: #F5F5F5; + --nt-color-27: #FF6347; + --nt-color-28: #FFFFF0; + --nt-color-29: #7FFFD4; + --nt-color-30: #E9967A; + --nt-color-31: #7B68EE; + --nt-color-32: #FFF8DC; + --nt-color-33: #0000CD; + --nt-color-34: #D2691E; + --nt-color-35: #708090; + --nt-color-36: #5F9EA0; + --nt-color-37: #008080; + --nt-color-38: #008000; + --nt-color-39: #FFE4E1; + --nt-color-40: #FFFF00; + --nt-color-41: #FFFAF0; + --nt-color-42: #DCDCDC; + --nt-color-43: #ADFF2F; + --nt-color-44: #ADD8E6; + --nt-color-45: #8B008B; + --nt-color-46: #7FFF00; + --nt-color-47: #800000; + --nt-color-48: #20B2AA; + --nt-color-49: #556B2F; + --nt-color-50: #778899; + --nt-color-51: #E6E6FA; + --nt-color-52: #FFFAFA; + --nt-color-53: #FF7F50; + --nt-color-54: #FF0000; + --nt-color-55: #F5DEB3; + --nt-color-56: #008B8B; + --nt-color-57: #66CDAA; + --nt-color-58: #808000; + --nt-color-59: #FAF0E6; + --nt-color-60: #00BFFF; + --nt-color-61: #C71585; + --nt-color-62: #00FFFF; + --nt-color-63: #8B4513; + --nt-color-64: #F0F8FF; + --nt-color-65: #FAEBD7; + --nt-color-66: #8B0000; + --nt-color-67: #4682B4; + --nt-color-68: #F0E68C; + --nt-color-69: #BDB76B; + --nt-color-70: #A0522D; + --nt-color-71: #FAFAD2; + --nt-color-72: #FFD700; + --nt-color-73: #DEB887; + --nt-color-74: #E0FFFF; + --nt-color-75: #8A2BE2; + --nt-color-76: #32CD32; + --nt-color-77: #87CEFA; + --nt-color-78: #00CED1; + --nt-color-79: #696969; + --nt-color-80: #DDA0DD; + --nt-color-81: #EE82EE; + --nt-color-82: #FFB6C1; + --nt-color-83: #8FBC8F; + --nt-color-84: #D8BFD8; + --nt-color-85: #9400D3; + --nt-color-86: #A9A9A9; + --nt-color-87: #FFFFE0; + --nt-color-88: #FFF5EE; + --nt-color-89: #FFF0F5; + --nt-color-90: #FFDEAD; + --nt-color-91: #800080; + --nt-color-92: #B0E0E6; + --nt-color-93: #9932CC; + --nt-color-94: #DAA520; + --nt-color-95: #F0FFFF; + --nt-color-96: #40E0D0; + --nt-color-97: #00FF7F; + --nt-color-98: #006400; + --nt-color-99: #808080; + --nt-color-100: #87CEEB; + --nt-color-101: #0000FF; + --nt-color-102: #6495ED; + --nt-color-103: #FDF5E6; + --nt-color-104: #B8860B; + --nt-color-105: #BA55D3; + --nt-color-106: #C0C0C0; + --nt-color-107: #000000; + --nt-color-108: #F08080; + --nt-color-109: #B0C4DE; + --nt-color-110: #00008B; + --nt-color-111: #6B8E23; + --nt-color-112: #FFE4B5; + --nt-color-113: #FFA07A; + --nt-color-114: #9ACD32; + --nt-color-115: #FFFFFF; + --nt-color-116: #F5F5DC; + --nt-color-117: #90EE90; + --nt-color-118: #1E90FF; + --nt-color-119: #7CFC00; + --nt-color-120: #FF69B4; + --nt-color-121: #F8F8FF; + --nt-color-122: #F5FFFA; + --nt-color-123: #00FF00; + --nt-color-124: #D3D3D3; + --nt-color-125: #DB7093; + --nt-color-126: #DA70D6; + --nt-color-127: #FF1493; + --nt-color-128: #228B22; + --nt-color-129: #FFEFD5; + --nt-color-130: #4169E1; + --nt-color-131: #191970; + --nt-color-132: #9370DB; + --nt-color-133: #483D8B; + --nt-color-134: #FF8C00; + --nt-color-135: #EEE8AA; + --nt-color-136: #CD5C5C; + --nt-color-137: #DC143C; +} + +:root { + --nt-group-0-main: #000000; + --nt-group-0-dark: #FFFFFF; + --nt-group-0-light: #000000; + --nt-group-0-main-bg: #F44336; + --nt-group-0-dark-bg: #BA000D; + --nt-group-0-light-bg: #FF7961; + --nt-group-1-main: #000000; + --nt-group-1-dark: #FFFFFF; + --nt-group-1-light: #000000; + --nt-group-1-main-bg: #E91E63; + --nt-group-1-dark-bg: #B0003A; + --nt-group-1-light-bg: #FF6090; + --nt-group-2-main: #FFFFFF; + --nt-group-2-dark: #FFFFFF; + --nt-group-2-light: #000000; + --nt-group-2-main-bg: #9C27B0; + --nt-group-2-dark-bg: #6A0080; + --nt-group-2-light-bg: #D05CE3; + --nt-group-3-main: #FFFFFF; + --nt-group-3-dark: #FFFFFF; + --nt-group-3-light: #000000; + --nt-group-3-main-bg: #673AB7; + --nt-group-3-dark-bg: #320B86; + --nt-group-3-light-bg: #9A67EA; + --nt-group-4-main: #FFFFFF; + --nt-group-4-dark: #FFFFFF; + --nt-group-4-light: #000000; + --nt-group-4-main-bg: #3F51B5; + --nt-group-4-dark-bg: #002984; + --nt-group-4-light-bg: #757DE8; + --nt-group-5-main: #000000; + --nt-group-5-dark: #FFFFFF; + --nt-group-5-light: #000000; + --nt-group-5-main-bg: #2196F3; + --nt-group-5-dark-bg: #0069C0; + --nt-group-5-light-bg: #6EC6FF; + --nt-group-6-main: #000000; + --nt-group-6-dark: #FFFFFF; + --nt-group-6-light: #000000; + --nt-group-6-main-bg: #03A9F4; + --nt-group-6-dark-bg: #007AC1; + --nt-group-6-light-bg: #67DAFF; + --nt-group-7-main: #000000; + --nt-group-7-dark: #000000; + --nt-group-7-light: #000000; + --nt-group-7-main-bg: #00BCD4; + --nt-group-7-dark-bg: #008BA3; + --nt-group-7-light-bg: #62EFFF; + --nt-group-8-main: #000000; + --nt-group-8-dark: #FFFFFF; + --nt-group-8-light: #000000; + --nt-group-8-main-bg: #009688; + --nt-group-8-dark-bg: #00675B; + --nt-group-8-light-bg: #52C7B8; + --nt-group-9-main: #000000; + --nt-group-9-dark: #FFFFFF; + --nt-group-9-light: #000000; + --nt-group-9-main-bg: #4CAF50; + --nt-group-9-dark-bg: #087F23; + --nt-group-9-light-bg: #80E27E; + --nt-group-10-main: #000000; + --nt-group-10-dark: #000000; + --nt-group-10-light: #000000; + --nt-group-10-main-bg: #8BC34A; + --nt-group-10-dark-bg: #5A9216; + --nt-group-10-light-bg: #BEF67A; + --nt-group-11-main: #000000; + --nt-group-11-dark: #000000; + --nt-group-11-light: #000000; + --nt-group-11-main-bg: #CDDC39; + --nt-group-11-dark-bg: #99AA00; + --nt-group-11-light-bg: #FFFF6E; + --nt-group-12-main: #000000; + --nt-group-12-dark: #000000; + --nt-group-12-light: #000000; + --nt-group-12-main-bg: #FFEB3B; + --nt-group-12-dark-bg: #C8B900; + --nt-group-12-light-bg: #FFFF72; + --nt-group-13-main: #000000; + --nt-group-13-dark: #000000; + --nt-group-13-light: #000000; + --nt-group-13-main-bg: #FFC107; + --nt-group-13-dark-bg: #C79100; + --nt-group-13-light-bg: #FFF350; + --nt-group-14-main: #000000; + --nt-group-14-dark: #000000; + --nt-group-14-light: #000000; + --nt-group-14-main-bg: #FF9800; + --nt-group-14-dark-bg: #C66900; + --nt-group-14-light-bg: #FFC947; + --nt-group-15-main: #000000; + --nt-group-15-dark: #FFFFFF; + --nt-group-15-light: #000000; + --nt-group-15-main-bg: #FF5722; + --nt-group-15-dark-bg: #C41C00; + --nt-group-15-light-bg: #FF8A50; + --nt-group-16-main: #FFFFFF; + --nt-group-16-dark: #FFFFFF; + --nt-group-16-light: #000000; + --nt-group-16-main-bg: #795548; + --nt-group-16-dark-bg: #4B2C20; + --nt-group-16-light-bg: #A98274; + --nt-group-17-main: #000000; + --nt-group-17-dark: #FFFFFF; + --nt-group-17-light: #000000; + --nt-group-17-main-bg: #9E9E9E; + --nt-group-17-dark-bg: #707070; + --nt-group-17-light-bg: #CFCFCF; + --nt-group-18-main: #000000; + --nt-group-18-dark: #FFFFFF; + --nt-group-18-light: #000000; + --nt-group-18-main-bg: #607D8B; + --nt-group-18-dark-bg: #34515E; + --nt-group-18-light-bg: #8EACBB; +} + +.nt-pastello { + --nt-group-0-main: #000000; + --nt-group-0-dark: #000000; + --nt-group-0-light: #000000; + --nt-group-0-main-bg: #EF9A9A; + --nt-group-0-dark-bg: #BA6B6C; + --nt-group-0-light-bg: #FFCCCB; + --nt-group-1-main: #000000; + --nt-group-1-dark: #000000; + --nt-group-1-light: #000000; + --nt-group-1-main-bg: #F48FB1; + --nt-group-1-dark-bg: #BF5F82; + --nt-group-1-light-bg: #FFC1E3; + --nt-group-2-main: #000000; + --nt-group-2-dark: #000000; + --nt-group-2-light: #000000; + --nt-group-2-main-bg: #CE93D8; + --nt-group-2-dark-bg: #9C64A6; + --nt-group-2-light-bg: #FFC4FF; + --nt-group-3-main: #000000; + --nt-group-3-dark: #000000; + --nt-group-3-light: #000000; + --nt-group-3-main-bg: #B39DDB; + --nt-group-3-dark-bg: #836FA9; + --nt-group-3-light-bg: #E6CEFF; + --nt-group-4-main: #000000; + --nt-group-4-dark: #000000; + --nt-group-4-light: #000000; + --nt-group-4-main-bg: #9FA8DA; + --nt-group-4-dark-bg: #6F79A8; + --nt-group-4-light-bg: #D1D9FF; + --nt-group-5-main: #000000; + --nt-group-5-dark: #000000; + --nt-group-5-light: #000000; + --nt-group-5-main-bg: #90CAF9; + --nt-group-5-dark-bg: #5D99C6; + --nt-group-5-light-bg: #C3FDFF; + --nt-group-6-main: #000000; + --nt-group-6-dark: #000000; + --nt-group-6-light: #000000; + --nt-group-6-main-bg: #81D4FA; + --nt-group-6-dark-bg: #4BA3C7; + --nt-group-6-light-bg: #B6FFFF; + --nt-group-7-main: #000000; + --nt-group-7-dark: #000000; + --nt-group-7-light: #000000; + --nt-group-7-main-bg: #80DEEA; + --nt-group-7-dark-bg: #4BACB8; + --nt-group-7-light-bg: #B4FFFF; + --nt-group-8-main: #000000; + --nt-group-8-dark: #000000; + --nt-group-8-light: #000000; + --nt-group-8-main-bg: #80CBC4; + --nt-group-8-dark-bg: #4F9A94; + --nt-group-8-light-bg: #B2FEF7; + --nt-group-9-main: #000000; + --nt-group-9-dark: #000000; + --nt-group-9-light: #000000; + --nt-group-9-main-bg: #A5D6A7; + --nt-group-9-dark-bg: #75A478; + --nt-group-9-light-bg: #D7FFD9; + --nt-group-10-main: #000000; + --nt-group-10-dark: #000000; + --nt-group-10-light: #000000; + --nt-group-10-main-bg: #C5E1A5; + --nt-group-10-dark-bg: #94AF76; + --nt-group-10-light-bg: #F8FFD7; + --nt-group-11-main: #000000; + --nt-group-11-dark: #000000; + --nt-group-11-light: #000000; + --nt-group-11-main-bg: #E6EE9C; + --nt-group-11-dark-bg: #B3BC6D; + --nt-group-11-light-bg: #FFFFCE; + --nt-group-12-main: #000000; + --nt-group-12-dark: #000000; + --nt-group-12-light: #000000; + --nt-group-12-main-bg: #FFF59D; + --nt-group-12-dark-bg: #CBC26D; + --nt-group-12-light-bg: #FFFFCF; + --nt-group-13-main: #000000; + --nt-group-13-dark: #000000; + --nt-group-13-light: #000000; + --nt-group-13-main-bg: #FFE082; + --nt-group-13-dark-bg: #CAAE53; + --nt-group-13-light-bg: #FFFFB3; + --nt-group-14-main: #000000; + --nt-group-14-dark: #000000; + --nt-group-14-light: #000000; + --nt-group-14-main-bg: #FFCC80; + --nt-group-14-dark-bg: #CA9B52; + --nt-group-14-light-bg: #FFFFB0; + --nt-group-15-main: #000000; + --nt-group-15-dark: #000000; + --nt-group-15-light: #000000; + --nt-group-15-main-bg: #FFAB91; + --nt-group-15-dark-bg: #C97B63; + --nt-group-15-light-bg: #FFDDC1; + --nt-group-16-main: #000000; + --nt-group-16-dark: #000000; + --nt-group-16-light: #000000; + --nt-group-16-main-bg: #BCAAA4; + --nt-group-16-dark-bg: #8C7B75; + --nt-group-16-light-bg: #EFDCD5; + --nt-group-17-main: #000000; + --nt-group-17-dark: #000000; + --nt-group-17-light: #000000; + --nt-group-17-main-bg: #EEEEEE; + --nt-group-17-dark-bg: #BCBCBC; + --nt-group-17-light-bg: #FFFFFF; + --nt-group-18-main: #000000; + --nt-group-18-dark: #000000; + --nt-group-18-light: #000000; + --nt-group-18-main-bg: #B0BEC5; + --nt-group-18-dark-bg: #808E95; + --nt-group-18-light-bg: #E2F1F8; +} + +.nt-group-0 .nt-plan-group-summary, +.nt-group-0 .nt-timeline-dot { + color: var(--nt-group-0-dark); + background-color: var(--nt-group-0-dark-bg); +} +.nt-group-0 .period { + color: var(--nt-group-0-main); + background-color: var(--nt-group-0-main-bg); +} + +.nt-group-1 .nt-plan-group-summary, +.nt-group-1 .nt-timeline-dot { + color: var(--nt-group-1-dark); + background-color: var(--nt-group-1-dark-bg); +} +.nt-group-1 .period { + color: var(--nt-group-1-main); + background-color: var(--nt-group-1-main-bg); +} + +.nt-group-2 .nt-plan-group-summary, +.nt-group-2 .nt-timeline-dot { + color: var(--nt-group-2-dark); + background-color: var(--nt-group-2-dark-bg); +} +.nt-group-2 .period { + color: var(--nt-group-2-main); + background-color: var(--nt-group-2-main-bg); +} + +.nt-group-3 .nt-plan-group-summary, +.nt-group-3 .nt-timeline-dot { + color: var(--nt-group-3-dark); + background-color: var(--nt-group-3-dark-bg); +} +.nt-group-3 .period { + color: var(--nt-group-3-main); + background-color: var(--nt-group-3-main-bg); +} + +.nt-group-4 .nt-plan-group-summary, +.nt-group-4 .nt-timeline-dot { + color: var(--nt-group-4-dark); + background-color: var(--nt-group-4-dark-bg); +} +.nt-group-4 .period { + color: var(--nt-group-4-main); + background-color: var(--nt-group-4-main-bg); +} + +.nt-group-5 .nt-plan-group-summary, +.nt-group-5 .nt-timeline-dot { + color: var(--nt-group-5-dark); + background-color: var(--nt-group-5-dark-bg); +} +.nt-group-5 .period { + color: var(--nt-group-5-main); + background-color: var(--nt-group-5-main-bg); +} + +.nt-group-6 .nt-plan-group-summary, +.nt-group-6 .nt-timeline-dot { + color: var(--nt-group-6-dark); + background-color: var(--nt-group-6-dark-bg); +} +.nt-group-6 .period { + color: var(--nt-group-6-main); + background-color: var(--nt-group-6-main-bg); +} + +.nt-group-7 .nt-plan-group-summary, +.nt-group-7 .nt-timeline-dot { + color: var(--nt-group-7-dark); + background-color: var(--nt-group-7-dark-bg); +} +.nt-group-7 .period { + color: var(--nt-group-7-main); + background-color: var(--nt-group-7-main-bg); +} + +.nt-group-8 .nt-plan-group-summary, +.nt-group-8 .nt-timeline-dot { + color: var(--nt-group-8-dark); + background-color: var(--nt-group-8-dark-bg); +} +.nt-group-8 .period { + color: var(--nt-group-8-main); + background-color: var(--nt-group-8-main-bg); +} + +.nt-group-9 .nt-plan-group-summary, +.nt-group-9 .nt-timeline-dot { + color: var(--nt-group-9-dark); + background-color: var(--nt-group-9-dark-bg); +} +.nt-group-9 .period { + color: var(--nt-group-9-main); + background-color: var(--nt-group-9-main-bg); +} + +.nt-group-10 .nt-plan-group-summary, +.nt-group-10 .nt-timeline-dot { + color: var(--nt-group-10-dark); + background-color: var(--nt-group-10-dark-bg); +} +.nt-group-10 .period { + color: var(--nt-group-10-main); + background-color: var(--nt-group-10-main-bg); +} + +.nt-group-11 .nt-plan-group-summary, +.nt-group-11 .nt-timeline-dot { + color: var(--nt-group-11-dark); + background-color: var(--nt-group-11-dark-bg); +} +.nt-group-11 .period { + color: var(--nt-group-11-main); + background-color: var(--nt-group-11-main-bg); +} + +.nt-group-12 .nt-plan-group-summary, +.nt-group-12 .nt-timeline-dot { + color: var(--nt-group-12-dark); + background-color: var(--nt-group-12-dark-bg); +} +.nt-group-12 .period { + color: var(--nt-group-12-main); + background-color: var(--nt-group-12-main-bg); +} + +.nt-group-13 .nt-plan-group-summary, +.nt-group-13 .nt-timeline-dot { + color: var(--nt-group-13-dark); + background-color: var(--nt-group-13-dark-bg); +} +.nt-group-13 .period { + color: var(--nt-group-13-main); + background-color: var(--nt-group-13-main-bg); +} + +.nt-group-14 .nt-plan-group-summary, +.nt-group-14 .nt-timeline-dot { + color: var(--nt-group-14-dark); + background-color: var(--nt-group-14-dark-bg); +} +.nt-group-14 .period { + color: var(--nt-group-14-main); + background-color: var(--nt-group-14-main-bg); +} + +.nt-group-15 .nt-plan-group-summary, +.nt-group-15 .nt-timeline-dot { + color: var(--nt-group-15-dark); + background-color: var(--nt-group-15-dark-bg); +} +.nt-group-15 .period { + color: var(--nt-group-15-main); + background-color: var(--nt-group-15-main-bg); +} + +.nt-group-16 .nt-plan-group-summary, +.nt-group-16 .nt-timeline-dot { + color: var(--nt-group-16-dark); + background-color: var(--nt-group-16-dark-bg); +} +.nt-group-16 .period { + color: var(--nt-group-16-main); + background-color: var(--nt-group-16-main-bg); +} + +.nt-group-17 .nt-plan-group-summary, +.nt-group-17 .nt-timeline-dot { + color: var(--nt-group-17-dark); + background-color: var(--nt-group-17-dark-bg); +} +.nt-group-17 .period { + color: var(--nt-group-17-main); + background-color: var(--nt-group-17-main-bg); +} + +.nt-group-18 .nt-plan-group-summary, +.nt-group-18 .nt-timeline-dot { + color: var(--nt-group-18-dark); + background-color: var(--nt-group-18-dark-bg); +} +.nt-group-18 .period { + color: var(--nt-group-18-main); + background-color: var(--nt-group-18-main-bg); +} + +/** + * Extra CSS file for MkDocs and the neoteroi.timeline extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +.nt-error { + border: 2px dashed darkred; + padding: 0 1rem; + background: #faf9ba; + color: darkred; +} + +.nt-timeline { + margin-top: 30px; +} +.nt-timeline .nt-timeline-title { + font-size: 1.1rem; + margin-top: 0; +} +.nt-timeline .nt-timeline-sub-title { + margin-top: 0; +} +.nt-timeline .nt-timeline-content { + font-size: 0.8rem; + border-bottom: 2px dashed #ccc; + padding-bottom: 1.2rem; +} +.nt-timeline.horizontal .nt-timeline-items { + flex-direction: row; + overflow-x: scroll; +} +.nt-timeline.horizontal .nt-timeline-items > div { + min-width: 400px; + margin-right: 50px; +} +.nt-timeline.horizontal.reverse .nt-timeline-items { + flex-direction: row-reverse; +} +.nt-timeline.horizontal.center .nt-timeline-before { + background-image: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal.center .nt-timeline-after { + background-image: linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal.center .nt-timeline-items { + background-image: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal .nt-timeline-dot { + left: 50%; +} +.nt-timeline.horizontal .nt-timeline-dot:not(.bigger) { + top: calc(50% - 4px); +} +.nt-timeline.horizontal .nt-timeline-dot.bigger { + top: calc(50% - 15px); +} +.nt-timeline.vertical .nt-timeline-items { + flex-direction: column; +} +.nt-timeline.vertical.reverse .nt-timeline-items { + flex-direction: column-reverse; +} +.nt-timeline.vertical.center .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-dot { + left: calc(50% - 10px); +} +.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger) { + top: 10px; +} +.nt-timeline.vertical.center .nt-timeline-dot.bigger { + left: calc(50% - 20px); +} +.nt-timeline.vertical.left { + padding-left: 100px; +} +.nt-timeline.vertical.left .nt-timeline-item { + padding-left: 70px; +} +.nt-timeline.vertical.left .nt-timeline-sub-title { + left: -100px; + width: 100px; +} +.nt-timeline.vertical.left .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-dot { + left: 21px; + top: 8px; +} +.nt-timeline.vertical.left .nt-timeline-dot.bigger { + top: 0px; + left: 10px; +} +.nt-timeline.vertical.right { + padding-right: 100px; +} +.nt-timeline.vertical.right .nt-timeline-sub-title { + right: -100px; + text-align: left; + width: 100px; +} +.nt-timeline.vertical.right .nt-timeline-item { + padding-right: 70px; +} +.nt-timeline.vertical.right .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-dot { + right: 21px; + top: 8px; +} +.nt-timeline.vertical.right .nt-timeline-dot.bigger { + top: 10px; + right: 10px; +} + +.nt-timeline-items { + display: flex; + position: relative; +} +.nt-timeline-items > div { + min-height: 100px; + padding-top: 2px; + padding-bottom: 20px; +} + +.nt-timeline-before { + content: ""; + height: 15px; +} + +.nt-timeline-after { + content: ""; + height: 60px; + margin-bottom: 20px; +} + +.nt-timeline-sub-title { + position: absolute; + width: 50%; + top: 4px; + font-size: 18px; + color: var(--nt-color-50); +} + +[data-md-color-scheme=slate] .nt-timeline-sub-title { + color: var(--nt-color-51); +} + +.nt-timeline-item { + position: relative; +} + +.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item { + padding-left: calc(50% + 40px); +} +.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { + left: 0; + padding-right: 40px; + text-align: right; +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) { + padding-left: calc(50% + 40px); +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title { + left: 0; + padding-right: 40px; + text-align: right; +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) { + text-align: right; + padding-right: calc(50% + 40px); +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { + right: 0; + padding-left: 40px; + text-align: left; +} + +.nt-timeline-dot { + position: relative; + width: 20px; + height: 20px; + border-radius: 100%; + background-color: #fc5b5b; + position: absolute; + top: 0px; + z-index: 2; + display: flex; + justify-content: center; + align-items: center; + box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12); + border: 3px solid white; +} +.nt-timeline-dot:not(.bigger) .icon { + font-size: 10px; +} +.nt-timeline-dot.bigger { + width: 40px; + height: 40px; + padding: 3px; +} +.nt-timeline-dot .icon { + color: white; +} + +/* Fix for webkit (Chrome, Safari) */ +@supports not (-moz-appearance: none) { + /* + This fix is necessary, for some reason, to render the timeline properly + inside `details` elements used by pymdownx. Firefox doesn't need this fix, + it renders elements properly. + */ + details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title, +details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { + left: -40px; + } + details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { + right: -40px; + } + details .nt-timeline.vertical.center .nt-timeline-dot { + left: calc(50% - 12px); + } + details .nt-timeline-dot.bigger { + font-size: 1rem !important; + } +} +/* default colors */ +.nt-timeline-item:nth-child(0) .nt-timeline-dot { + background-color: var(--nt-color-0); +} + +.nt-timeline-item:nth-child(1) .nt-timeline-dot { + background-color: var(--nt-color-1); +} + +.nt-timeline-item:nth-child(2) .nt-timeline-dot { + background-color: var(--nt-color-2); +} + +.nt-timeline-item:nth-child(3) .nt-timeline-dot { + background-color: var(--nt-color-3); +} + +.nt-timeline-item:nth-child(4) .nt-timeline-dot { + background-color: var(--nt-color-4); +} + +.nt-timeline-item:nth-child(5) .nt-timeline-dot { + background-color: var(--nt-color-5); +} + +.nt-timeline-item:nth-child(6) .nt-timeline-dot { + background-color: var(--nt-color-6); +} + +.nt-timeline-item:nth-child(7) .nt-timeline-dot { + background-color: var(--nt-color-7); +} + +.nt-timeline-item:nth-child(8) .nt-timeline-dot { + background-color: var(--nt-color-8); +} + +.nt-timeline-item:nth-child(9) .nt-timeline-dot { + background-color: var(--nt-color-9); +} + +.nt-timeline-item:nth-child(10) .nt-timeline-dot { + background-color: var(--nt-color-10); +} + +.nt-timeline-item:nth-child(11) .nt-timeline-dot { + background-color: var(--nt-color-11); +} + +.nt-timeline-item:nth-child(12) .nt-timeline-dot { + background-color: var(--nt-color-12); +} + +.nt-timeline-item:nth-child(13) .nt-timeline-dot { + background-color: var(--nt-color-13); +} + +.nt-timeline-item:nth-child(14) .nt-timeline-dot { + background-color: var(--nt-color-14); +} + +.nt-timeline-item:nth-child(15) .nt-timeline-dot { + background-color: var(--nt-color-15); +} + +.nt-timeline-item:nth-child(16) .nt-timeline-dot { + background-color: var(--nt-color-16); +} + +.nt-timeline-item:nth-child(17) .nt-timeline-dot { + background-color: var(--nt-color-17); +} + +.nt-timeline-item:nth-child(18) .nt-timeline-dot { + background-color: var(--nt-color-18); +} + +.nt-timeline-item:nth-child(19) .nt-timeline-dot { + background-color: var(--nt-color-19); +} + +.nt-timeline-item:nth-child(20) .nt-timeline-dot { + background-color: var(--nt-color-20); +} + +/** + * Extra CSS for the neoteroi.projects.gantt extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +:root { + --nt-scrollbar-color: #2751b0; + --nt-plan-actions-height: 24px; + --nt-units-background: #ff9800; + --nt-months-background: #2751b0; + --nt-plan-vertical-line-color: #a3a3a3ad; +} + +.nt-pastello { + --nt-scrollbar-color: #9fb8f4; + --nt-units-background: #f5dc82; + --nt-months-background: #5b7fd1; +} + +[data-md-color-scheme=slate] { + --nt-units-background: #003773; +} +[data-md-color-scheme=slate] .nt-pastello { + --nt-units-background: #3f4997; +} + +.nt-plan-root { + min-height: 200px; + scrollbar-width: 20px; + scrollbar-color: var(--nt-scrollbar-color); + display: flex; +} +.nt-plan-root ::-webkit-scrollbar { + width: 20px; +} +.nt-plan-root ::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px grey; + border-radius: 10px; +} +.nt-plan-root ::-webkit-scrollbar-thumb { + background: var(--nt-scrollbar-color); + border-radius: 10px; +} +.nt-plan-root .nt-plan { + flex: 80%; +} +.nt-plan-root.no-groups .nt-plan-periods { + padding-left: 0; +} +.nt-plan-root.no-groups .nt-plan-group-summary { + display: none; +} +.nt-plan-root .nt-timeline-dot.bigger { + top: -10px; +} +.nt-plan-root .nt-timeline-dot.bigger[title] { + cursor: help; +} + +.nt-plan { + white-space: nowrap; + overflow-x: auto; + display: flex; +} +.nt-plan .ug-timeline-dot { + left: 368px; + top: -8px; + cursor: help; +} + +.months { + display: flex; +} + +.month { + flex: auto; + display: inline-block; + box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px inset; + background-color: var(--nt-months-background); + color: white; + text-transform: uppercase; + font-family: Roboto, Helvetica, Arial, sans-serif; + padding: 2px 5px; + font-size: 12px; + border: 1px solid #000; + width: 150px; + border-radius: 8px; +} + +.nt-plan-group-activities { + flex: auto; + position: relative; +} + +.nt-vline { + border-left: 1px dashed var(--nt-plan-vertical-line-color); + height: 100%; + left: 0; + position: absolute; + margin-left: -0.5px; + top: 0; + -webkit-transition: all 0.5s linear !important; + -moz-transition: all 0.5s linear !important; + -ms-transition: all 0.5s linear !important; + -o-transition: all 0.5s linear !important; + transition: all 0.5s linear !important; + z-index: -2; +} + +.nt-plan-activity { + display: flex; + margin: 2px 0; + background-color: rgba(187, 187, 187, 0.2509803922); +} + +.actions { + height: var(--nt-plan-actions-height); +} + +.actions { + position: relative; +} + +.period { + display: inline-block; + height: var(--nt-plan-actions-height); + width: 120px; + position: absolute; + left: 0px; + background: #1da1f2; + border-radius: 5px; + transition: all 0.5s; + cursor: help; + -webkit-transition: width 1s ease-in-out; + -moz-transition: width 1s ease-in-out; + -o-transition: width 1s ease-in-out; + transition: width 1s ease-in-out; +} +.period .nt-tooltip { + display: none; + top: 30px; + position: relative; + padding: 1rem; + text-align: center; + font-size: 12px; +} +.period:hover .nt-tooltip { + display: inline-block; +} + +.period-0 { + left: 340px; + visibility: visible; + background-color: rgb(69, 97, 101); +} + +.period-1 { + left: 40px; + visibility: visible; + background-color: green; +} + +.period-2 { + left: 120px; + visibility: visible; + background-color: pink; + width: 80px; +} + +.period-3 { + left: 190px; + visibility: visible; + background-color: darkred; + width: 150px; +} + +.weeks > span, +.days > span { + height: 25px; +} + +.weeks > span { + display: inline-block; + margin: 0; + padding: 0; + font-weight: bold; +} +.weeks > span .week-text { + font-size: 10px; + position: absolute; + display: inline-block; + padding: 3px 4px; +} + +.days { + z-index: -2; + position: relative; +} + +.day-text { + font-size: 10px; + position: absolute; + display: inline-block; + padding: 3px 4px; +} + +.period span { + font-size: 12px; + vertical-align: top; + margin-left: 4px; + color: black; + background: rgba(255, 255, 255, 0.6588235294); + border-radius: 6px; + padding: 0 4px; +} + +.weeks, +.days { + height: 20px; + display: flex; + box-sizing: content-box; +} + +.months { + display: flex; +} + +.week, +.day { + height: 20px; + position: relative; + border: 1; + flex: auto; + border: 2px solid white; + border-radius: 4px; + background-color: var(--nt-units-background); + cursor: help; +} + +.years { + display: flex; +} + +.year { + text-align: center; + border-right: 1px solid var(--nt-plan-vertical-line-color); + font-weight: bold; +} +.year:first-child { + border-left: 1px solid var(--nt-plan-vertical-line-color); +} +.year:first-child:last-child { + width: 100%; +} + +.quarters { + display: flex; +} + +.quarter { + width: 12.5%; + text-align: center; + border-right: 1px solid var(--nt-plan-vertical-line-color); + font-weight: bold; +} +.quarter:first-child { + border-left: 1px solid var(--nt-plan-vertical-line-color); +} + +.nt-plan-group { + margin: 20px 0; + position: relative; +} + +.nt-plan-group { + display: flex; +} + +.nt-plan-group-summary { + background: #2751b0; + width: 150px; + white-space: normal; + padding: 0.1rem 0.5rem; + border-radius: 5px; + color: #fff; + z-index: 3; +} +.nt-plan-group-summary p { + margin: 0; + padding: 0; + font-size: 0.6rem; + color: #fff; +} + +.nt-plan-group-summary, +.month, +.period, +.week, +.day, +.nt-tooltip { + border: 3px solid white; + box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} + +.nt-plan-periods { + padding-left: 150px; +} + +.months { + z-index: 2; + position: relative; +} + +.weeks { + position: relative; + top: -2px; + z-index: 0; +} + +.month, +.quarter, +.year, +.week, +.day, +.nt-tooltip { + font-family: Roboto, Helvetica, Arial, sans-serif; + box-sizing: border-box; +} + +.nt-cards.nt-grid { + display: grid; + grid-auto-columns: 1fr; + gap: 0.5rem; + max-width: 100vw; + overflow-x: auto; + padding: 1px; +} +.nt-cards.nt-grid.cols-1 { + grid-template-columns: repeat(1, 1fr); +} +.nt-cards.nt-grid.cols-2 { + grid-template-columns: repeat(2, 1fr); +} +.nt-cards.nt-grid.cols-3 { + grid-template-columns: repeat(3, 1fr); +} +.nt-cards.nt-grid.cols-4 { + grid-template-columns: repeat(4, 1fr); +} +.nt-cards.nt-grid.cols-5 { + grid-template-columns: repeat(5, 1fr); +} +.nt-cards.nt-grid.cols-6 { + grid-template-columns: repeat(6, 1fr); +} + +@media only screen and (max-width: 400px) { + .nt-cards.nt-grid { + grid-template-columns: repeat(1, 1fr) !important; + } +} +.nt-card { + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} +.nt-card:hover { + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 3px 1px -2px rgba(0, 0, 0, 0.3), 0 1px 5px 0 rgba(0, 0, 0, 0.22); +} + +[data-md-color-scheme=slate] .nt-card { + box-shadow: 0 2px 2px 0 rgba(4, 40, 33, 0.14), 0 3px 1px -2px rgba(40, 86, 94, 0.47), 0 1px 5px 0 rgba(139, 252, 255, 0.64); +} +[data-md-color-scheme=slate] .nt-card:hover { + box-shadow: 0 2px 2px 0 rgba(0, 255, 206, 0.14), 0 3px 1px -2px rgba(33, 156, 177, 0.47), 0 1px 5px 0 rgba(96, 251, 255, 0.64); +} + +.nt-card > a { + color: var(--md-default-fg-color); +} + +.nt-card > a > div { + cursor: pointer; +} + +.nt-card { + padding: 5px; + margin-bottom: 0.5rem; +} + +.nt-card-title { + font-size: 1rem; + font-weight: bold; + margin: 4px 0 8px 0; + line-height: 22px; +} + +.nt-card-content { + padding: 0.4rem 0.8rem 0.8rem 0.8rem; +} + +.nt-card-text { + font-size: 14px; + padding: 0; + margin: 0; +} + +.nt-card .nt-card-image { + text-align: center; + border-radius: 2px; + background-position: center center; + background-size: cover; + background-repeat: no-repeat; + min-height: 120px; +} + +.nt-card .nt-card-image.tags img { + margin-top: 12px; +} + +.nt-card .nt-card-image img { + height: 105px; + margin-top: 5px; +} + +.nt-card a:hover, +.nt-card a:focus { + color: var(--md-accent-fg-color); +} + +.nt-card h2 { + margin: 0; +} + +/** + * Extra CSS file recommended for MkDocs and neoteroi.spantable extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +.span-table-wrapper table { + border-collapse: collapse; + margin-bottom: 2rem; + border-radius: 0.1rem; +} + +.span-table td, +.span-table th { + padding: 0.2rem; + background-color: var(--md-default-bg-color); + font-size: 0.64rem; + max-width: 100%; + overflow: auto; + touch-action: auto; + border-top: 0.05rem solid var(--md-typeset-table-color); + padding: 0.9375em 1.25em; + vertical-align: top; +} + +.span-table tr:first-child td { + font-weight: 700; + min-width: 5rem; + padding: 0.9375em 1.25em; + vertical-align: top; +} + +.span-table td:first-child { + border-left: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table td:last-child { + border-right: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table tr:last-child { + border-bottom: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table [colspan], +.span-table [rowspan] { + font-weight: bold; + border: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]), +.span-table td[colspan]:hover, +.span-table td[rowspan]:hover { + background-color: rgba(0, 0, 0, 0.035); + box-shadow: 0 0.05rem 0 var(--md-default-bg-color) inset; + transition: background-color 125ms; +} diff --git a/docs/stylesheets/neoteroi-mkdocs.min.css b/docs/stylesheets/neoteroi-mkdocs.min.css new file mode 100644 index 00000000..ea55c672 --- /dev/null +++ b/docs/stylesheets/neoteroi-mkdocs.min.css @@ -0,0 +1 @@ +:root{--nt-color-0: #CD853F;--nt-color-1: #B22222;--nt-color-2: #000080;--nt-color-3: #4B0082;--nt-color-4: #3CB371;--nt-color-5: #D2B48C;--nt-color-6: #FF00FF;--nt-color-7: #98FB98;--nt-color-8: #FFEBCD;--nt-color-9: #2E8B57;--nt-color-10: #6A5ACD;--nt-color-11: #48D1CC;--nt-color-12: #FFA500;--nt-color-13: #F4A460;--nt-color-14: #A52A2A;--nt-color-15: #FFE4C4;--nt-color-16: #FF4500;--nt-color-17: #AFEEEE;--nt-color-18: #FA8072;--nt-color-19: #2F4F4F;--nt-color-20: #FFDAB9;--nt-color-21: #BC8F8F;--nt-color-22: #FFC0CB;--nt-color-23: #00FA9A;--nt-color-24: #F0FFF0;--nt-color-25: #FFFACD;--nt-color-26: #F5F5F5;--nt-color-27: #FF6347;--nt-color-28: #FFFFF0;--nt-color-29: #7FFFD4;--nt-color-30: #E9967A;--nt-color-31: #7B68EE;--nt-color-32: #FFF8DC;--nt-color-33: #0000CD;--nt-color-34: #D2691E;--nt-color-35: #708090;--nt-color-36: #5F9EA0;--nt-color-37: #008080;--nt-color-38: #008000;--nt-color-39: #FFE4E1;--nt-color-40: #FFFF00;--nt-color-41: #FFFAF0;--nt-color-42: #DCDCDC;--nt-color-43: #ADFF2F;--nt-color-44: #ADD8E6;--nt-color-45: #8B008B;--nt-color-46: #7FFF00;--nt-color-47: #800000;--nt-color-48: #20B2AA;--nt-color-49: #556B2F;--nt-color-50: #778899;--nt-color-51: #E6E6FA;--nt-color-52: #FFFAFA;--nt-color-53: #FF7F50;--nt-color-54: #FF0000;--nt-color-55: #F5DEB3;--nt-color-56: #008B8B;--nt-color-57: #66CDAA;--nt-color-58: #808000;--nt-color-59: #FAF0E6;--nt-color-60: #00BFFF;--nt-color-61: #C71585;--nt-color-62: #00FFFF;--nt-color-63: #8B4513;--nt-color-64: #F0F8FF;--nt-color-65: #FAEBD7;--nt-color-66: #8B0000;--nt-color-67: #4682B4;--nt-color-68: #F0E68C;--nt-color-69: #BDB76B;--nt-color-70: #A0522D;--nt-color-71: #FAFAD2;--nt-color-72: #FFD700;--nt-color-73: #DEB887;--nt-color-74: #E0FFFF;--nt-color-75: #8A2BE2;--nt-color-76: #32CD32;--nt-color-77: #87CEFA;--nt-color-78: #00CED1;--nt-color-79: #696969;--nt-color-80: #DDA0DD;--nt-color-81: #EE82EE;--nt-color-82: #FFB6C1;--nt-color-83: #8FBC8F;--nt-color-84: #D8BFD8;--nt-color-85: #9400D3;--nt-color-86: #A9A9A9;--nt-color-87: #FFFFE0;--nt-color-88: #FFF5EE;--nt-color-89: #FFF0F5;--nt-color-90: #FFDEAD;--nt-color-91: #800080;--nt-color-92: #B0E0E6;--nt-color-93: #9932CC;--nt-color-94: #DAA520;--nt-color-95: #F0FFFF;--nt-color-96: #40E0D0;--nt-color-97: #00FF7F;--nt-color-98: #006400;--nt-color-99: #808080;--nt-color-100: #87CEEB;--nt-color-101: #0000FF;--nt-color-102: #6495ED;--nt-color-103: #FDF5E6;--nt-color-104: #B8860B;--nt-color-105: #BA55D3;--nt-color-106: #C0C0C0;--nt-color-107: #000000;--nt-color-108: #F08080;--nt-color-109: #B0C4DE;--nt-color-110: #00008B;--nt-color-111: #6B8E23;--nt-color-112: #FFE4B5;--nt-color-113: #FFA07A;--nt-color-114: #9ACD32;--nt-color-115: #FFFFFF;--nt-color-116: #F5F5DC;--nt-color-117: #90EE90;--nt-color-118: #1E90FF;--nt-color-119: #7CFC00;--nt-color-120: #FF69B4;--nt-color-121: #F8F8FF;--nt-color-122: #F5FFFA;--nt-color-123: #00FF00;--nt-color-124: #D3D3D3;--nt-color-125: #DB7093;--nt-color-126: #DA70D6;--nt-color-127: #FF1493;--nt-color-128: #228B22;--nt-color-129: #FFEFD5;--nt-color-130: #4169E1;--nt-color-131: #191970;--nt-color-132: #9370DB;--nt-color-133: #483D8B;--nt-color-134: #FF8C00;--nt-color-135: #EEE8AA;--nt-color-136: #CD5C5C;--nt-color-137: #DC143C}:root{--nt-group-0-main: #000000;--nt-group-0-dark: #FFFFFF;--nt-group-0-light: #000000;--nt-group-0-main-bg: #F44336;--nt-group-0-dark-bg: #BA000D;--nt-group-0-light-bg: #FF7961;--nt-group-1-main: #000000;--nt-group-1-dark: #FFFFFF;--nt-group-1-light: #000000;--nt-group-1-main-bg: #E91E63;--nt-group-1-dark-bg: #B0003A;--nt-group-1-light-bg: #FF6090;--nt-group-2-main: #FFFFFF;--nt-group-2-dark: #FFFFFF;--nt-group-2-light: #000000;--nt-group-2-main-bg: #9C27B0;--nt-group-2-dark-bg: #6A0080;--nt-group-2-light-bg: #D05CE3;--nt-group-3-main: #FFFFFF;--nt-group-3-dark: #FFFFFF;--nt-group-3-light: #000000;--nt-group-3-main-bg: #673AB7;--nt-group-3-dark-bg: #320B86;--nt-group-3-light-bg: #9A67EA;--nt-group-4-main: #FFFFFF;--nt-group-4-dark: #FFFFFF;--nt-group-4-light: #000000;--nt-group-4-main-bg: #3F51B5;--nt-group-4-dark-bg: #002984;--nt-group-4-light-bg: #757DE8;--nt-group-5-main: #000000;--nt-group-5-dark: #FFFFFF;--nt-group-5-light: #000000;--nt-group-5-main-bg: #2196F3;--nt-group-5-dark-bg: #0069C0;--nt-group-5-light-bg: #6EC6FF;--nt-group-6-main: #000000;--nt-group-6-dark: #FFFFFF;--nt-group-6-light: #000000;--nt-group-6-main-bg: #03A9F4;--nt-group-6-dark-bg: #007AC1;--nt-group-6-light-bg: #67DAFF;--nt-group-7-main: #000000;--nt-group-7-dark: #000000;--nt-group-7-light: #000000;--nt-group-7-main-bg: #00BCD4;--nt-group-7-dark-bg: #008BA3;--nt-group-7-light-bg: #62EFFF;--nt-group-8-main: #000000;--nt-group-8-dark: #FFFFFF;--nt-group-8-light: #000000;--nt-group-8-main-bg: #009688;--nt-group-8-dark-bg: #00675B;--nt-group-8-light-bg: #52C7B8;--nt-group-9-main: #000000;--nt-group-9-dark: #FFFFFF;--nt-group-9-light: #000000;--nt-group-9-main-bg: #4CAF50;--nt-group-9-dark-bg: #087F23;--nt-group-9-light-bg: #80E27E;--nt-group-10-main: #000000;--nt-group-10-dark: #000000;--nt-group-10-light: #000000;--nt-group-10-main-bg: #8BC34A;--nt-group-10-dark-bg: #5A9216;--nt-group-10-light-bg: #BEF67A;--nt-group-11-main: #000000;--nt-group-11-dark: #000000;--nt-group-11-light: #000000;--nt-group-11-main-bg: #CDDC39;--nt-group-11-dark-bg: #99AA00;--nt-group-11-light-bg: #FFFF6E;--nt-group-12-main: #000000;--nt-group-12-dark: #000000;--nt-group-12-light: #000000;--nt-group-12-main-bg: #FFEB3B;--nt-group-12-dark-bg: #C8B900;--nt-group-12-light-bg: #FFFF72;--nt-group-13-main: #000000;--nt-group-13-dark: #000000;--nt-group-13-light: #000000;--nt-group-13-main-bg: #FFC107;--nt-group-13-dark-bg: #C79100;--nt-group-13-light-bg: #FFF350;--nt-group-14-main: #000000;--nt-group-14-dark: #000000;--nt-group-14-light: #000000;--nt-group-14-main-bg: #FF9800;--nt-group-14-dark-bg: #C66900;--nt-group-14-light-bg: #FFC947;--nt-group-15-main: #000000;--nt-group-15-dark: #FFFFFF;--nt-group-15-light: #000000;--nt-group-15-main-bg: #FF5722;--nt-group-15-dark-bg: #C41C00;--nt-group-15-light-bg: #FF8A50;--nt-group-16-main: #FFFFFF;--nt-group-16-dark: #FFFFFF;--nt-group-16-light: #000000;--nt-group-16-main-bg: #795548;--nt-group-16-dark-bg: #4B2C20;--nt-group-16-light-bg: #A98274;--nt-group-17-main: #000000;--nt-group-17-dark: #FFFFFF;--nt-group-17-light: #000000;--nt-group-17-main-bg: #9E9E9E;--nt-group-17-dark-bg: #707070;--nt-group-17-light-bg: #CFCFCF;--nt-group-18-main: #000000;--nt-group-18-dark: #FFFFFF;--nt-group-18-light: #000000;--nt-group-18-main-bg: #607D8B;--nt-group-18-dark-bg: #34515E;--nt-group-18-light-bg: #8EACBB}.nt-pastello{--nt-group-0-main: #000000;--nt-group-0-dark: #000000;--nt-group-0-light: #000000;--nt-group-0-main-bg: #EF9A9A;--nt-group-0-dark-bg: #BA6B6C;--nt-group-0-light-bg: #FFCCCB;--nt-group-1-main: #000000;--nt-group-1-dark: #000000;--nt-group-1-light: #000000;--nt-group-1-main-bg: #F48FB1;--nt-group-1-dark-bg: #BF5F82;--nt-group-1-light-bg: #FFC1E3;--nt-group-2-main: #000000;--nt-group-2-dark: #000000;--nt-group-2-light: #000000;--nt-group-2-main-bg: #CE93D8;--nt-group-2-dark-bg: #9C64A6;--nt-group-2-light-bg: #FFC4FF;--nt-group-3-main: #000000;--nt-group-3-dark: #000000;--nt-group-3-light: #000000;--nt-group-3-main-bg: #B39DDB;--nt-group-3-dark-bg: #836FA9;--nt-group-3-light-bg: #E6CEFF;--nt-group-4-main: #000000;--nt-group-4-dark: #000000;--nt-group-4-light: #000000;--nt-group-4-main-bg: #9FA8DA;--nt-group-4-dark-bg: #6F79A8;--nt-group-4-light-bg: #D1D9FF;--nt-group-5-main: #000000;--nt-group-5-dark: #000000;--nt-group-5-light: #000000;--nt-group-5-main-bg: #90CAF9;--nt-group-5-dark-bg: #5D99C6;--nt-group-5-light-bg: #C3FDFF;--nt-group-6-main: #000000;--nt-group-6-dark: #000000;--nt-group-6-light: #000000;--nt-group-6-main-bg: #81D4FA;--nt-group-6-dark-bg: #4BA3C7;--nt-group-6-light-bg: #B6FFFF;--nt-group-7-main: #000000;--nt-group-7-dark: #000000;--nt-group-7-light: #000000;--nt-group-7-main-bg: #80DEEA;--nt-group-7-dark-bg: #4BACB8;--nt-group-7-light-bg: #B4FFFF;--nt-group-8-main: #000000;--nt-group-8-dark: #000000;--nt-group-8-light: #000000;--nt-group-8-main-bg: #80CBC4;--nt-group-8-dark-bg: #4F9A94;--nt-group-8-light-bg: #B2FEF7;--nt-group-9-main: #000000;--nt-group-9-dark: #000000;--nt-group-9-light: #000000;--nt-group-9-main-bg: #A5D6A7;--nt-group-9-dark-bg: #75A478;--nt-group-9-light-bg: #D7FFD9;--nt-group-10-main: #000000;--nt-group-10-dark: #000000;--nt-group-10-light: #000000;--nt-group-10-main-bg: #C5E1A5;--nt-group-10-dark-bg: #94AF76;--nt-group-10-light-bg: #F8FFD7;--nt-group-11-main: #000000;--nt-group-11-dark: #000000;--nt-group-11-light: #000000;--nt-group-11-main-bg: #E6EE9C;--nt-group-11-dark-bg: #B3BC6D;--nt-group-11-light-bg: #FFFFCE;--nt-group-12-main: #000000;--nt-group-12-dark: #000000;--nt-group-12-light: #000000;--nt-group-12-main-bg: #FFF59D;--nt-group-12-dark-bg: #CBC26D;--nt-group-12-light-bg: #FFFFCF;--nt-group-13-main: #000000;--nt-group-13-dark: #000000;--nt-group-13-light: #000000;--nt-group-13-main-bg: #FFE082;--nt-group-13-dark-bg: #CAAE53;--nt-group-13-light-bg: #FFFFB3;--nt-group-14-main: #000000;--nt-group-14-dark: #000000;--nt-group-14-light: #000000;--nt-group-14-main-bg: #FFCC80;--nt-group-14-dark-bg: #CA9B52;--nt-group-14-light-bg: #FFFFB0;--nt-group-15-main: #000000;--nt-group-15-dark: #000000;--nt-group-15-light: #000000;--nt-group-15-main-bg: #FFAB91;--nt-group-15-dark-bg: #C97B63;--nt-group-15-light-bg: #FFDDC1;--nt-group-16-main: #000000;--nt-group-16-dark: #000000;--nt-group-16-light: #000000;--nt-group-16-main-bg: #BCAAA4;--nt-group-16-dark-bg: #8C7B75;--nt-group-16-light-bg: #EFDCD5;--nt-group-17-main: #000000;--nt-group-17-dark: #000000;--nt-group-17-light: #000000;--nt-group-17-main-bg: #EEEEEE;--nt-group-17-dark-bg: #BCBCBC;--nt-group-17-light-bg: #FFFFFF;--nt-group-18-main: #000000;--nt-group-18-dark: #000000;--nt-group-18-light: #000000;--nt-group-18-main-bg: #B0BEC5;--nt-group-18-dark-bg: #808E95;--nt-group-18-light-bg: #E2F1F8}.nt-group-0 .nt-plan-group-summary,.nt-group-0 .nt-timeline-dot{color:var(--nt-group-0-dark);background-color:var(--nt-group-0-dark-bg)}.nt-group-0 .period{color:var(--nt-group-0-main);background-color:var(--nt-group-0-main-bg)}.nt-group-1 .nt-plan-group-summary,.nt-group-1 .nt-timeline-dot{color:var(--nt-group-1-dark);background-color:var(--nt-group-1-dark-bg)}.nt-group-1 .period{color:var(--nt-group-1-main);background-color:var(--nt-group-1-main-bg)}.nt-group-2 .nt-plan-group-summary,.nt-group-2 .nt-timeline-dot{color:var(--nt-group-2-dark);background-color:var(--nt-group-2-dark-bg)}.nt-group-2 .period{color:var(--nt-group-2-main);background-color:var(--nt-group-2-main-bg)}.nt-group-3 .nt-plan-group-summary,.nt-group-3 .nt-timeline-dot{color:var(--nt-group-3-dark);background-color:var(--nt-group-3-dark-bg)}.nt-group-3 .period{color:var(--nt-group-3-main);background-color:var(--nt-group-3-main-bg)}.nt-group-4 .nt-plan-group-summary,.nt-group-4 .nt-timeline-dot{color:var(--nt-group-4-dark);background-color:var(--nt-group-4-dark-bg)}.nt-group-4 .period{color:var(--nt-group-4-main);background-color:var(--nt-group-4-main-bg)}.nt-group-5 .nt-plan-group-summary,.nt-group-5 .nt-timeline-dot{color:var(--nt-group-5-dark);background-color:var(--nt-group-5-dark-bg)}.nt-group-5 .period{color:var(--nt-group-5-main);background-color:var(--nt-group-5-main-bg)}.nt-group-6 .nt-plan-group-summary,.nt-group-6 .nt-timeline-dot{color:var(--nt-group-6-dark);background-color:var(--nt-group-6-dark-bg)}.nt-group-6 .period{color:var(--nt-group-6-main);background-color:var(--nt-group-6-main-bg)}.nt-group-7 .nt-plan-group-summary,.nt-group-7 .nt-timeline-dot{color:var(--nt-group-7-dark);background-color:var(--nt-group-7-dark-bg)}.nt-group-7 .period{color:var(--nt-group-7-main);background-color:var(--nt-group-7-main-bg)}.nt-group-8 .nt-plan-group-summary,.nt-group-8 .nt-timeline-dot{color:var(--nt-group-8-dark);background-color:var(--nt-group-8-dark-bg)}.nt-group-8 .period{color:var(--nt-group-8-main);background-color:var(--nt-group-8-main-bg)}.nt-group-9 .nt-plan-group-summary,.nt-group-9 .nt-timeline-dot{color:var(--nt-group-9-dark);background-color:var(--nt-group-9-dark-bg)}.nt-group-9 .period{color:var(--nt-group-9-main);background-color:var(--nt-group-9-main-bg)}.nt-group-10 .nt-plan-group-summary,.nt-group-10 .nt-timeline-dot{color:var(--nt-group-10-dark);background-color:var(--nt-group-10-dark-bg)}.nt-group-10 .period{color:var(--nt-group-10-main);background-color:var(--nt-group-10-main-bg)}.nt-group-11 .nt-plan-group-summary,.nt-group-11 .nt-timeline-dot{color:var(--nt-group-11-dark);background-color:var(--nt-group-11-dark-bg)}.nt-group-11 .period{color:var(--nt-group-11-main);background-color:var(--nt-group-11-main-bg)}.nt-group-12 .nt-plan-group-summary,.nt-group-12 .nt-timeline-dot{color:var(--nt-group-12-dark);background-color:var(--nt-group-12-dark-bg)}.nt-group-12 .period{color:var(--nt-group-12-main);background-color:var(--nt-group-12-main-bg)}.nt-group-13 .nt-plan-group-summary,.nt-group-13 .nt-timeline-dot{color:var(--nt-group-13-dark);background-color:var(--nt-group-13-dark-bg)}.nt-group-13 .period{color:var(--nt-group-13-main);background-color:var(--nt-group-13-main-bg)}.nt-group-14 .nt-plan-group-summary,.nt-group-14 .nt-timeline-dot{color:var(--nt-group-14-dark);background-color:var(--nt-group-14-dark-bg)}.nt-group-14 .period{color:var(--nt-group-14-main);background-color:var(--nt-group-14-main-bg)}.nt-group-15 .nt-plan-group-summary,.nt-group-15 .nt-timeline-dot{color:var(--nt-group-15-dark);background-color:var(--nt-group-15-dark-bg)}.nt-group-15 .period{color:var(--nt-group-15-main);background-color:var(--nt-group-15-main-bg)}.nt-group-16 .nt-plan-group-summary,.nt-group-16 .nt-timeline-dot{color:var(--nt-group-16-dark);background-color:var(--nt-group-16-dark-bg)}.nt-group-16 .period{color:var(--nt-group-16-main);background-color:var(--nt-group-16-main-bg)}.nt-group-17 .nt-plan-group-summary,.nt-group-17 .nt-timeline-dot{color:var(--nt-group-17-dark);background-color:var(--nt-group-17-dark-bg)}.nt-group-17 .period{color:var(--nt-group-17-main);background-color:var(--nt-group-17-main-bg)}.nt-group-18 .nt-plan-group-summary,.nt-group-18 .nt-timeline-dot{color:var(--nt-group-18-dark);background-color:var(--nt-group-18-dark-bg)}.nt-group-18 .period{color:var(--nt-group-18-main);background-color:var(--nt-group-18-main-bg)}.nt-error{border:2px dashed darkred;padding:0 1rem;background:#faf9ba;color:darkred}.nt-timeline{margin-top:30px}.nt-timeline .nt-timeline-title{font-size:1.1rem;margin-top:0}.nt-timeline .nt-timeline-sub-title{margin-top:0}.nt-timeline .nt-timeline-content{font-size:.8rem;border-bottom:2px dashed #ccc;padding-bottom:1.2rem}.nt-timeline.horizontal .nt-timeline-items{flex-direction:row;overflow-x:scroll}.nt-timeline.horizontal .nt-timeline-items>div{min-width:400px;margin-right:50px}.nt-timeline.horizontal.reverse .nt-timeline-items{flex-direction:row-reverse}.nt-timeline.horizontal.center .nt-timeline-before{background-image:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal.center .nt-timeline-after{background-image:linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal.center .nt-timeline-items{background-image:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%);background-repeat:no-repeat;background-size:100% 2px;background-position:0 center}.nt-timeline.horizontal .nt-timeline-dot{left:50%}.nt-timeline.horizontal .nt-timeline-dot:not(.bigger){top:calc(50% - 4px)}.nt-timeline.horizontal .nt-timeline-dot.bigger{top:calc(50% - 15px)}.nt-timeline.vertical .nt-timeline-items{flex-direction:column}.nt-timeline.vertical.reverse .nt-timeline-items{flex-direction:column-reverse}.nt-timeline.vertical.center .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%}.nt-timeline.vertical.center .nt-timeline-dot{left:calc(50% - 10px)}.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger){top:10px}.nt-timeline.vertical.center .nt-timeline-dot.bigger{left:calc(50% - 20px)}.nt-timeline.vertical.left{padding-left:100px}.nt-timeline.vertical.left .nt-timeline-item{padding-left:70px}.nt-timeline.vertical.left .nt-timeline-sub-title{left:-100px;width:100px}.nt-timeline.vertical.left .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%}.nt-timeline.vertical.left .nt-timeline-dot{left:21px;top:8px}.nt-timeline.vertical.left .nt-timeline-dot.bigger{top:0px;left:10px}.nt-timeline.vertical.right{padding-right:100px}.nt-timeline.vertical.right .nt-timeline-sub-title{right:-100px;text-align:left;width:100px}.nt-timeline.vertical.right .nt-timeline-item{padding-right:70px}.nt-timeline.vertical.right .nt-timeline-before{background:linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-after{background:linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-items{background:radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%}.nt-timeline.vertical.right .nt-timeline-dot{right:21px;top:8px}.nt-timeline.vertical.right .nt-timeline-dot.bigger{top:10px;right:10px}.nt-timeline-items{display:flex;position:relative}.nt-timeline-items>div{min-height:100px;padding-top:2px;padding-bottom:20px}.nt-timeline-before{content:"";height:15px}.nt-timeline-after{content:"";height:60px;margin-bottom:20px}.nt-timeline-sub-title{position:absolute;width:50%;top:4px;font-size:18px;color:var(--nt-color-50)}[data-md-color-scheme=slate] .nt-timeline-sub-title{color:var(--nt-color-51)}.nt-timeline-item{position:relative}.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item{padding-left:calc(50% + 40px)}.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title{left:0;padding-right:40px;text-align:right}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd){padding-left:calc(50% + 40px)}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title{left:0;padding-right:40px;text-align:right}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even){text-align:right;padding-right:calc(50% + 40px)}.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title{right:0;padding-left:40px;text-align:left}.nt-timeline-dot{position:relative;width:20px;height:20px;border-radius:100%;background-color:#fc5b5b;position:absolute;top:0px;z-index:2;display:flex;justify-content:center;align-items:center;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);border:3px solid #fff}.nt-timeline-dot:not(.bigger) .icon{font-size:10px}.nt-timeline-dot.bigger{width:40px;height:40px;padding:3px}.nt-timeline-dot .icon{color:#fff}@supports not (-moz-appearance: none){details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title,details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title{left:-40px}details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title{right:-40px}details .nt-timeline.vertical.center .nt-timeline-dot{left:calc(50% - 12px)}details .nt-timeline-dot.bigger{font-size:1rem !important}}.nt-timeline-item:nth-child(0) .nt-timeline-dot{background-color:var(--nt-color-0)}.nt-timeline-item:nth-child(1) .nt-timeline-dot{background-color:var(--nt-color-1)}.nt-timeline-item:nth-child(2) .nt-timeline-dot{background-color:var(--nt-color-2)}.nt-timeline-item:nth-child(3) .nt-timeline-dot{background-color:var(--nt-color-3)}.nt-timeline-item:nth-child(4) .nt-timeline-dot{background-color:var(--nt-color-4)}.nt-timeline-item:nth-child(5) .nt-timeline-dot{background-color:var(--nt-color-5)}.nt-timeline-item:nth-child(6) .nt-timeline-dot{background-color:var(--nt-color-6)}.nt-timeline-item:nth-child(7) .nt-timeline-dot{background-color:var(--nt-color-7)}.nt-timeline-item:nth-child(8) .nt-timeline-dot{background-color:var(--nt-color-8)}.nt-timeline-item:nth-child(9) .nt-timeline-dot{background-color:var(--nt-color-9)}.nt-timeline-item:nth-child(10) .nt-timeline-dot{background-color:var(--nt-color-10)}.nt-timeline-item:nth-child(11) .nt-timeline-dot{background-color:var(--nt-color-11)}.nt-timeline-item:nth-child(12) .nt-timeline-dot{background-color:var(--nt-color-12)}.nt-timeline-item:nth-child(13) .nt-timeline-dot{background-color:var(--nt-color-13)}.nt-timeline-item:nth-child(14) .nt-timeline-dot{background-color:var(--nt-color-14)}.nt-timeline-item:nth-child(15) .nt-timeline-dot{background-color:var(--nt-color-15)}.nt-timeline-item:nth-child(16) .nt-timeline-dot{background-color:var(--nt-color-16)}.nt-timeline-item:nth-child(17) .nt-timeline-dot{background-color:var(--nt-color-17)}.nt-timeline-item:nth-child(18) .nt-timeline-dot{background-color:var(--nt-color-18)}.nt-timeline-item:nth-child(19) .nt-timeline-dot{background-color:var(--nt-color-19)}.nt-timeline-item:nth-child(20) .nt-timeline-dot{background-color:var(--nt-color-20)}:root{--nt-scrollbar-color: #2751b0;--nt-plan-actions-height: 24px;--nt-units-background: #ff9800;--nt-months-background: #2751b0;--nt-plan-vertical-line-color: #a3a3a3ad}.nt-pastello{--nt-scrollbar-color: #9fb8f4;--nt-units-background: #f5dc82;--nt-months-background: #5b7fd1}[data-md-color-scheme=slate]{--nt-units-background: #003773}[data-md-color-scheme=slate] .nt-pastello{--nt-units-background: #3f4997}.nt-plan-root{min-height:200px;scrollbar-width:20px;scrollbar-color:var(--nt-scrollbar-color);display:flex}.nt-plan-root ::-webkit-scrollbar{width:20px}.nt-plan-root ::-webkit-scrollbar-track{box-shadow:inset 0 0 5px gray;border-radius:10px}.nt-plan-root ::-webkit-scrollbar-thumb{background:var(--nt-scrollbar-color);border-radius:10px}.nt-plan-root .nt-plan{flex:80%}.nt-plan-root.no-groups .nt-plan-periods{padding-left:0}.nt-plan-root.no-groups .nt-plan-group-summary{display:none}.nt-plan-root .nt-timeline-dot.bigger{top:-10px}.nt-plan-root .nt-timeline-dot.bigger[title]{cursor:help}.nt-plan{white-space:nowrap;overflow-x:auto;display:flex}.nt-plan .ug-timeline-dot{left:368px;top:-8px;cursor:help}.months{display:flex}.month{flex:auto;display:inline-block;box-shadow:rgba(0,0,0,.2) 0px 3px 1px -2px,rgba(0,0,0,.14) 0px 2px 2px 0px,rgba(0,0,0,.12) 0px 1px 5px 0px inset;background-color:var(--nt-months-background);color:#fff;text-transform:uppercase;font-family:Roboto,Helvetica,Arial,sans-serif;padding:2px 5px;font-size:12px;border:1px solid #000;width:150px;border-radius:8px}.nt-plan-group-activities{flex:auto;position:relative}.nt-vline{border-left:1px dashed var(--nt-plan-vertical-line-color);height:100%;left:0;position:absolute;margin-left:-0.5px;top:0;-webkit-transition:all .5s linear !important;-moz-transition:all .5s linear !important;-ms-transition:all .5s linear !important;-o-transition:all .5s linear !important;transition:all .5s linear !important;z-index:-2}.nt-plan-activity{display:flex;margin:2px 0;background-color:rgba(187,187,187,.2509803922)}.actions{height:var(--nt-plan-actions-height)}.actions{position:relative}.period{display:inline-block;height:var(--nt-plan-actions-height);width:120px;position:absolute;left:0px;background:#1da1f2;border-radius:5px;transition:all .5s;cursor:help;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}.period .nt-tooltip{display:none;top:30px;position:relative;padding:1rem;text-align:center;font-size:12px}.period:hover .nt-tooltip{display:inline-block}.period-0{left:340px;visibility:visible;background-color:#456165}.period-1{left:40px;visibility:visible;background-color:green}.period-2{left:120px;visibility:visible;background-color:pink;width:80px}.period-3{left:190px;visibility:visible;background-color:darkred;width:150px}.weeks>span,.days>span{height:25px}.weeks>span{display:inline-block;margin:0;padding:0;font-weight:bold}.weeks>span .week-text{font-size:10px;position:absolute;display:inline-block;padding:3px 4px}.days{z-index:-2;position:relative}.day-text{font-size:10px;position:absolute;display:inline-block;padding:3px 4px}.period span{font-size:12px;vertical-align:top;margin-left:4px;color:#000;background:rgba(255,255,255,.6588235294);border-radius:6px;padding:0 4px}.weeks,.days{height:20px;display:flex;box-sizing:content-box}.months{display:flex}.week,.day{height:20px;position:relative;border:1;flex:auto;border:2px solid #fff;border-radius:4px;background-color:var(--nt-units-background);cursor:help}.years{display:flex}.year{text-align:center;border-right:1px solid var(--nt-plan-vertical-line-color);font-weight:bold}.year:first-child{border-left:1px solid var(--nt-plan-vertical-line-color)}.year:first-child:last-child{width:100%}.quarters{display:flex}.quarter{width:12.5%;text-align:center;border-right:1px solid var(--nt-plan-vertical-line-color);font-weight:bold}.quarter:first-child{border-left:1px solid var(--nt-plan-vertical-line-color)}.nt-plan-group{margin:20px 0;position:relative}.nt-plan-group{display:flex}.nt-plan-group-summary{background:#2751b0;width:150px;white-space:normal;padding:.1rem .5rem;border-radius:5px;color:#fff;z-index:3}.nt-plan-group-summary p{margin:0;padding:0;font-size:.6rem;color:#fff}.nt-plan-group-summary,.month,.period,.week,.day,.nt-tooltip{border:3px solid #fff;box-shadow:0 2px 3px -1px rgba(0,0,0,.2),0 3px 3px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.nt-plan-periods{padding-left:150px}.months{z-index:2;position:relative}.weeks{position:relative;top:-2px;z-index:0}.month,.quarter,.year,.week,.day,.nt-tooltip{font-family:Roboto,Helvetica,Arial,sans-serif;box-sizing:border-box}.nt-cards.nt-grid{display:grid;grid-auto-columns:1fr;gap:.5rem;max-width:100vw;overflow-x:auto;padding:1px}.nt-cards.nt-grid.cols-1{grid-template-columns:repeat(1, 1fr)}.nt-cards.nt-grid.cols-2{grid-template-columns:repeat(2, 1fr)}.nt-cards.nt-grid.cols-3{grid-template-columns:repeat(3, 1fr)}.nt-cards.nt-grid.cols-4{grid-template-columns:repeat(4, 1fr)}.nt-cards.nt-grid.cols-5{grid-template-columns:repeat(5, 1fr)}.nt-cards.nt-grid.cols-6{grid-template-columns:repeat(6, 1fr)}@media only screen and (max-width: 400px){.nt-cards.nt-grid{grid-template-columns:repeat(1, 1fr) !important}}.nt-card{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.nt-card:hover{box-shadow:0 2px 2px 0 rgba(0,0,0,.24),0 3px 1px -2px rgba(0,0,0,.3),0 1px 5px 0 rgba(0,0,0,.22)}[data-md-color-scheme=slate] .nt-card{box-shadow:0 2px 2px 0 rgba(4,40,33,.14),0 3px 1px -2px rgba(40,86,94,.47),0 1px 5px 0 rgba(139,252,255,.64)}[data-md-color-scheme=slate] .nt-card:hover{box-shadow:0 2px 2px 0 rgba(0,255,206,.14),0 3px 1px -2px rgba(33,156,177,.47),0 1px 5px 0 rgba(96,251,255,.64)}.nt-card>a{color:var(--md-default-fg-color)}.nt-card>a>div{cursor:pointer}.nt-card{padding:5px;margin-bottom:.5rem}.nt-card-title{font-size:1rem;font-weight:bold;margin:4px 0 8px 0;line-height:22px}.nt-card-content{padding:.4rem .8rem .8rem .8rem}.nt-card-text{font-size:14px;padding:0;margin:0}.nt-card .nt-card-image{text-align:center;border-radius:2px;background-position:center center;background-size:cover;background-repeat:no-repeat;min-height:120px}.nt-card .nt-card-image.tags img{margin-top:12px}.nt-card .nt-card-image img{height:105px;margin-top:5px}.nt-card a:hover,.nt-card a:focus{color:var(--md-accent-fg-color)}.nt-card h2{margin:0}.span-table-wrapper table{border-collapse:collapse;margin-bottom:2rem;border-radius:.1rem}.span-table td,.span-table th{padding:.2rem;background-color:var(--md-default-bg-color);font-size:.64rem;max-width:100%;overflow:auto;touch-action:auto;border-top:.05rem solid var(--md-typeset-table-color);padding:.9375em 1.25em;vertical-align:top}.span-table tr:first-child td{font-weight:700;min-width:5rem;padding:.9375em 1.25em;vertical-align:top}.span-table td:first-child{border-left:.05rem solid var(--md-typeset-table-color)}.span-table td:last-child{border-right:.05rem solid var(--md-typeset-table-color)}.span-table tr:last-child{border-bottom:.05rem solid var(--md-typeset-table-color)}.span-table [colspan],.span-table [rowspan]{font-weight:bold;border:.05rem solid var(--md-typeset-table-color)}.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]),.span-table td[colspan]:hover,.span-table td[rowspan]:hover{background-color:rgba(0,0,0,.035);box-shadow:0 .05rem 0 var(--md-default-bg-color) inset;transition:background-color 125ms} diff --git a/docs/stylesheets/neoteroi-spantable.css b/docs/stylesheets/neoteroi-spantable.css new file mode 100644 index 00000000..be069a85 --- /dev/null +++ b/docs/stylesheets/neoteroi-spantable.css @@ -0,0 +1,56 @@ +/** + * Extra CSS file recommended for MkDocs and neoteroi.spantable extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +.span-table-wrapper table { + border-collapse: collapse; + margin-bottom: 2rem; + border-radius: 0.1rem; +} + +.span-table td, +.span-table th { + padding: 0.2rem; + background-color: var(--md-default-bg-color); + font-size: 0.64rem; + max-width: 100%; + overflow: auto; + touch-action: auto; + border-top: 0.05rem solid var(--md-typeset-table-color); + padding: 0.9375em 1.25em; + vertical-align: top; +} + +.span-table tr:first-child td { + font-weight: 700; + min-width: 5rem; + padding: 0.9375em 1.25em; + vertical-align: top; +} + +.span-table td:first-child { + border-left: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table td:last-child { + border-right: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table tr:last-child { + border-bottom: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table [colspan], +.span-table [rowspan] { + font-weight: bold; + border: 0.05rem solid var(--md-typeset-table-color); +} + +.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]), +.span-table td[colspan]:hover, +.span-table td[rowspan]:hover { + background-color: rgba(0, 0, 0, 0.035); + box-shadow: 0 0.05rem 0 var(--md-default-bg-color) inset; + transition: background-color 125ms; +} diff --git a/docs/stylesheets/neoteroi-timeline.css b/docs/stylesheets/neoteroi-timeline.css new file mode 100644 index 00000000..68220895 --- /dev/null +++ b/docs/stylesheets/neoteroi-timeline.css @@ -0,0 +1,340 @@ +/** + * Extra CSS file for MkDocs and the neoteroi.timeline extension. + * + * https://github.com/Neoteroi/mkdocs-plugins +**/ +.nt-error { + border: 2px dashed darkred; + padding: 0 1rem; + background: #faf9ba; + color: darkred; +} + +.nt-timeline { + margin-top: 30px; +} +.nt-timeline .nt-timeline-title { + font-size: 1.1rem; + margin-top: 0; +} +.nt-timeline .nt-timeline-sub-title { + margin-top: 0; +} +.nt-timeline .nt-timeline-content { + font-size: 0.8rem; + border-bottom: 2px dashed #ccc; + padding-bottom: 1.2rem; +} +.nt-timeline.horizontal .nt-timeline-items { + flex-direction: row; + overflow-x: scroll; +} +.nt-timeline.horizontal .nt-timeline-items > div { + min-width: 400px; + margin-right: 50px; +} +.nt-timeline.horizontal.reverse .nt-timeline-items { + flex-direction: row-reverse; +} +.nt-timeline.horizontal.center .nt-timeline-before { + background-image: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal.center .nt-timeline-after { + background-image: linear-gradient(180deg, rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal.center .nt-timeline-items { + background-image: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%); + background-repeat: no-repeat; + background-size: 100% 2px; + background-position: 0 center; +} +.nt-timeline.horizontal .nt-timeline-dot { + left: 50%; +} +.nt-timeline.horizontal .nt-timeline-dot:not(.bigger) { + top: calc(50% - 4px); +} +.nt-timeline.horizontal .nt-timeline-dot.bigger { + top: calc(50% - 15px); +} +.nt-timeline.vertical .nt-timeline-items { + flex-direction: column; +} +.nt-timeline.vertical.reverse .nt-timeline-items { + flex-direction: column-reverse; +} +.nt-timeline.vertical.center .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat center/2px 100%; +} +.nt-timeline.vertical.center .nt-timeline-dot { + left: calc(50% - 10px); +} +.nt-timeline.vertical.center .nt-timeline-dot:not(.bigger) { + top: 10px; +} +.nt-timeline.vertical.center .nt-timeline-dot.bigger { + left: calc(50% - 20px); +} +.nt-timeline.vertical.left { + padding-left: 100px; +} +.nt-timeline.vertical.left .nt-timeline-item { + padding-left: 70px; +} +.nt-timeline.vertical.left .nt-timeline-sub-title { + left: -100px; + width: 100px; +} +.nt-timeline.vertical.left .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat 30px/2px 100%; +} +.nt-timeline.vertical.left .nt-timeline-dot { + left: 21px; + top: 8px; +} +.nt-timeline.vertical.left .nt-timeline-dot.bigger { + top: 0px; + left: 10px; +} +.nt-timeline.vertical.right { + padding-right: 100px; +} +.nt-timeline.vertical.right .nt-timeline-sub-title { + right: -100px; + text-align: left; + width: 100px; +} +.nt-timeline.vertical.right .nt-timeline-item { + padding-right: 70px; +} +.nt-timeline.vertical.right .nt-timeline-before { + background: linear-gradient(rgba(252, 70, 107, 0) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-after { + background: linear-gradient(rgb(252, 70, 107) 0%, rgba(252, 70, 107, 0) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-items { + background: radial-gradient(circle, rgb(63, 94, 251) 0%, rgb(252, 70, 107) 100%) no-repeat calc(100% - 30px)/2px 100%; +} +.nt-timeline.vertical.right .nt-timeline-dot { + right: 21px; + top: 8px; +} +.nt-timeline.vertical.right .nt-timeline-dot.bigger { + top: 10px; + right: 10px; +} + +.nt-timeline-items { + display: flex; + position: relative; +} +.nt-timeline-items > div { + min-height: 100px; + padding-top: 2px; + padding-bottom: 20px; +} + +.nt-timeline-before { + content: ""; + height: 15px; +} + +.nt-timeline-after { + content: ""; + height: 60px; + margin-bottom: 20px; +} + +.nt-timeline-sub-title { + position: absolute; + width: 50%; + top: 4px; + font-size: 18px; + color: var(--nt-color-50); +} + +[data-md-color-scheme=slate] .nt-timeline-sub-title { + color: var(--nt-color-51); +} + +.nt-timeline-item { + position: relative; +} + +.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item { + padding-left: calc(50% + 40px); +} +.nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { + left: 0; + padding-right: 40px; + text-align: right; +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) { + padding-left: calc(50% + 40px); +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title { + left: 0; + padding-right: 40px; + text-align: right; +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) { + text-align: right; + padding-right: calc(50% + 40px); +} +.nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { + right: 0; + padding-left: 40px; + text-align: left; +} + +.nt-timeline-dot { + position: relative; + width: 20px; + height: 20px; + border-radius: 100%; + background-color: #fc5b5b; + position: absolute; + top: 0px; + z-index: 2; + display: flex; + justify-content: center; + align-items: center; + box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12); + border: 3px solid white; +} +.nt-timeline-dot:not(.bigger) .icon { + font-size: 10px; +} +.nt-timeline-dot.bigger { + width: 40px; + height: 40px; + padding: 3px; +} +.nt-timeline-dot .icon { + color: white; +} + +/* Fix for webkit (Chrome, Safari) */ +@supports not (-moz-appearance: none) { + /* + This fix is necessary, for some reason, to render the timeline properly + inside `details` elements used by pymdownx. Firefox doesn't need this fix, + it renders elements properly. + */ + details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(odd) .nt-timeline-sub-title, +details .nt-timeline.vertical.center:not(.alternate) .nt-timeline-item .nt-timeline-sub-title { + left: -40px; + } + details .nt-timeline.vertical.center.alternate .nt-timeline-item:nth-child(even) .nt-timeline-sub-title { + right: -40px; + } + details .nt-timeline.vertical.center .nt-timeline-dot { + left: calc(50% - 12px); + } + details .nt-timeline-dot.bigger { + font-size: 1rem !important; + } +} +/* default colors */ +.nt-timeline-item:nth-child(0) .nt-timeline-dot { + background-color: var(--nt-color-0); +} + +.nt-timeline-item:nth-child(1) .nt-timeline-dot { + background-color: var(--nt-color-1); +} + +.nt-timeline-item:nth-child(2) .nt-timeline-dot { + background-color: var(--nt-color-2); +} + +.nt-timeline-item:nth-child(3) .nt-timeline-dot { + background-color: var(--nt-color-3); +} + +.nt-timeline-item:nth-child(4) .nt-timeline-dot { + background-color: var(--nt-color-4); +} + +.nt-timeline-item:nth-child(5) .nt-timeline-dot { + background-color: var(--nt-color-5); +} + +.nt-timeline-item:nth-child(6) .nt-timeline-dot { + background-color: var(--nt-color-6); +} + +.nt-timeline-item:nth-child(7) .nt-timeline-dot { + background-color: var(--nt-color-7); +} + +.nt-timeline-item:nth-child(8) .nt-timeline-dot { + background-color: var(--nt-color-8); +} + +.nt-timeline-item:nth-child(9) .nt-timeline-dot { + background-color: var(--nt-color-9); +} + +.nt-timeline-item:nth-child(10) .nt-timeline-dot { + background-color: var(--nt-color-10); +} + +.nt-timeline-item:nth-child(11) .nt-timeline-dot { + background-color: var(--nt-color-11); +} + +.nt-timeline-item:nth-child(12) .nt-timeline-dot { + background-color: var(--nt-color-12); +} + +.nt-timeline-item:nth-child(13) .nt-timeline-dot { + background-color: var(--nt-color-13); +} + +.nt-timeline-item:nth-child(14) .nt-timeline-dot { + background-color: var(--nt-color-14); +} + +.nt-timeline-item:nth-child(15) .nt-timeline-dot { + background-color: var(--nt-color-15); +} + +.nt-timeline-item:nth-child(16) .nt-timeline-dot { + background-color: var(--nt-color-16); +} + +.nt-timeline-item:nth-child(17) .nt-timeline-dot { + background-color: var(--nt-color-17); +} + +.nt-timeline-item:nth-child(18) .nt-timeline-dot { + background-color: var(--nt-color-18); +} + +.nt-timeline-item:nth-child(19) .nt-timeline-dot { + background-color: var(--nt-color-19); +} + +.nt-timeline-item:nth-child(20) .nt-timeline-dot { + background-color: var(--nt-color-20); +} -- cgit v1.2.3-70-g09d2