This commit is contained in:
xaoxuu 2021-07-08 20:23:27 +08:00
parent cb7eec2268
commit 3e94801bc5
3 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,6 @@ function layoutTitle(main, url, sub) {
el += '<div class="main">' + main + '</div>'; el += '<div class="main">' + main + '</div>';
if (sub) { if (sub) {
let arr = sub.split('|'); let arr = sub.split('|');
console.log(arr);
if (arr.length > 1) { if (arr.length > 1) {
el += '<div class="sub normal cap">' + arr[0].trim() + '</div>'; el += '<div class="sub normal cap">' + arr[0].trim() + '</div>';
el += '<div class="sub hover cap" style="opacity:0">' + arr[1].trim() + '</div>'; el += '<div class="sub hover cap" style="opacity:0">' + arr[1].trim() + '</div>';

View File

@ -14,3 +14,7 @@
margin-bottom: 0.5rem margin-bottom: 0.5rem
div.body div.body
inside-box: $fs-14 inside-box: $fs-14
.md div.note:not([color])
.highlight
background: var(--block-hover)

View File

@ -72,3 +72,5 @@ $tbr = $border-block
border-radius: 0 border-radius: 0
background: transparent background: transparent
margin: 0 margin: 0
.code:before
content: none