Initial commit
This commit is contained in:
commit
4c1925d3c4
19 changed files with 8709 additions and 0 deletions
144
.gitignore
vendored
Normal file
144
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,144 @@
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||||
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
*.lcov
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules/
|
||||||
|
jspm_packages/
|
||||||
|
|
||||||
|
# Snowpack dependency directory (https://snowpack.dev/)
|
||||||
|
web_modules/
|
||||||
|
|
||||||
|
# TypeScript cache
|
||||||
|
*.tsbuildinfo
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional stylelint cache
|
||||||
|
.stylelintcache
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variable files
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
|
.cache
|
||||||
|
.parcel-cache
|
||||||
|
|
||||||
|
# Next.js build output
|
||||||
|
.next
|
||||||
|
out
|
||||||
|
|
||||||
|
# Nuxt.js build / generate output
|
||||||
|
.nuxt
|
||||||
|
dist
|
||||||
|
|
||||||
|
# Gatsby files
|
||||||
|
.cache/
|
||||||
|
# Comment in the public line in if your project uses Gatsby and not Next.js
|
||||||
|
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||||
|
# public
|
||||||
|
|
||||||
|
# vuepress build output
|
||||||
|
.vuepress/dist
|
||||||
|
|
||||||
|
# vuepress v2.x temp and cache directory
|
||||||
|
.temp
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# Sveltekit cache directory
|
||||||
|
.svelte-kit/
|
||||||
|
|
||||||
|
# vitepress build output
|
||||||
|
**/.vitepress/dist
|
||||||
|
|
||||||
|
# vitepress cache directory
|
||||||
|
**/.vitepress/cache
|
||||||
|
|
||||||
|
# Docusaurus cache and generated files
|
||||||
|
.docusaurus
|
||||||
|
|
||||||
|
# Serverless directories
|
||||||
|
.serverless/
|
||||||
|
|
||||||
|
# FuseBox cache
|
||||||
|
.fusebox/
|
||||||
|
|
||||||
|
# DynamoDB Local files
|
||||||
|
.dynamodb/
|
||||||
|
|
||||||
|
# Firebase cache directory
|
||||||
|
.firebase/
|
||||||
|
|
||||||
|
# TernJS port file
|
||||||
|
.tern-port
|
||||||
|
|
||||||
|
# Stores VSCode versions used for testing VSCode extensions
|
||||||
|
.vscode-test
|
||||||
|
|
||||||
|
# yarn v3
|
||||||
|
.pnp.*
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/sdks
|
||||||
|
!.yarn/versions
|
||||||
|
|
||||||
|
# Vite logs files
|
||||||
|
vite.config.js.timestamp-*
|
||||||
|
vite.config.ts.timestamp-*
|
||||||
|
|
||||||
|
slides/
|
||||||
|
cours/
|
||||||
|
!src/slides/
|
||||||
|
!src/cours/
|
||||||
3
.marp/engine.mjs
Normal file
3
.marp/engine.mjs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
import MarkdownItAdmonition from 'markdown-it-admonition'
|
||||||
|
|
||||||
|
export default ({ marp }) => marp.use(MarkdownItAdmonition)
|
||||||
501
.marp/themes/catppuccin.css
Normal file
501
.marp/themes/catppuccin.css
Normal file
|
|
@ -0,0 +1,501 @@
|
||||||
|
/* @theme catppuccin */
|
||||||
|
|
||||||
|
@import 'uncover';
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-background: var(--base);
|
||||||
|
--color-background-code: var(--crust);
|
||||||
|
--color-background-paginate: var(--mantle);
|
||||||
|
--color-foreground: var(--text);
|
||||||
|
--color-highlight: var(--blue);
|
||||||
|
--color-highlight-hover: var(--lavender);
|
||||||
|
--color-highlight-heading: var(--sapphire);
|
||||||
|
--color-header: var(--blue);
|
||||||
|
--color-header-shadow: transparent;
|
||||||
|
|
||||||
|
--text-font: "Ubuntu Nerd Font", Helvetica, sans-serif;
|
||||||
|
--title-font: "Ubuntu Nerd Font", Helvetica, sans-serif;
|
||||||
|
--mono-font: "UbuntuMono Nerd Font", monospace;
|
||||||
|
|
||||||
|
--standard-border-radius: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
font-family: var(--text-font);
|
||||||
|
}
|
||||||
|
|
||||||
|
section,
|
||||||
|
section.latte {
|
||||||
|
--pink: #ea76cb;
|
||||||
|
--mauve: #8839ef;
|
||||||
|
--red: #d20f39;
|
||||||
|
--maroon: #e64553;
|
||||||
|
--peach: #fe640b;
|
||||||
|
--yellow: #df8e1d;
|
||||||
|
--green: #40a02b;
|
||||||
|
--teal: #179299;
|
||||||
|
--sky: #04a5e5;
|
||||||
|
--sapphire: #209fb5;
|
||||||
|
--blue: #1e66f5;
|
||||||
|
--lavender: #7287fd;
|
||||||
|
--text: #4c4f69;
|
||||||
|
--subtext1: #5c5f77;
|
||||||
|
--subtext0: #6c6f85;
|
||||||
|
--overlay2: #7c7f93;
|
||||||
|
--overlay1: #8c8fa1;
|
||||||
|
--overlay0: #9ca0b0;
|
||||||
|
--surface2: #acb0be;
|
||||||
|
--surface1: #bcc0cc;
|
||||||
|
--surface0: #ccd0da;
|
||||||
|
--base: #eff1f5;
|
||||||
|
--mantle: #e6e9ef;
|
||||||
|
--crust: #dce0e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.frappe {
|
||||||
|
--pink: #f4b8e4;
|
||||||
|
--mauve: #ca9ee6;
|
||||||
|
--red: #e78284;
|
||||||
|
--maroon: #ea999c;
|
||||||
|
--peach: #ef9f76;
|
||||||
|
--yellow: #e5c890;
|
||||||
|
--green: #a6d189;
|
||||||
|
--teal: #81c8be;
|
||||||
|
--sky: #99d1db;
|
||||||
|
--sapphire: #85c1dc;
|
||||||
|
--blue: #8caaee;
|
||||||
|
--lavender: #babbf1;
|
||||||
|
--text: #c6d0f5;
|
||||||
|
--subtext1: #b5bfe2;
|
||||||
|
--subtext0: #a5adce;
|
||||||
|
--overlay2: #949cbb;
|
||||||
|
--overlay1: #838ba7;
|
||||||
|
--overlay0: #737994;
|
||||||
|
--surface2: #626880;
|
||||||
|
--surface1: #51576d;
|
||||||
|
--surface0: #414559;
|
||||||
|
--base: #303446;
|
||||||
|
--mantle: #292c3c;
|
||||||
|
--crust: #232634;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.macchiato {
|
||||||
|
--pink: #f5bde6;
|
||||||
|
--mauve: #c6a0f6;
|
||||||
|
--red: #ed8796;
|
||||||
|
--maroon: #ee99a0;
|
||||||
|
--peach: #f5a97f;
|
||||||
|
--yellow: #eed49f;
|
||||||
|
--green: #a6da95;
|
||||||
|
--teal: #8bd5ca;
|
||||||
|
--sky: #91d7e3;
|
||||||
|
--sapphire: #7dc4e4;
|
||||||
|
--blue: #8aadf4;
|
||||||
|
--lavender: #b7bdf8;
|
||||||
|
--text: #cad3f5;
|
||||||
|
--subtext1: #b8c0e0;
|
||||||
|
--subtext0: #a5adcb;
|
||||||
|
--overlay2: #939ab7;
|
||||||
|
--overlay1: #8087a2;
|
||||||
|
--overlay0: #6e738d;
|
||||||
|
--surface2: #5b6078;
|
||||||
|
--surface1: #494d64;
|
||||||
|
--surface0: #363a4f;
|
||||||
|
--base: #24273a;
|
||||||
|
--mantle: #1e2030;
|
||||||
|
--crust: #181926;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.mocha {
|
||||||
|
--pink: #f5c2e7;
|
||||||
|
--mauve: #cba6f7;
|
||||||
|
--red: #f38ba8;
|
||||||
|
--maroon: #eba0ac;
|
||||||
|
--peach: #fab387;
|
||||||
|
--yellow: #f9e2af;
|
||||||
|
--green: #a6e3a1;
|
||||||
|
--teal: #94e2d5;
|
||||||
|
--sky: #89dceb;
|
||||||
|
--sapphire: #74c7ec;
|
||||||
|
--blue: #89b4fa;
|
||||||
|
--lavender: #b4befe;
|
||||||
|
--text: #cdd6f4;
|
||||||
|
--subtext1: #bac2de;
|
||||||
|
--subtext0: #a6adc8;
|
||||||
|
--overlay2: #9399b2;
|
||||||
|
--overlay1: #7f849c;
|
||||||
|
--overlay0: #6c7086;
|
||||||
|
--surface2: #585b70;
|
||||||
|
--surface1: #45475a;
|
||||||
|
--surface0: #313244;
|
||||||
|
--base: #1e1e2e;
|
||||||
|
--mantle: #181825;
|
||||||
|
--crust: #11111b;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: var(--mono-font);
|
||||||
|
border-radius: .2rem;
|
||||||
|
border-style: dashed;
|
||||||
|
border-color: var(--overlay0);
|
||||||
|
border-width: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
section :is(pre, marp-pre) > code {
|
||||||
|
border-width: 3px;
|
||||||
|
border-color: var(--overlay0);
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: var(--standard-border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
section :is(pre, marp-pre) {
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer,
|
||||||
|
header {
|
||||||
|
color: var(--overlay0);
|
||||||
|
text-align: left;
|
||||||
|
font-size: .3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
code.hljs {
|
||||||
|
color: var(--text);
|
||||||
|
background: var(--base)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-keyword {
|
||||||
|
color: var(--mauve)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-built_in {
|
||||||
|
color: var(--red)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-type {
|
||||||
|
color: var(--yellow)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-literal {
|
||||||
|
color: var(--peach)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-number {
|
||||||
|
color: var(--peach)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-operator {
|
||||||
|
color: var(--sky)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-punctuation {
|
||||||
|
color: var(--subtext1)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-property {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-regexp {
|
||||||
|
color: var(--pink)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-string {
|
||||||
|
color: var(--green)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-char.escape_ {
|
||||||
|
color: var(--green)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-subst {
|
||||||
|
color: var(--subtext0)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-symbol {
|
||||||
|
color: var(--flamingo)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-variable {
|
||||||
|
color: var(--mauve)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-variable.language_ {
|
||||||
|
color: var(--mauve)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-variable.constant_ {
|
||||||
|
color: var(--peach)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-title {
|
||||||
|
color: var(--blue)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-title.class_ {
|
||||||
|
color: var(--yellow)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-title.function_ {
|
||||||
|
color: var(--blue)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-params {
|
||||||
|
color: var(--text)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-comment {
|
||||||
|
color: var(--overlay2)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-doctag {
|
||||||
|
color: var(--red)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-meta {
|
||||||
|
color: var(--peach)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-section {
|
||||||
|
color: var(--blue)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-tag {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-name {
|
||||||
|
color: var(--mauve)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-attr {
|
||||||
|
color: var(--blue)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-attribute {
|
||||||
|
color: var(--green)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-bullet {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-code {
|
||||||
|
color: var(--green)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-emphasis {
|
||||||
|
color: var(--red);
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-strong {
|
||||||
|
color: var(--red);
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-formula {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-link {
|
||||||
|
color: var(--sapphire);
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-quote {
|
||||||
|
color: var(--green);
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-selector-tag {
|
||||||
|
color: var(--yellow)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-selector-id {
|
||||||
|
color: var(--blue)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-selector-class {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-selector-attr {
|
||||||
|
color: var(--mauve)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-selector-pseudo {
|
||||||
|
color: var(--teal)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-template-tag {
|
||||||
|
color: var(--flamingo)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-template-variable {
|
||||||
|
color: var(--flamingo)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-addition {
|
||||||
|
color: var(--green);
|
||||||
|
background: rgb(from var(--green) r g b/15%)
|
||||||
|
}
|
||||||
|
|
||||||
|
code .hljs-deletion {
|
||||||
|
color: var(--red);
|
||||||
|
background: rgb(from var(--red) r g b/15%)
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition {
|
||||||
|
margin-top: .5rem;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
text-align: initial;
|
||||||
|
padding: .5rem;
|
||||||
|
padding-top: .2rem;
|
||||||
|
border-style: dashed;
|
||||||
|
border-radius: var(--standard-border-radius);
|
||||||
|
border-width: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition > p.admonition-title {
|
||||||
|
margin-top: .2rem;
|
||||||
|
margin-bottom: .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition > p.admonition-title::before {
|
||||||
|
margin-right: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Info */
|
||||||
|
|
||||||
|
div.admonition.info > p.admonition-title,
|
||||||
|
div.admonition.info > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--sapphire);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.info {
|
||||||
|
border-color: var(--sapphire);
|
||||||
|
background-color: color-mix(in srgb, var(--sapphire), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* success */
|
||||||
|
div.admonition.success > p.admonition-title,
|
||||||
|
div.admonition.success > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--green);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.success {
|
||||||
|
border-color: var(--green);
|
||||||
|
background-color: color-mix(in srgb, var(--green), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
div.admonition.warning > p.admonition-title,
|
||||||
|
div.admonition.warning > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--yellow);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.warning {
|
||||||
|
border-color: var(--yellow);
|
||||||
|
background-color: color-mix(in srgb, var(--yellow), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Danger */
|
||||||
|
div.admonition.danger > p.admonition-title,
|
||||||
|
div.admonition.danger > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--red);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.danger {
|
||||||
|
border-color: var(--red);
|
||||||
|
background-color: color-mix(in srgb, var(--red), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Failure */
|
||||||
|
div.admonition.failure > p.admonition-title,
|
||||||
|
div.admonition.failure > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--red);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.failure {
|
||||||
|
border-color: var(--red);
|
||||||
|
background-color: color-mix(in srgb, var(--red), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tip */
|
||||||
|
div.admonition.tip > p.admonition-title,
|
||||||
|
div.admonition.tip > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.tip {
|
||||||
|
border-color: var(--teal);
|
||||||
|
background-color: color-mix(in srgb, var(--teal), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Note */
|
||||||
|
div.admonition.note > p.admonition-title,
|
||||||
|
div.admonition.note > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--lavender);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.note {
|
||||||
|
border-color: var(--lavender);
|
||||||
|
background-color: color-mix(in srgb, var(--lavender), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Question */
|
||||||
|
div.admonition.question > p.admonition-title,
|
||||||
|
div.admonition.question > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--sky);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.question {
|
||||||
|
border-color: var(--sky);
|
||||||
|
background-color: color-mix(in srgb, var(--sky), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Example */
|
||||||
|
div.admonition.example > p.admonition-title,
|
||||||
|
div.admonition.example > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--mauve);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.example {
|
||||||
|
border-color: var(--mauve);
|
||||||
|
background-color: color-mix(in srgb, var(--mauve), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bug */
|
||||||
|
div.admonition.bug > p.admonition-title,
|
||||||
|
div.admonition.bug > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--maroon);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.bug {
|
||||||
|
border-color: var(--maroon);
|
||||||
|
background-color: color-mix(in srgb, var(--maroon), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Quote */
|
||||||
|
div.admonition.quote > p.admonition-title,
|
||||||
|
div.admonition.quote > p.admonition-title::before {
|
||||||
|
content: "";
|
||||||
|
color: var(--overlay1);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.admonition.quote {
|
||||||
|
border-color: var(--overlay1);
|
||||||
|
background-color: color-mix(in srgb, var(--overlay1), transparent 90%);
|
||||||
|
}
|
||||||
|
|
||||||
348
.mdbook/mdbook-admonish.css
Normal file
348
.mdbook/mdbook-admonish.css
Normal file
|
|
@ -0,0 +1,348 @@
|
||||||
|
@charset "UTF-8";
|
||||||
|
:is(.admonition) {
|
||||||
|
display: flow-root;
|
||||||
|
margin: 1.5625em 0;
|
||||||
|
padding: 0 1.2rem;
|
||||||
|
color: var(--fg);
|
||||||
|
page-break-inside: avoid;
|
||||||
|
background-color: var(--bg);
|
||||||
|
border: 0 solid black;
|
||||||
|
border-inline-start-width: 0.4rem;
|
||||||
|
border-radius: 0.2rem;
|
||||||
|
box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.05), 0 0 0.1rem rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
:is(.admonition) {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
:is(.admonition) > * {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
:is(.admonition) :is(.admonition) {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
:is(.admonition) > .tabbed-set:only-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
html :is(.admonition) > :last-child {
|
||||||
|
margin-bottom: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.admonition-anchor-link {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
left: -1.2rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
|
a.admonition-anchor-link:link, a.admonition-anchor-link:visited {
|
||||||
|
color: var(--fg);
|
||||||
|
}
|
||||||
|
a.admonition-anchor-link:link:hover, a.admonition-anchor-link:visited:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a.admonition-anchor-link::before {
|
||||||
|
content: "§";
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition-title, summary.admonition-title) {
|
||||||
|
position: relative;
|
||||||
|
min-height: 4rem;
|
||||||
|
margin-block: 0;
|
||||||
|
margin-inline: -1.6rem -1.2rem;
|
||||||
|
padding-block: 0.8rem;
|
||||||
|
padding-inline: 4.4rem 1.2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
background-color: rgba(68, 138, 255, 0.1);
|
||||||
|
print-color-adjust: exact;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
:is(.admonition-title, summary.admonition-title) p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
html :is(.admonition-title, summary.admonition-title):last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
:is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.625em;
|
||||||
|
inset-inline-start: 1.6rem;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
background-color: #448aff;
|
||||||
|
print-color-adjust: exact;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
mask-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"></svg>');
|
||||||
|
-webkit-mask-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"></svg>');
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-size: contain;
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
:is(.admonition-title, summary.admonition-title):hover a.admonition-anchor-link {
|
||||||
|
display: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
details.admonition > summary.admonition-title::after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.625em;
|
||||||
|
inset-inline-end: 1.6rem;
|
||||||
|
height: 2rem;
|
||||||
|
width: 2rem;
|
||||||
|
background-color: currentcolor;
|
||||||
|
mask-image: var(--md-details-icon);
|
||||||
|
-webkit-mask-image: var(--md-details-icon);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-size: contain;
|
||||||
|
content: "";
|
||||||
|
transform: rotate(0deg);
|
||||||
|
transition: transform 0.25s;
|
||||||
|
}
|
||||||
|
details[open].admonition > summary.admonition-title::after {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--md-details-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42Z'/></svg>");
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--md-admonition-icon--admonish-note: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-abstract: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-info: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-tip: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.66 11.2c-.23-.3-.51-.56-.77-.82-.67-.6-1.43-1.03-2.07-1.66C13.33 7.26 13 4.85 13.95 3c-.95.23-1.78.75-2.49 1.32-2.59 2.08-3.61 5.75-2.39 8.9.04.1.08.2.08.33 0 .22-.15.42-.35.5-.23.1-.47.04-.66-.12a.58.58 0 0 1-.14-.17c-1.13-1.43-1.31-3.48-.55-5.12C5.78 10 4.87 12.3 5 14.47c.06.5.12 1 .29 1.5.14.6.41 1.2.71 1.73 1.08 1.73 2.95 2.97 4.96 3.22 2.14.27 4.43-.12 6.07-1.6 1.83-1.66 2.47-4.32 1.53-6.6l-.13-.26c-.21-.46-.77-1.26-.77-1.26m-3.16 6.3c-.28.24-.74.5-1.1.6-1.12.4-2.24-.16-2.9-.82 1.19-.28 1.9-1.16 2.11-2.05.17-.8-.15-1.46-.28-2.23-.12-.74-.1-1.37.17-2.06.19.38.39.76.63 1.06.77 1 1.98 1.44 2.24 2.8.04.14.06.28.06.43.03.82-.33 1.72-.93 2.27z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-success: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m9 20.42-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-question: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m15.07 11.25-.9.92C13.45 12.89 13 13.5 13 15h-2v-.5c0-1.11.45-2.11 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2 2 2 0 0 0-2 2H8a4 4 0 0 1 4-4 4 4 0 0 1 4 4 3.2 3.2 0 0 1-.93 2.25M13 19h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10c0-5.53-4.5-10-10-10z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-warning: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2 1 21z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-failure: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6.91 17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-danger: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 15H6l7-14v8h5l-7 14v-8z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-bug: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 12h-4v-2h4m0 6h-4v-2h4m6-6h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17a6.002 6.002 0 0 0-2.83 0L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-example: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 13v-2h14v2H7m0 6v-2h14v2H7M7 7V5h14v2H7M3 8V5H2V4h2v4H3m-1 9v-1h3v4H2v-1h2v-.5H3v-1h1V17H2m2.25-7a.75.75 0 0 1 .75.75c0 .2-.08.39-.21.52L3.12 13H5v1H2v-.92L4 11H2v-1h2.25z'/></svg>");
|
||||||
|
--md-admonition-icon--admonish-quote: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3l-2 4z'/></svg>");
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-note) {
|
||||||
|
border-color: #448aff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-note) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(68, 138, 255, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #448aff;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-note);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-note);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) {
|
||||||
|
border-color: #00b0ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(0, 176, 255, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #00b0ff;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-abstract);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-abstract);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-info, .admonish-todo) {
|
||||||
|
border-color: #00b8d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(0, 184, 212, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #00b8d4;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-info);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-info);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-tip, .admonish-hint, .admonish-important) {
|
||||||
|
border-color: #00bfa5;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-tip, .admonish-hint, .admonish-important) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(0, 191, 165, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-tip, .admonish-hint, .admonish-important) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #00bfa5;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-tip);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-tip);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-success, .admonish-check, .admonish-done) {
|
||||||
|
border-color: #00c853;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-success, .admonish-check, .admonish-done) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(0, 200, 83, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-success, .admonish-check, .admonish-done) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #00c853;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-success);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-success);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-question, .admonish-help, .admonish-faq) {
|
||||||
|
border-color: #64dd17;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-question, .admonish-help, .admonish-faq) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(100, 221, 23, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-question, .admonish-help, .admonish-faq) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #64dd17;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-question);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-question);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-warning, .admonish-caution, .admonish-attention) {
|
||||||
|
border-color: #ff9100;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-warning, .admonish-caution, .admonish-attention) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(255, 145, 0, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-warning, .admonish-caution, .admonish-attention) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ff9100;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-warning);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-warning);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-failure, .admonish-fail, .admonish-missing) {
|
||||||
|
border-color: #ff5252;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-failure, .admonish-fail, .admonish-missing) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(255, 82, 82, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-failure, .admonish-fail, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ff5252;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-failure);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-failure);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-danger, .admonish-error) {
|
||||||
|
border-color: #ff1744;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-danger, .admonish-error) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(255, 23, 68, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-danger, .admonish-error) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ff1744;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-danger);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-danger);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-bug) {
|
||||||
|
border-color: #f50057;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-bug) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(245, 0, 87, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-bug) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f50057;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-bug);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-bug);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-example) {
|
||||||
|
border-color: #7c4dff;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-example) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(124, 77, 255, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #7c4dff;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-example);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-example);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonition):is(.admonish-quote, .admonish-cite) {
|
||||||
|
border-color: #9e9e9e;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.admonish-quote, .admonish-cite) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(158, 158, 158, 0.1);
|
||||||
|
}
|
||||||
|
:is(.admonish-quote, .admonish-cite) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #9e9e9e;
|
||||||
|
mask-image: var(--md-admonition-icon--admonish-quote);
|
||||||
|
-webkit-mask-image: var(--md-admonition-icon--admonish-quote);
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-size: contain;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navy :is(.admonition) {
|
||||||
|
background-color: var(--sidebar-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ayu :is(.admonition),
|
||||||
|
.coal :is(.admonition) {
|
||||||
|
background-color: var(--theme-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.rust :is(.admonition) {
|
||||||
|
background-color: var(--sidebar-bg);
|
||||||
|
color: var(--sidebar-fg);
|
||||||
|
}
|
||||||
|
.rust .admonition-anchor-link:link, .rust .admonition-anchor-link:visited {
|
||||||
|
color: var(--sidebar-fg);
|
||||||
|
}
|
||||||
35
.mdbook/mermaid-init.js
Normal file
35
.mdbook/mermaid-init.js
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
(() => {
|
||||||
|
const darkThemes = ['ayu', 'navy', 'coal'];
|
||||||
|
const lightThemes = ['light', 'rust'];
|
||||||
|
|
||||||
|
const classList = document.getElementsByTagName('html')[0].classList;
|
||||||
|
|
||||||
|
let lastThemeWasLight = true;
|
||||||
|
for (const cssClass of classList) {
|
||||||
|
if (darkThemes.includes(cssClass)) {
|
||||||
|
lastThemeWasLight = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const theme = lastThemeWasLight ? 'default' : 'dark';
|
||||||
|
mermaid.initialize({ startOnLoad: true, theme });
|
||||||
|
|
||||||
|
// Simplest way to make mermaid re-render the diagrams in the new theme is via refreshing the page
|
||||||
|
|
||||||
|
for (const darkTheme of darkThemes) {
|
||||||
|
document.getElementById(darkTheme).addEventListener('click', () => {
|
||||||
|
if (lastThemeWasLight) {
|
||||||
|
window.location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const lightTheme of lightThemes) {
|
||||||
|
document.getElementById(lightTheme).addEventListener('click', () => {
|
||||||
|
if (!lastThemeWasLight) {
|
||||||
|
window.location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})();
|
||||||
2609
.mdbook/mermaid.min.js
vendored
Normal file
2609
.mdbook/mermaid.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"markdown.marp.themes": [
|
||||||
|
"./themes/catppuccin.css"
|
||||||
|
]
|
||||||
|
}
|
||||||
53
.vscode/tasks.json
vendored
Normal file
53
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Export Slides HTML",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "npm",
|
||||||
|
"args": [
|
||||||
|
"run",
|
||||||
|
"build"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Preview Slides",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "npm",
|
||||||
|
"args": [
|
||||||
|
"run",
|
||||||
|
"preview"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Export Slides PDF",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "npm",
|
||||||
|
"args": [
|
||||||
|
"run",
|
||||||
|
"pdf"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Export Course HTML",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mdbook",
|
||||||
|
"args": [
|
||||||
|
"build"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Preview Course",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mdbook",
|
||||||
|
"args": [
|
||||||
|
"serve",
|
||||||
|
"--open"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"inputs": [
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
MarpCheatsheet.pdf
Normal file
BIN
MarpCheatsheet.pdf
Normal file
Binary file not shown.
26
book.toml
Normal file
26
book.toml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
[book]
|
||||||
|
authors = ["Alexis Fourmaux"]
|
||||||
|
language = "fr"
|
||||||
|
src = "src/cours"
|
||||||
|
title = "Cours"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
build-dir = "build/cours"
|
||||||
|
|
||||||
|
[output.html]
|
||||||
|
additional-css = ["./theme/catppuccin.css", "./theme/catppuccin-alerts.css", "./theme/catppuccin-admonish.css", "./.mdbook/mdbook-admonish.css"]
|
||||||
|
default-theme = "latte"
|
||||||
|
preferred-dark-theme = "macchiato"
|
||||||
|
additional-js = [".mdbook/mermaid.min.js", ".mdbook/mermaid-init.js"]
|
||||||
|
|
||||||
|
[output.html.playground]
|
||||||
|
editable = true
|
||||||
|
|
||||||
|
[preprocessor]
|
||||||
|
|
||||||
|
[preprocessor.admonish]
|
||||||
|
command = "mdbook-admonish"
|
||||||
|
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`
|
||||||
|
|
||||||
|
[preprocessor.mermaid]
|
||||||
|
command = "mdbook-mermaid"
|
||||||
3324
package-lock.json
generated
Normal file
3324
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
20
package.json
Normal file
20
package.json
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"scripts": {
|
||||||
|
"preview": "marp $npm_config_src --preview",
|
||||||
|
"pdf": "marp $npm_config_src --pdf --pdf-outline",
|
||||||
|
"build": "marp $npm_config_src"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@wekanteam/markdown-it-mermaid": "^0.6.4",
|
||||||
|
"markdown-it-admonition": "^1.0.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@marp-team/marp-cli": "^4.2.0"
|
||||||
|
},
|
||||||
|
"marp": {
|
||||||
|
"inputDir": "./src/slides",
|
||||||
|
"output": "./build/slides",
|
||||||
|
"themeSet": "./.marp/themes",
|
||||||
|
"engine": "./.marp/engine.mjs"
|
||||||
|
}
|
||||||
|
}
|
||||||
3
src/cours/SUMMARY.md
Normal file
3
src/cours/SUMMARY.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Summary
|
||||||
|
|
||||||
|
- [Chapter 1](./chapter_1.md)
|
||||||
12
src/cours/chapter_1.md
Normal file
12
src/cours/chapter_1.md
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Chapter 1
|
||||||
|
```admonish warning
|
||||||
|
A beautifully styled message.
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
```
|
||||||
11
src/slides/slides.md
Normal file
11
src/slides/slides.md
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
marp: true
|
||||||
|
theme: catppuccin
|
||||||
|
paginate: true
|
||||||
|
size: 4:3
|
||||||
|
transition: coverflow
|
||||||
|
footer: ''
|
||||||
|
---
|
||||||
|
# Titre
|
||||||
|
|
||||||
|
---
|
||||||
363
theme/catppuccin-admonish.css
Normal file
363
theme/catppuccin-admonish.css
Normal file
|
|
@ -0,0 +1,363 @@
|
||||||
|
.latte :is(.admonition):is(.admonish-hint, .admonish-important, .admonish-tip) {
|
||||||
|
border-color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(223, 142, 29, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) {
|
||||||
|
border-color: #dd7878;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(221, 120, 120, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #dd7878;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-example) {
|
||||||
|
border-color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-example) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(136, 57, 239, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-info, .admonish-todo) {
|
||||||
|
border-color: #04a5e5;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(4, 165, 229, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #04a5e5;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-check, .admonish-done, .admonish-success) {
|
||||||
|
border-color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(64, 160, 43, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-note) {
|
||||||
|
border-color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-note) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(30, 102, 245, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-attention, .admonish-caution, .admonish-warning) {
|
||||||
|
border-color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(254, 100, 11, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-faq, .admonish-help, .admonish-question) {
|
||||||
|
border-color: #179299;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(23, 146, 153, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #179299;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) {
|
||||||
|
border-color: #d20f39;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(210, 15, 57, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #d20f39;
|
||||||
|
}
|
||||||
|
.latte :is(.admonition):is(.admonish-cite, .admonish-quote) {
|
||||||
|
border-color: #ea76cb;
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(234, 118, 203, 0.2);
|
||||||
|
}
|
||||||
|
.latte :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ea76cb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frappe :is(.admonition):is(.admonish-hint, .admonish-important, .admonish-tip) {
|
||||||
|
border-color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(229, 200, 144, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) {
|
||||||
|
border-color: #eebebe;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(238, 190, 190, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #eebebe;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-example) {
|
||||||
|
border-color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-example) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(202, 158, 230, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-info, .admonish-todo) {
|
||||||
|
border-color: #99d1db;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(153, 209, 219, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #99d1db;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-check, .admonish-done, .admonish-success) {
|
||||||
|
border-color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(166, 209, 137, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-note) {
|
||||||
|
border-color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-note) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(140, 170, 238, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-attention, .admonish-caution, .admonish-warning) {
|
||||||
|
border-color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(239, 159, 118, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-faq, .admonish-help, .admonish-question) {
|
||||||
|
border-color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(129, 200, 190, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) {
|
||||||
|
border-color: #e78284;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(231, 130, 132, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #e78284;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonition):is(.admonish-cite, .admonish-quote) {
|
||||||
|
border-color: #f4b8e4;
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(244, 184, 228, 0.2);
|
||||||
|
}
|
||||||
|
.frappe :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f4b8e4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.macchiato :is(.admonition):is(.admonish-hint, .admonish-important, .admonish-tip) {
|
||||||
|
border-color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(238, 212, 159, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) {
|
||||||
|
border-color: #f0c6c6;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(240, 198, 198, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f0c6c6;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-example) {
|
||||||
|
border-color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-example) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(198, 160, 246, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-info, .admonish-todo) {
|
||||||
|
border-color: #91d7e3;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(145, 215, 227, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #91d7e3;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-check, .admonish-done, .admonish-success) {
|
||||||
|
border-color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(166, 218, 149, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-note) {
|
||||||
|
border-color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-note) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(138, 173, 244, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-attention, .admonish-caution, .admonish-warning) {
|
||||||
|
border-color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(245, 169, 127, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-faq, .admonish-help, .admonish-question) {
|
||||||
|
border-color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(139, 213, 202, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) {
|
||||||
|
border-color: #ed8796;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(237, 135, 150, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #ed8796;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonition):is(.admonish-cite, .admonish-quote) {
|
||||||
|
border-color: #f5bde6;
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(245, 189, 230, 0.2);
|
||||||
|
}
|
||||||
|
.macchiato :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f5bde6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mocha :is(.admonition):is(.admonish-hint, .admonish-important, .admonish-tip) {
|
||||||
|
border-color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(249, 226, 175, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-hint, .admonish-important, .admonish-tip) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-abstract, .admonish-summary, .admonish-tldr) {
|
||||||
|
border-color: #f2cdcd;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(242, 205, 205, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-abstract, .admonish-summary, .admonish-tldr) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f2cdcd;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-example) {
|
||||||
|
border-color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-example) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(203, 166, 247, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-example) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-info, .admonish-todo) {
|
||||||
|
border-color: #89dceb;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(137, 220, 235, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-info, .admonish-todo) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #89dceb;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-check, .admonish-done, .admonish-success) {
|
||||||
|
border-color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(166, 227, 161, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-check, .admonish-done, .admonish-success) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-note) {
|
||||||
|
border-color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-note) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(137, 180, 250, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-note) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-attention, .admonish-caution, .admonish-warning) {
|
||||||
|
border-color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(250, 179, 135, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-attention, .admonish-caution, .admonish-warning) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-faq, .admonish-help, .admonish-question) {
|
||||||
|
border-color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(148, 226, 213, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-faq, .admonish-help, .admonish-question) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) {
|
||||||
|
border-color: #f38ba8;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(243, 139, 168, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-bug, .admonish-danger, .admonish-error, .admonish-fail, .admonish-failure, .admonish-missing) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonition):is(.admonish-cite, .admonish-quote) {
|
||||||
|
border-color: #f5c2e7;
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title) {
|
||||||
|
background-color: rgba(245, 194, 231, 0.2);
|
||||||
|
}
|
||||||
|
.mocha :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title)::before {
|
||||||
|
background-color: #f5c2e7;
|
||||||
|
}
|
||||||
63
theme/catppuccin-alerts.css
Normal file
63
theme/catppuccin-alerts.css
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
.latte .mdbook-alerts-note {
|
||||||
|
--mdbook-alerts-color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .mdbook-alerts-tip {
|
||||||
|
--mdbook-alerts-color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte .mdbook-alerts-important {
|
||||||
|
--mdbook-alerts-color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .mdbook-alerts-warning {
|
||||||
|
--mdbook-alerts-color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte .mdbook-alerts-caution {
|
||||||
|
--mdbook-alerts-color: #d20f39;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frappe .mdbook-alerts-note {
|
||||||
|
--mdbook-alerts-color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .mdbook-alerts-tip {
|
||||||
|
--mdbook-alerts-color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe .mdbook-alerts-important {
|
||||||
|
--mdbook-alerts-color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .mdbook-alerts-warning {
|
||||||
|
--mdbook-alerts-color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe .mdbook-alerts-caution {
|
||||||
|
--mdbook-alerts-color: #e78284;
|
||||||
|
}
|
||||||
|
|
||||||
|
.macchiato .mdbook-alerts-note {
|
||||||
|
--mdbook-alerts-color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .mdbook-alerts-tip {
|
||||||
|
--mdbook-alerts-color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato .mdbook-alerts-important {
|
||||||
|
--mdbook-alerts-color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .mdbook-alerts-warning {
|
||||||
|
--mdbook-alerts-color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato .mdbook-alerts-caution {
|
||||||
|
--mdbook-alerts-color: #ed8796;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mocha .mdbook-alerts-note {
|
||||||
|
--mdbook-alerts-color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .mdbook-alerts-tip {
|
||||||
|
--mdbook-alerts-color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha .mdbook-alerts-important {
|
||||||
|
--mdbook-alerts-color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .mdbook-alerts-warning {
|
||||||
|
--mdbook-alerts-color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha .mdbook-alerts-caution {
|
||||||
|
--mdbook-alerts-color: #f38ba8;
|
||||||
|
}
|
||||||
844
theme/catppuccin.css
Normal file
844
theme/catppuccin.css
Normal file
|
|
@ -0,0 +1,844 @@
|
||||||
|
/* https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html */
|
||||||
|
.latte.hljs {
|
||||||
|
color: #4c4f69;
|
||||||
|
background: #eff1f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-keyword {
|
||||||
|
color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .hljs-built_in {
|
||||||
|
color: #d20f39;
|
||||||
|
}
|
||||||
|
.latte .hljs-type {
|
||||||
|
color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte .hljs-literal {
|
||||||
|
color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte .hljs-number {
|
||||||
|
color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte .hljs-operator {
|
||||||
|
color: #04a5e5;
|
||||||
|
}
|
||||||
|
.latte .hljs-punctuation {
|
||||||
|
color: #5c5f77;
|
||||||
|
}
|
||||||
|
.latte .hljs-property {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-regexp {
|
||||||
|
color: #ea76cb;
|
||||||
|
}
|
||||||
|
.latte .hljs-string {
|
||||||
|
color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte .hljs-char.escape_ {
|
||||||
|
color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte .hljs-subst {
|
||||||
|
color: #6c6f85;
|
||||||
|
}
|
||||||
|
.latte .hljs-symbol {
|
||||||
|
color: #dd7878;
|
||||||
|
}
|
||||||
|
.latte .hljs-variable {
|
||||||
|
color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .hljs-variable.language_ {
|
||||||
|
color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .hljs-variable.constant_ {
|
||||||
|
color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte .hljs-title {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-title.class_ {
|
||||||
|
color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte .hljs-title.function_ {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-params {
|
||||||
|
color: #4c4f69;
|
||||||
|
}
|
||||||
|
.latte .hljs-comment {
|
||||||
|
color: #7c7f93;
|
||||||
|
}
|
||||||
|
.latte .hljs-doctag {
|
||||||
|
color: #d20f39;
|
||||||
|
}
|
||||||
|
.latte .hljs-meta {
|
||||||
|
color: #fe640b;
|
||||||
|
}
|
||||||
|
.latte .hljs-section {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-tag {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-name {
|
||||||
|
color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .hljs-attr {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-attribute {
|
||||||
|
color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte .hljs-bullet {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-code {
|
||||||
|
color: #40a02b;
|
||||||
|
}
|
||||||
|
.latte .hljs-emphasis {
|
||||||
|
color: #d20f39;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.latte .hljs-strong {
|
||||||
|
color: #d20f39;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.latte .hljs-formula {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-link {
|
||||||
|
color: #209fb5;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.latte .hljs-quote {
|
||||||
|
color: #40a02b;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.latte .hljs-selector-tag {
|
||||||
|
color: #df8e1d;
|
||||||
|
}
|
||||||
|
.latte .hljs-selector-id {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte .hljs-selector-class {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-selector-attr {
|
||||||
|
color: #8839ef;
|
||||||
|
}
|
||||||
|
.latte .hljs-selector-pseudo {
|
||||||
|
color: #179299;
|
||||||
|
}
|
||||||
|
.latte .hljs-template-tag {
|
||||||
|
color: #dd7878;
|
||||||
|
}
|
||||||
|
.latte .hljs-template-variable {
|
||||||
|
color: #dd7878;
|
||||||
|
}
|
||||||
|
.latte .hljs-addition {
|
||||||
|
color: #40a02b;
|
||||||
|
background: rgba(64, 160, 43, 0.15);
|
||||||
|
}
|
||||||
|
.latte .hljs-deletion {
|
||||||
|
color: #d20f39;
|
||||||
|
background: rgba(210, 15, 57, 0.15);
|
||||||
|
}
|
||||||
|
.latte :is(h1, h2, h3, h4, h5, h6) a code {
|
||||||
|
color: #4c4f69;
|
||||||
|
}
|
||||||
|
.latte a code {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
.latte code {
|
||||||
|
color: #4c4f69;
|
||||||
|
background: #e6e9ef;
|
||||||
|
}
|
||||||
|
.latte blockquote blockquote {
|
||||||
|
border-top: 0.1em solid #acb0be;
|
||||||
|
border-bottom: 0.1em solid #acb0be;
|
||||||
|
}
|
||||||
|
.latte hr {
|
||||||
|
border-color: #acb0be;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.latte del {
|
||||||
|
color: #7c7f93;
|
||||||
|
}
|
||||||
|
.latte .ace_gutter {
|
||||||
|
color: #8c8fa1;
|
||||||
|
background: #e6e9ef;
|
||||||
|
}
|
||||||
|
.latte .ace_gutter-active-line.ace_gutter-cell {
|
||||||
|
color: #ea76cb;
|
||||||
|
background: #e6e9ef;
|
||||||
|
}
|
||||||
|
.latte .tooltiptext {
|
||||||
|
background: #e6e9ef;
|
||||||
|
color: #4c4f69;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frappe.hljs {
|
||||||
|
color: #c6d0f5;
|
||||||
|
background: #303446;
|
||||||
|
}
|
||||||
|
.frappe .hljs-keyword {
|
||||||
|
color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .hljs-built_in {
|
||||||
|
color: #e78284;
|
||||||
|
}
|
||||||
|
.frappe .hljs-type {
|
||||||
|
color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe .hljs-literal {
|
||||||
|
color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe .hljs-number {
|
||||||
|
color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe .hljs-operator {
|
||||||
|
color: #99d1db;
|
||||||
|
}
|
||||||
|
.frappe .hljs-punctuation {
|
||||||
|
color: #b5bfe2;
|
||||||
|
}
|
||||||
|
.frappe .hljs-property {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-regexp {
|
||||||
|
color: #f4b8e4;
|
||||||
|
}
|
||||||
|
.frappe .hljs-string {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe .hljs-char.escape_ {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe .hljs-subst {
|
||||||
|
color: #a5adce;
|
||||||
|
}
|
||||||
|
.frappe .hljs-symbol {
|
||||||
|
color: #eebebe;
|
||||||
|
}
|
||||||
|
.frappe .hljs-variable {
|
||||||
|
color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .hljs-variable.language_ {
|
||||||
|
color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .hljs-variable.constant_ {
|
||||||
|
color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe .hljs-title {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .hljs-title.class_ {
|
||||||
|
color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe .hljs-title.function_ {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .hljs-params {
|
||||||
|
color: #c6d0f5;
|
||||||
|
}
|
||||||
|
.frappe .hljs-comment {
|
||||||
|
color: #949cbb;
|
||||||
|
}
|
||||||
|
.frappe .hljs-doctag {
|
||||||
|
color: #e78284;
|
||||||
|
}
|
||||||
|
.frappe .hljs-meta {
|
||||||
|
color: #ef9f76;
|
||||||
|
}
|
||||||
|
.frappe .hljs-section {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .hljs-tag {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-name {
|
||||||
|
color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .hljs-attr {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .hljs-attribute {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe .hljs-bullet {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-code {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
.frappe .hljs-emphasis {
|
||||||
|
color: #e78284;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.frappe .hljs-strong {
|
||||||
|
color: #e78284;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.frappe .hljs-formula {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-link {
|
||||||
|
color: #85c1dc;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.frappe .hljs-quote {
|
||||||
|
color: #a6d189;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.frappe .hljs-selector-tag {
|
||||||
|
color: #e5c890;
|
||||||
|
}
|
||||||
|
.frappe .hljs-selector-id {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe .hljs-selector-class {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-selector-attr {
|
||||||
|
color: #ca9ee6;
|
||||||
|
}
|
||||||
|
.frappe .hljs-selector-pseudo {
|
||||||
|
color: #81c8be;
|
||||||
|
}
|
||||||
|
.frappe .hljs-template-tag {
|
||||||
|
color: #eebebe;
|
||||||
|
}
|
||||||
|
.frappe .hljs-template-variable {
|
||||||
|
color: #eebebe;
|
||||||
|
}
|
||||||
|
.frappe .hljs-addition {
|
||||||
|
color: #a6d189;
|
||||||
|
background: rgba(166, 209, 137, 0.15);
|
||||||
|
}
|
||||||
|
.frappe .hljs-deletion {
|
||||||
|
color: #e78284;
|
||||||
|
background: rgba(231, 130, 132, 0.15);
|
||||||
|
}
|
||||||
|
.frappe :is(h1, h2, h3, h4, h5, h6) a code {
|
||||||
|
color: #c6d0f5;
|
||||||
|
}
|
||||||
|
.frappe a code {
|
||||||
|
color: #8caaee;
|
||||||
|
}
|
||||||
|
.frappe code {
|
||||||
|
color: #c6d0f5;
|
||||||
|
background: #292c3c;
|
||||||
|
}
|
||||||
|
.frappe blockquote blockquote {
|
||||||
|
border-top: 0.1em solid #626880;
|
||||||
|
border-bottom: 0.1em solid #626880;
|
||||||
|
}
|
||||||
|
.frappe hr {
|
||||||
|
border-color: #626880;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.frappe del {
|
||||||
|
color: #949cbb;
|
||||||
|
}
|
||||||
|
.frappe .ace_gutter {
|
||||||
|
color: #838ba7;
|
||||||
|
background: #292c3c;
|
||||||
|
}
|
||||||
|
.frappe .ace_gutter-active-line.ace_gutter-cell {
|
||||||
|
color: #f4b8e4;
|
||||||
|
background: #292c3c;
|
||||||
|
}
|
||||||
|
.frappe .tooltiptext {
|
||||||
|
background: #292c3c;
|
||||||
|
color: #c6d0f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.macchiato.hljs {
|
||||||
|
color: #cad3f5;
|
||||||
|
background: #24273a;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-keyword {
|
||||||
|
color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-built_in {
|
||||||
|
color: #ed8796;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-type {
|
||||||
|
color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-literal {
|
||||||
|
color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-number {
|
||||||
|
color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-operator {
|
||||||
|
color: #91d7e3;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-punctuation {
|
||||||
|
color: #b8c0e0;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-property {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-regexp {
|
||||||
|
color: #f5bde6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-string {
|
||||||
|
color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-char.escape_ {
|
||||||
|
color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-subst {
|
||||||
|
color: #a5adcb;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-symbol {
|
||||||
|
color: #f0c6c6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-variable {
|
||||||
|
color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-variable.language_ {
|
||||||
|
color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-variable.constant_ {
|
||||||
|
color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-title {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-title.class_ {
|
||||||
|
color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-title.function_ {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-params {
|
||||||
|
color: #cad3f5;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-comment {
|
||||||
|
color: #939ab7;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-doctag {
|
||||||
|
color: #ed8796;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-meta {
|
||||||
|
color: #f5a97f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-section {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-tag {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-name {
|
||||||
|
color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-attr {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-attribute {
|
||||||
|
color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-bullet {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-code {
|
||||||
|
color: #a6da95;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-emphasis {
|
||||||
|
color: #ed8796;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-strong {
|
||||||
|
color: #ed8796;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-formula {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-link {
|
||||||
|
color: #7dc4e4;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-quote {
|
||||||
|
color: #a6da95;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-selector-tag {
|
||||||
|
color: #eed49f;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-selector-id {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-selector-class {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-selector-attr {
|
||||||
|
color: #c6a0f6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-selector-pseudo {
|
||||||
|
color: #8bd5ca;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-template-tag {
|
||||||
|
color: #f0c6c6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-template-variable {
|
||||||
|
color: #f0c6c6;
|
||||||
|
}
|
||||||
|
.macchiato .hljs-addition {
|
||||||
|
color: #a6da95;
|
||||||
|
background: rgba(166, 218, 149, 0.15);
|
||||||
|
}
|
||||||
|
.macchiato .hljs-deletion {
|
||||||
|
color: #ed8796;
|
||||||
|
background: rgba(237, 135, 150, 0.15);
|
||||||
|
}
|
||||||
|
.macchiato :is(h1, h2, h3, h4, h5, h6) a code {
|
||||||
|
color: #cad3f5;
|
||||||
|
}
|
||||||
|
.macchiato a code {
|
||||||
|
color: #8aadf4;
|
||||||
|
}
|
||||||
|
.macchiato code {
|
||||||
|
color: #cad3f5;
|
||||||
|
background: #1e2030;
|
||||||
|
}
|
||||||
|
.macchiato blockquote blockquote {
|
||||||
|
border-top: 0.1em solid #5b6078;
|
||||||
|
border-bottom: 0.1em solid #5b6078;
|
||||||
|
}
|
||||||
|
.macchiato hr {
|
||||||
|
border-color: #5b6078;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.macchiato del {
|
||||||
|
color: #939ab7;
|
||||||
|
}
|
||||||
|
.macchiato .ace_gutter {
|
||||||
|
color: #8087a2;
|
||||||
|
background: #1e2030;
|
||||||
|
}
|
||||||
|
.macchiato .ace_gutter-active-line.ace_gutter-cell {
|
||||||
|
color: #f5bde6;
|
||||||
|
background: #1e2030;
|
||||||
|
}
|
||||||
|
.macchiato .tooltiptext {
|
||||||
|
background: #1e2030;
|
||||||
|
color: #cad3f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mocha.hljs {
|
||||||
|
color: #cdd6f4;
|
||||||
|
background: #1e1e2e;
|
||||||
|
}
|
||||||
|
.mocha .hljs-keyword {
|
||||||
|
color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-built_in {
|
||||||
|
color: #f38ba8;
|
||||||
|
}
|
||||||
|
.mocha .hljs-type {
|
||||||
|
color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha .hljs-literal {
|
||||||
|
color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha .hljs-number {
|
||||||
|
color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha .hljs-operator {
|
||||||
|
color: #89dceb;
|
||||||
|
}
|
||||||
|
.mocha .hljs-punctuation {
|
||||||
|
color: #bac2de;
|
||||||
|
}
|
||||||
|
.mocha .hljs-property {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-regexp {
|
||||||
|
color: #f5c2e7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-string {
|
||||||
|
color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha .hljs-char.escape_ {
|
||||||
|
color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha .hljs-subst {
|
||||||
|
color: #a6adc8;
|
||||||
|
}
|
||||||
|
.mocha .hljs-symbol {
|
||||||
|
color: #f2cdcd;
|
||||||
|
}
|
||||||
|
.mocha .hljs-variable {
|
||||||
|
color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-variable.language_ {
|
||||||
|
color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-variable.constant_ {
|
||||||
|
color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha .hljs-title {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .hljs-title.class_ {
|
||||||
|
color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha .hljs-title.function_ {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .hljs-params {
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
.mocha .hljs-comment {
|
||||||
|
color: #9399b2;
|
||||||
|
}
|
||||||
|
.mocha .hljs-doctag {
|
||||||
|
color: #f38ba8;
|
||||||
|
}
|
||||||
|
.mocha .hljs-meta {
|
||||||
|
color: #fab387;
|
||||||
|
}
|
||||||
|
.mocha .hljs-section {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .hljs-tag {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-name {
|
||||||
|
color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-attr {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .hljs-attribute {
|
||||||
|
color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha .hljs-bullet {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-code {
|
||||||
|
color: #a6e3a1;
|
||||||
|
}
|
||||||
|
.mocha .hljs-emphasis {
|
||||||
|
color: #f38ba8;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.mocha .hljs-strong {
|
||||||
|
color: #f38ba8;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.mocha .hljs-formula {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-link {
|
||||||
|
color: #74c7ec;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.mocha .hljs-quote {
|
||||||
|
color: #a6e3a1;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.mocha .hljs-selector-tag {
|
||||||
|
color: #f9e2af;
|
||||||
|
}
|
||||||
|
.mocha .hljs-selector-id {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha .hljs-selector-class {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-selector-attr {
|
||||||
|
color: #cba6f7;
|
||||||
|
}
|
||||||
|
.mocha .hljs-selector-pseudo {
|
||||||
|
color: #94e2d5;
|
||||||
|
}
|
||||||
|
.mocha .hljs-template-tag {
|
||||||
|
color: #f2cdcd;
|
||||||
|
}
|
||||||
|
.mocha .hljs-template-variable {
|
||||||
|
color: #f2cdcd;
|
||||||
|
}
|
||||||
|
.mocha .hljs-addition {
|
||||||
|
color: #a6e3a1;
|
||||||
|
background: rgba(166, 227, 161, 0.15);
|
||||||
|
}
|
||||||
|
.mocha .hljs-deletion {
|
||||||
|
color: #f38ba8;
|
||||||
|
background: rgba(243, 139, 168, 0.15);
|
||||||
|
}
|
||||||
|
.mocha :is(h1, h2, h3, h4, h5, h6) a code {
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
.mocha a code {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
.mocha code {
|
||||||
|
color: #cdd6f4;
|
||||||
|
background: #181825;
|
||||||
|
}
|
||||||
|
.mocha blockquote blockquote {
|
||||||
|
border-top: 0.1em solid #585b70;
|
||||||
|
border-bottom: 0.1em solid #585b70;
|
||||||
|
}
|
||||||
|
.mocha hr {
|
||||||
|
border-color: #585b70;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.mocha del {
|
||||||
|
color: #9399b2;
|
||||||
|
}
|
||||||
|
.mocha .ace_gutter {
|
||||||
|
color: #7f849c;
|
||||||
|
background: #181825;
|
||||||
|
}
|
||||||
|
.mocha .ace_gutter-active-line.ace_gutter-cell {
|
||||||
|
color: #f5c2e7;
|
||||||
|
background: #181825;
|
||||||
|
}
|
||||||
|
.mocha .tooltiptext {
|
||||||
|
background: #181825;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.latte {
|
||||||
|
--bg: #eff1f5;
|
||||||
|
--fg: #4c4f69;
|
||||||
|
--sidebar-bg: #e6e9ef;
|
||||||
|
--sidebar-fg: #4c4f69;
|
||||||
|
--sidebar-non-existant: #9ca0b0;
|
||||||
|
--sidebar-active: #1e66f5;
|
||||||
|
--sidebar-spacer: #9ca0b0;
|
||||||
|
--scrollbar: #9ca0b0;
|
||||||
|
--icons: #9ca0b0;
|
||||||
|
--icons-hover: #7c7f93;
|
||||||
|
--links: #1e66f5;
|
||||||
|
--inline-code-color: #4c4f69;
|
||||||
|
--theme-popup-bg: #e6e9ef;
|
||||||
|
--theme-popup-border: #9ca0b0;
|
||||||
|
--theme-hover: #ccd0da;
|
||||||
|
--quote-bg: #e6e9ef;
|
||||||
|
--quote-border: #dce0e8;
|
||||||
|
--table-border-color: #ccd0da;
|
||||||
|
--table-header-bg: #e6e9ef;
|
||||||
|
--table-alternate-bg: #e6e9ef;
|
||||||
|
--searchbar-border-color: #ccd0da;
|
||||||
|
--searchbar-bg: #e6e9ef;
|
||||||
|
--searchbar-fg: #4c4f69;
|
||||||
|
--searchbar-shadow-color: #dce0e8;
|
||||||
|
--searchresults-header-fg: #4c4f69;
|
||||||
|
--searchresults-border-color: #ccd0da;
|
||||||
|
--searchresults-li-bg: #eff1f5;
|
||||||
|
--search-mark-bg: #fe640b;
|
||||||
|
--warning-border: #fe640b;
|
||||||
|
--color-scheme: light;
|
||||||
|
--copy-button-filter: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%);
|
||||||
|
--copy-button-filter-hover: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.frappe {
|
||||||
|
--bg: #303446;
|
||||||
|
--fg: #c6d0f5;
|
||||||
|
--sidebar-bg: #292c3c;
|
||||||
|
--sidebar-fg: #c6d0f5;
|
||||||
|
--sidebar-non-existant: #737994;
|
||||||
|
--sidebar-active: #8caaee;
|
||||||
|
--sidebar-spacer: #737994;
|
||||||
|
--scrollbar: #737994;
|
||||||
|
--icons: #737994;
|
||||||
|
--icons-hover: #949cbb;
|
||||||
|
--links: #8caaee;
|
||||||
|
--inline-code-color: #c6d0f5;
|
||||||
|
--theme-popup-bg: #292c3c;
|
||||||
|
--theme-popup-border: #737994;
|
||||||
|
--theme-hover: #414559;
|
||||||
|
--quote-bg: #292c3c;
|
||||||
|
--quote-border: #232634;
|
||||||
|
--table-border-color: #414559;
|
||||||
|
--table-header-bg: #292c3c;
|
||||||
|
--table-alternate-bg: #292c3c;
|
||||||
|
--searchbar-border-color: #414559;
|
||||||
|
--searchbar-bg: #292c3c;
|
||||||
|
--searchbar-fg: #c6d0f5;
|
||||||
|
--searchbar-shadow-color: #232634;
|
||||||
|
--searchresults-header-fg: #c6d0f5;
|
||||||
|
--searchresults-border-color: #414559;
|
||||||
|
--searchresults-li-bg: #303446;
|
||||||
|
--search-mark-bg: #ef9f76;
|
||||||
|
--warning-border: #ef9f76;
|
||||||
|
--color-scheme: dark;
|
||||||
|
--copy-button-filter: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%);
|
||||||
|
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.macchiato {
|
||||||
|
--bg: #24273a;
|
||||||
|
--fg: #cad3f5;
|
||||||
|
--sidebar-bg: #1e2030;
|
||||||
|
--sidebar-fg: #cad3f5;
|
||||||
|
--sidebar-non-existant: #6e738d;
|
||||||
|
--sidebar-active: #8aadf4;
|
||||||
|
--sidebar-spacer: #6e738d;
|
||||||
|
--scrollbar: #6e738d;
|
||||||
|
--icons: #6e738d;
|
||||||
|
--icons-hover: #939ab7;
|
||||||
|
--links: #8aadf4;
|
||||||
|
--inline-code-color: #cad3f5;
|
||||||
|
--theme-popup-bg: #1e2030;
|
||||||
|
--theme-popup-border: #6e738d;
|
||||||
|
--theme-hover: #363a4f;
|
||||||
|
--quote-bg: #1e2030;
|
||||||
|
--quote-border: #181926;
|
||||||
|
--table-border-color: #363a4f;
|
||||||
|
--table-header-bg: #1e2030;
|
||||||
|
--table-alternate-bg: #1e2030;
|
||||||
|
--searchbar-border-color: #363a4f;
|
||||||
|
--searchbar-bg: #1e2030;
|
||||||
|
--searchbar-fg: #cad3f5;
|
||||||
|
--searchbar-shadow-color: #181926;
|
||||||
|
--searchresults-header-fg: #cad3f5;
|
||||||
|
--searchresults-border-color: #363a4f;
|
||||||
|
--searchresults-li-bg: #24273a;
|
||||||
|
--search-mark-bg: #f5a97f;
|
||||||
|
--warning-border: #f5a97f;
|
||||||
|
--color-scheme: dark;
|
||||||
|
--copy-button-filter: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%);
|
||||||
|
--copy-button-filter-hover: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mocha {
|
||||||
|
--bg: #1e1e2e;
|
||||||
|
--fg: #cdd6f4;
|
||||||
|
--sidebar-bg: #181825;
|
||||||
|
--sidebar-fg: #cdd6f4;
|
||||||
|
--sidebar-non-existant: #6c7086;
|
||||||
|
--sidebar-active: #89b4fa;
|
||||||
|
--sidebar-spacer: #6c7086;
|
||||||
|
--scrollbar: #6c7086;
|
||||||
|
--icons: #6c7086;
|
||||||
|
--icons-hover: #9399b2;
|
||||||
|
--links: #89b4fa;
|
||||||
|
--inline-code-color: #cdd6f4;
|
||||||
|
--theme-popup-bg: #181825;
|
||||||
|
--theme-popup-border: #6c7086;
|
||||||
|
--theme-hover: #313244;
|
||||||
|
--quote-bg: #181825;
|
||||||
|
--quote-border: #11111b;
|
||||||
|
--table-border-color: #313244;
|
||||||
|
--table-header-bg: #181825;
|
||||||
|
--table-alternate-bg: #181825;
|
||||||
|
--searchbar-border-color: #313244;
|
||||||
|
--searchbar-bg: #181825;
|
||||||
|
--searchbar-fg: #cdd6f4;
|
||||||
|
--searchbar-shadow-color: #11111b;
|
||||||
|
--searchresults-header-fg: #cdd6f4;
|
||||||
|
--searchresults-border-color: #313244;
|
||||||
|
--searchresults-li-bg: #1e1e2e;
|
||||||
|
--search-mark-bg: #fab387;
|
||||||
|
--warning-border: #fab387;
|
||||||
|
--color-scheme: dark;
|
||||||
|
--copy-button-filter: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%);
|
||||||
|
--copy-button-filter-hover: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%);
|
||||||
|
}
|
||||||
345
theme/index.hbs
Normal file
345
theme/index.hbs
Normal file
|
|
@ -0,0 +1,345 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="{{ language }}" class="{{ default_theme }} sidebar-visible" dir="{{ text_direction }}">
|
||||||
|
<head>
|
||||||
|
<!-- Book generated using mdBook -->
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>{{ title }}</title>
|
||||||
|
{{#if is_print }}
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
|
{{/if}}
|
||||||
|
{{#if base_url}}
|
||||||
|
<base href="{{ base_url }}">
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Custom HTML head -->
|
||||||
|
{{> head}}
|
||||||
|
|
||||||
|
<meta name="description" content="{{ description }}">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
|
{{#if favicon_svg}}
|
||||||
|
<link rel="icon" href="{{ resource "favicon.svg" }}">
|
||||||
|
{{/if}}
|
||||||
|
{{#if favicon_png}}
|
||||||
|
<link rel="shortcut icon" href="{{ resource "favicon.png" }}">
|
||||||
|
{{/if}}
|
||||||
|
<link rel="stylesheet" href="{{ resource "css/variables.css" }}">
|
||||||
|
<link rel="stylesheet" href="{{ resource "css/general.css" }}">
|
||||||
|
<link rel="stylesheet" href="{{ resource "css/chrome.css" }}">
|
||||||
|
{{#if print_enable}}
|
||||||
|
<link rel="stylesheet" href="{{ resource "css/print.css" }}" media="print">
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<!-- Fonts -->
|
||||||
|
<link rel="stylesheet" href="{{ resource "FontAwesome/css/font-awesome.css" }}">
|
||||||
|
{{#if copy_fonts}}
|
||||||
|
<link rel="stylesheet" href="{{ resource "fonts/fonts.css" }}">
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<!-- Highlight.js Stylesheets -->
|
||||||
|
<link rel="stylesheet" id="highlight-css" href="{{ resource "highlight.css" }}">
|
||||||
|
<link rel="stylesheet" id="tomorrow-night-css" href="{{ resource "tomorrow-night.css" }}">
|
||||||
|
<link rel="stylesheet" id="ayu-highlight-css" href="{{ resource "ayu-highlight.css" }}">
|
||||||
|
|
||||||
|
<!-- Custom theme stylesheets -->
|
||||||
|
{{#each additional_css}}
|
||||||
|
<link rel="stylesheet" href="{{ resource this }}">
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
{{#if mathjax_support}}
|
||||||
|
<!-- MathJax -->
|
||||||
|
<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<!-- Provide site root and default themes to javascript -->
|
||||||
|
<script>
|
||||||
|
const path_to_root = "{{ path_to_root }}";
|
||||||
|
const default_light_theme = "{{ default_theme }}";
|
||||||
|
const default_dark_theme = "{{ preferred_dark_theme }}";
|
||||||
|
</script>
|
||||||
|
<!-- Start loading toc.js asap -->
|
||||||
|
<script src="{{ resource "toc.js" }}"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="mdbook-help-container">
|
||||||
|
<div id="mdbook-help-popup">
|
||||||
|
<h2 class="mdbook-help-title">Keyboard shortcuts</h2>
|
||||||
|
<div>
|
||||||
|
<p>Press <kbd>←</kbd> or <kbd>→</kbd> to navigate between chapters</p>
|
||||||
|
{{#if search_enabled}}
|
||||||
|
<p>Press <kbd>S</kbd> or <kbd>/</kbd> to search in the book</p>
|
||||||
|
{{/if}}
|
||||||
|
<p>Press <kbd>?</kbd> to show this help</p>
|
||||||
|
<p>Press <kbd>Esc</kbd> to hide this help</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="body-container">
|
||||||
|
<!-- Work around some values being stored in localStorage wrapped in quotes -->
|
||||||
|
<script>
|
||||||
|
try {
|
||||||
|
let theme = localStorage.getItem('mdbook-theme');
|
||||||
|
let sidebar = localStorage.getItem('mdbook-sidebar');
|
||||||
|
|
||||||
|
if (theme.startsWith('"') && theme.endsWith('"')) {
|
||||||
|
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
|
||||||
|
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
|
||||||
|
}
|
||||||
|
} catch (e) { }
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Set the theme before any content is loaded, prevents flash -->
|
||||||
|
<script>
|
||||||
|
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
|
||||||
|
let theme;
|
||||||
|
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
|
||||||
|
if (theme === null || theme === undefined) { theme = default_theme; }
|
||||||
|
const html = document.documentElement;
|
||||||
|
html.classList.remove('{{ default_theme }}')
|
||||||
|
html.classList.add(theme);
|
||||||
|
html.classList.add("js");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
|
||||||
|
|
||||||
|
<!-- Hide / unhide sidebar before it is displayed -->
|
||||||
|
<script>
|
||||||
|
let sidebar = null;
|
||||||
|
const sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
|
||||||
|
if (document.body.clientWidth >= 1080) {
|
||||||
|
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
|
||||||
|
sidebar = sidebar || 'visible';
|
||||||
|
} else {
|
||||||
|
sidebar = 'hidden';
|
||||||
|
}
|
||||||
|
sidebar_toggle.checked = sidebar === 'visible';
|
||||||
|
html.classList.remove('sidebar-visible');
|
||||||
|
html.classList.add("sidebar-" + sidebar);
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
||||||
|
<!-- populated by js -->
|
||||||
|
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
|
||||||
|
<noscript>
|
||||||
|
<iframe class="sidebar-iframe-outer" src="{{ path_to_root }}toc.html"></iframe>
|
||||||
|
</noscript>
|
||||||
|
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
|
||||||
|
<div class="sidebar-resize-indicator"></div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div id="page-wrapper" class="page-wrapper">
|
||||||
|
|
||||||
|
<div class="page">
|
||||||
|
{{> header}}
|
||||||
|
<div id="menu-bar-hover-placeholder"></div>
|
||||||
|
<div id="menu-bar" class="menu-bar sticky">
|
||||||
|
<div class="left-buttons">
|
||||||
|
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
|
||||||
|
<i class="fa fa-paint-brush"></i>
|
||||||
|
</button>
|
||||||
|
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="default_theme">Auto</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="latte">Latte</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="frappe">Frappé</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="macchiato">Macchiato</button></li>
|
||||||
|
<li role="none"><button role="menuitem" class="theme" id="mocha">Mocha</button></li>
|
||||||
|
</ul>
|
||||||
|
{{#if search_enabled}}
|
||||||
|
<button id="search-toggle" class="icon-button" type="button" title="Search (`/`)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="/ s" aria-controls="searchbar">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="menu-title">{{ book_title }}</h1>
|
||||||
|
|
||||||
|
<div class="right-buttons">
|
||||||
|
{{#if print_enable}}
|
||||||
|
<a href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">
|
||||||
|
<i id="print-button" class="fa fa-print"></i>
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
{{#if git_repository_url}}
|
||||||
|
<a href="{{git_repository_url}}" title="Git repository" aria-label="Git repository">
|
||||||
|
<i id="git-repository-button" class="fa {{git_repository_icon}}"></i>
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
{{#if git_repository_edit_url}}
|
||||||
|
<a href="{{git_repository_edit_url}}" title="Suggest an edit" aria-label="Suggest an edit">
|
||||||
|
<i id="git-edit-button" class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{#if search_enabled}}
|
||||||
|
<div id="search-wrapper" class="hidden">
|
||||||
|
<form id="searchbar-outer" class="searchbar-outer">
|
||||||
|
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
|
||||||
|
</form>
|
||||||
|
<div id="searchresults-outer" class="searchresults-outer hidden">
|
||||||
|
<div id="searchresults-header" class="searchresults-header"></div>
|
||||||
|
<ul id="searchresults">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
|
||||||
|
<script>
|
||||||
|
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
|
||||||
|
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
|
||||||
|
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
|
||||||
|
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="content" class="content">
|
||||||
|
<main>
|
||||||
|
{{{ content }}}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<nav class="nav-wrapper" aria-label="Page navigation">
|
||||||
|
<!-- Mobile navigation buttons -->
|
||||||
|
{{#previous}}
|
||||||
|
<a rel="prev" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
||||||
|
<i class="fa fa-angle-left"></i>
|
||||||
|
</a>
|
||||||
|
{{/previous}}
|
||||||
|
|
||||||
|
{{#next}}
|
||||||
|
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
||||||
|
<i class="fa fa-angle-right"></i>
|
||||||
|
</a>
|
||||||
|
{{/next}}
|
||||||
|
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<nav class="nav-wide-wrapper" aria-label="Page navigation">
|
||||||
|
{{#previous}}
|
||||||
|
<a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
||||||
|
<i class="fa fa-angle-left"></i>
|
||||||
|
</a>
|
||||||
|
{{/previous}}
|
||||||
|
|
||||||
|
{{#next}}
|
||||||
|
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
||||||
|
<i class="fa fa-angle-right"></i>
|
||||||
|
</a>
|
||||||
|
{{/next}}
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{#if live_reload_endpoint}}
|
||||||
|
<!-- Livereload script (if served using the cli tool) -->
|
||||||
|
<script>
|
||||||
|
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
|
||||||
|
const wsAddress = wsProtocol + "//" + location.host + "/" + "{{{live_reload_endpoint}}}";
|
||||||
|
const socket = new WebSocket(wsAddress);
|
||||||
|
socket.onmessage = function (event) {
|
||||||
|
if (event.data === "reload") {
|
||||||
|
socket.close();
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.onbeforeunload = function() {
|
||||||
|
socket.close();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if google_analytics}}
|
||||||
|
<!-- Google Analytics Tag -->
|
||||||
|
<script>
|
||||||
|
const localAddrs = ["localhost", "127.0.0.1", ""];
|
||||||
|
|
||||||
|
// make sure we don't activate google analytics if the developer is
|
||||||
|
// inspecting the book locally...
|
||||||
|
if (localAddrs.indexOf(document.location.hostname) === -1) {
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', '{{google_analytics}}', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if playground_line_numbers}}
|
||||||
|
<script>
|
||||||
|
window.playground_line_numbers = true;
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if playground_copyable}}
|
||||||
|
<script>
|
||||||
|
window.playground_copyable = true;
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if playground_js}}
|
||||||
|
<script src="{{ resource "ace.js" }}"></script>
|
||||||
|
<script src="{{ resource "mode-rust.js" }}"></script>
|
||||||
|
<script src="{{ resource "editor.js" }}"></script>
|
||||||
|
<script src="{{ resource "theme-dawn.js" }}"></script>
|
||||||
|
<script src="{{ resource "theme-tomorrow_night.js" }}"></script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if search_js}}
|
||||||
|
<script src="{{ resource "elasticlunr.min.js" }}"></script>
|
||||||
|
<script src="{{ resource "mark.min.js" }}"></script>
|
||||||
|
<script src="{{ resource "searcher.js" }}"></script>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<script src="{{ resource "clipboard.min.js" }}"></script>
|
||||||
|
<script src="{{ resource "highlight.js" }}"></script>
|
||||||
|
<script src="{{ resource "book.js" }}"></script>
|
||||||
|
|
||||||
|
<!-- Custom JS scripts -->
|
||||||
|
{{#each additional_js}}
|
||||||
|
<script src="{{ resource this}}"></script>
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
{{#if is_print}}
|
||||||
|
{{#if mathjax_support}}
|
||||||
|
<script>
|
||||||
|
window.addEventListener('load', function() {
|
||||||
|
MathJax.Hub.Register.StartupHook('End', function() {
|
||||||
|
window.setTimeout(window.print, 100);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{{else}}
|
||||||
|
<script>
|
||||||
|
window.addEventListener('load', function() {
|
||||||
|
window.setTimeout(window.print, 100);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue