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
+26 -2
View File
@@ -374,11 +374,22 @@ sb-admonition-warning .sb-admonition-icon {
color: rgb(255, 145, 0);
}
// Frontmatter
.sb-frontmatter {
background-color: rgba(255, 246, 189, 0.5);
color: #676767;
}
.sb-frontmatter-marker {
color: #890000;
float: right;
font-size: 80%;
padding-right: 7px;
opacity: 0.25;
}
// Directives
@@ -416,7 +427,9 @@ sb-admonition-warning .sb-admonition-icon {
.sb-directive-placeholder {
color: var(--directive-font-color) !important;
opacity: 0.25;
padding-left: 5ch;
padding-right: 7px;
float: right;
font-size: 80%;
}
* {
@@ -430,7 +443,9 @@ sb-admonition-warning .sb-admonition-icon {
.sb-directive-placeholder {
color: var(--directive-font-color) !important;
opacity: 0.25;
padding-left: 5ch;
padding-right: 7px;
font-size: 80%;
float: right;
}
* {
@@ -446,6 +461,15 @@ sb-admonition-warning .sb-admonition-icon {
font-weight: 900;
}
.sb-line-code-outside .sb-code-info {
display: block;
float: right;
color: #000;
opacity: .25;
font-size: 90%;
padding-right: 7px;
}
.sb-link {
cursor: pointer;
}