css
This commit is contained in:
parent
cb7eec2268
commit
3e94801bc5
|
@ -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>';
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue