Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit93859c4c0cb2342804efd69ea37705b8c7d336cb (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-08-20 09:20:42 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-08-20 09:20:42 +0300
Files533de8821568df4984c4092dac3074114000b21f /src/styles.css
syndamia.com-93859c4c0cb2342804efd69ea37705b8c7d336cb.tar
syndamia.com-93859c4c0cb2342804efd69ea37705b8c7d336cb.tar.gz
syndamia.com-93859c4c0cb2342804efd69ea37705b8c7d336cb.zip
Parente1aad818e9de8afe60c6d11578f7f7d51f14e7d9 (diff)
feat(ext/global): Implement note block
1 files changed, 13 insertions, 0 deletions
-rw-r--r--src/styles.css13
diff --git a/src/styles.css b/src/styles.css
index 3edbab5..f592aff 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -249,6 +249,19 @@ article > #article-container > h1:first-child {
.question-par { border-left: 2px solid #4a85cb; }
.warn-par { border: 2px dashed #fac848; }
.important-par { border: 2px solid #f46062; }
+.note-par {
+ border: 2px solid #51ce93;
+ padding: 0.5rem 1rem;
+ background-color: var(--pre-bg-color);
+}
+.note-par > h1:first-of-type,
+.note-par > h2:first-of-type,
+.note-par > h3:first-of-type,
+.note-par > h4:first-of-type,
+.note-par > h5:first-of-type,
+.note-par > h6:first-of-type {
+ margin-top: 1rem;
+}
/*### Wrapper > Article > page-specific ###*/