mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 09:48:08 -04:00

* add docs site based on docusarus Closes #2 Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: deploy to aeacus Signed-off-by: Xe Iaso <me@xeiaso.net> * ready for merge Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: fix anubis port Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
70 lines
1.7 KiB
CSS
70 lines
1.7 KiB
CSS
/**
|
|
* Any CSS included here will be global. The classic template
|
|
* bundles Infima by default. Infima is a CSS framework designed to
|
|
* work well for content-centric websites.
|
|
*/
|
|
|
|
/* You can override the default Infima variables here. */
|
|
:root {
|
|
--ifm-color-primary: #2e8555;
|
|
--ifm-color-primary-dark: #29784c;
|
|
--ifm-color-primary-darker: #277148;
|
|
--ifm-color-primary-darkest: #205d3b;
|
|
--ifm-color-primary-light: #33925d;
|
|
--ifm-color-primary-lighter: #359962;
|
|
--ifm-color-primary-lightest: #3cad6e;
|
|
--ifm-code-font-size: 95%;
|
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
|
[data-theme="dark"] {
|
|
--ifm-color-primary: #25c2a0;
|
|
--ifm-color-primary-dark: #21af90;
|
|
--ifm-color-primary-darker: #1fa588;
|
|
--ifm-color-primary-darkest: #1a8870;
|
|
--ifm-color-primary-light: #29d5b0;
|
|
--ifm-color-primary-lighter: #32d8b4;
|
|
--ifm-color-primary-lightest: #4fddbf;
|
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.code-block-diff-add-line {
|
|
background-color: #ccffd8;
|
|
display: block;
|
|
margin: 0 -40px;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.code-block-diff-add-line::before {
|
|
position: absolute;
|
|
left: 8px;
|
|
padding-right: 8px;
|
|
content: "+";
|
|
}
|
|
|
|
.code-block-diff-remove-line {
|
|
background-color: #ffebe9;
|
|
display: block;
|
|
margin: 0 -40px;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.code-block-diff-remove-line::before {
|
|
position: absolute;
|
|
left: 8px;
|
|
padding-right: 8px;
|
|
content: "-";
|
|
}
|
|
|
|
/**
|
|
* use magic comments to mark diff blocks
|
|
*/
|
|
pre code:has(.code-block-diff-add-line) {
|
|
padding-left: 40px !important;
|
|
}
|
|
|
|
pre code:has(.code-block-diff-remove-line) {
|
|
padding-left: 40px !important;
|
|
}
|