Ajoute admonish travail + module private pour cacher les corrections

This commit is contained in:
Alexis Fourmaux 2025-07-18 20:34:56 +02:00
parent 889358a091
commit 1a002a780c
5 changed files with 89 additions and 1 deletions

View file

@ -361,3 +361,46 @@
.mocha :is(.admonish-cite, .admonish-quote) > :is(.admonition-title, summary.admonition-title)::before {
background-color: #f5c2e7;
}
/* Custom */
.macchiato :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title) {
background-color: rgb(198, 160, 246, 0.2);
}
.macchiato :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title)::before {
background-color: #c6a0f6;
}
.macchiato :is(.admonition):is(.admonish-travail) {
border-color: #c6a0f6;
}
.mocha :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title) {
background-color: rgb(203, 166, 247, 0.2);
}
.mocha :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title)::before {
background-color: #cba6f7;
}
.mocha :is(.admonition):is(.admonish-travail) {
border-color: #cba6f7;
}
.latte :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title) {
background-color: rgb(136, 57, 239, 0.2);
}
.latte :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title)::before {
background-color: rgb(136, 57, 239);
}
.latte :is(.admonition):is(.admonish-travail) {
border-color: rgb(136, 57, 239);
}
.frappe :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title) {
background-color: rgb(202, 158, 230, 0.2);
}
.frappe :is(.admonish-travail) > :is(.admonition-title, summary.admonition-title)::before {
background-color: #ca9ee6;
}
.frappe :is(.admonition):is(.admonish-travail) {
border-color: #ca9ee6;
}

View file

@ -1,4 +1,13 @@
/* https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html */
:root{
--mono-font: "Ubuntu Mono", monospace;
}
html {
font-family: "Ubuntu", sans-serif;
}
.latte.hljs {
color: #4c4f69;
background: #eff1f5;

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M384 96l0 224L64 320 64 96l320 0zM64 32C28.7 32 0 60.7 0 96L0 320c0 35.3 28.7 64 64 64l117.3 0-10.7 32L96 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-74.7 0-10.7-32L384 384c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L64 32zm464 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0zm16 64l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm-16 80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm32 160a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>

After

Width:  |  Height:  |  Size: 829 B