summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-08-11 11:01:14 +0200
committerache <ache@ache.one>2023-08-11 11:01:14 +0200
commitf47958d073af5e07af6a3e3be16a4a0db5cdb78a (patch)
treef59d73d87ee628cfa14b8cfa12c7d8802597e1a2 /src
parentImprove SEO: basis (diff)
Special box note
Diffstat (limited to 'src')
-rw-r--r--src/build/special_box.mjs1
-rw-r--r--src/css/_style.scss2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/build/special_box.mjs b/src/build/special_box.mjs
index 9321e66..1457a98 100644
--- a/src/build/special_box.mjs
+++ b/src/build/special_box.mjs
@@ -10,6 +10,7 @@ export default function specialBox() {
if (node.type === 'containerDirective' && (
node.name === 'attention'
|| node.name === 'question'
+ || node.name === 'note'
|| node.name === 'information')) {
const data = node.data || (node.data = {});
diff --git a/src/css/_style.scss b/src/css/_style.scss
index 35f0bfd..2630f72 100644
--- a/src/css/_style.scss
+++ b/src/css/_style.scss
@@ -48,7 +48,7 @@
}
@include box('information', #daeaee);
-@include box('comment', #eea);
+@include box('note', #bed2ff);
@include box('attention', #eee7da);
@include box('question', #e2daee);
@include box('good', #aea);