Undo frontmatter templates

This commit is contained in:
Zef Hemel
2024-01-08 09:21:19 +01:00
parent bfdc8383b1
commit 8230330ed0
4 changed files with 41 additions and 95 deletions
+1 -6
View File
@@ -172,8 +172,7 @@
color: var(--editor-heading-meta-color);
}
.sb-hashtag,
.sb-markdown-frontmatter-widget span.hashtag {
.sb-hashtag {
color: var(--editor-hashtag-color);
background-color: var(--editor-hashtag-background-color);
border: 1px solid var(--editor-hashtag-border-color);
@@ -314,10 +313,6 @@
color: var(--editor-frontmatter-color);
}
.sb-markdown-frontmatter-widget {
background-color: var(--editor-frontmatter-background-color);
}
.sb-frontmatter-marker {
color: var(--editor-frontmatter-marker-color);
}
+6 -24
View File
@@ -429,33 +429,9 @@
margin-top: 10px;
}
.sb-markdown-frontmatter-widget {
margin-bottom: -1.3ch;
padding: 8px;
.sb-banner {
position: absolute;
right: 5px;
bottom: 5px;
font-size: 80%;
color: var(--editor-frontmatter-marker-color);
}
span.hashtag {
border-radius: 6px;
padding: 0 3px;
margin: 0 1px 0 0;
font-size: 0.9em;
}
}
.sb-markdown-frontmatter-widget+.sb-frontmatter {
background-color: transparent;
color: transparent;
}
.sb-markdown-widget,
.sb-markdown-frontmatter-widget,
.sb-markdown-top-widget:has(*),
.sb-markdown-bottom-widget:has(*) {
overflow-y: auto;
@@ -579,6 +555,12 @@
padding-right: 8px;
}
.sb-frontmatter-marker {
float: right;
font-size: 80%;
padding-right: 7px;
}
.cm-scroller {
// Give some breathing space at the bottom of the screen
padding-bottom: 20em;