aboutsummaryrefslogtreecommitdiffhomepage
path: root/static
diff options
context:
space:
mode:
authorwinter2025-02-14 17:56:45 +0000
committerwinter2025-02-14 17:56:58 +0000
commit45ac20c7a4d632bbb23aaba50c2d79ac5ebac465 (patch)
treeeb72692648bdf6c6e78d0334d96342dc79ce728d /static
parent42e38069e28f84af921b4ea877dc84b4de02c3fe (diff)
implement formatted note contents (html and commonmark)
Diffstat (limited to 'static')
-rw-r--r--static/note.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/static/note.css b/static/note.css
index bc1e2ec..bc9b2d8 100644
--- a/static/note.css
+++ b/static/note.css
@@ -76,6 +76,30 @@ article.note {
.selected & {
font-size: var(--font-big-size);
}
+
+ p {
+ margin: 0 0 0.4lh 0;
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ h1 {
+ margin: 0.2lh 0 0.2lh 0;
+ font-size: var(--font-big-size);
+ }
+ h2,
+ h3,
+ h4,
+ h5,
+ h6 {
+ margin: 0.1lh 0 0.2lh 0;
+ font-size: var(--font-normal-size);
+ }
+
+ img {
+ max-height: 8lh;
+ }
}
.infoLine {