Reduce vertical jump for other blocks

This commit is contained in:
Zef Hemel
2022-12-19 12:35:58 +01:00
parent d032672076
commit bb04f30470
6 changed files with 79 additions and 51 deletions
+35 -26
View File
@@ -118,31 +118,39 @@
}
.cm-list-bullet {
position: relative;
visibility: hidden;
}
.cm-task-checked {
text-decoration: line-through !important;
position: relative;
visibility: hidden;
}
.sb-checkbox > input[type=checkbox] {
.cm-task-checked {
text-decoration: line-through !important;
}
.sb-checkbox>input[type=checkbox] {
width: 3ch;
}
.cm-list-bullet::after {
visibility: visible;
position: absolute;
.cm-list-bullet::after {
visibility: visible;
position: absolute;
color: rgb(150, 150, 150);
content: "\2022"; /* U+2022 BULLET */
}
content: "\2022";
/* U+2022 BULLET */
}
.sb-directive-start .sb-comment, .sb-directive-end .sb-comment {
.sb-directive-start .sb-comment,
.sb-directive-end .sb-comment {
position: relative;
left: -12px;
}
.sb-line-frontmatter-outside, .sb-line-code-outside {
display: none;
.sb-line-frontmatter-outside,
.sb-line-code-outside {
.sb-meta {
color: transparent;
}
color: transparent;
}
.sb-blockquote-outside {
@@ -163,19 +171,20 @@
width: 100%;
border-spacing: 0;
}
thead tr {
background-color: #333;
color: #eee;
font-weight: bold;
background-color: #333;
color: #eee;
font-weight: bold;
}
th, td {
padding: 8px;
th,
td {
padding: 8px;
}
tbody tr:nth-of-type(even) {
background-color: #f3f3f3;
background-color: #f3f3f3;
}
}
@@ -183,13 +192,13 @@
border-left: 1px solid rgb(74, 74, 74);
}
.sb-line-blockquote.sb-line-ul.sb-line-li > .sb-quote.sb-meta:first-child {
.sb-line-blockquote.sb-line-ul.sb-line-li>.sb-quote.sb-meta:first-child {
margin-left: -1ch;
}
}
.cm-scroller {
// Give some breathing space at the bottom of the screen
padding-bottom: 20em;
}
}