style: hide line numbers, fix codeblock bg color
This commit is contained in:
parent
98c923b07b
commit
cd304aa09b
@ -241,7 +241,9 @@ article {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #1e1e1e;
|
background: #1e1e1e !important;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 0.9em !important;
|
||||||
|
|
||||||
code mark, code mark span {
|
code mark, code mark span {
|
||||||
background: #d8ba76 !important;
|
background: #d8ba76 !important;
|
||||||
|
@ -114,10 +114,10 @@ class UI {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let content = block.textContent;
|
/*let content = block.textContent;
|
||||||
if (content.trim().split("\n").length > 1) {
|
if (content.trim().split("\n").length > 1) {
|
||||||
block.parentElement.classList.add("line-numbers");
|
block.parentElement.classList.add("line-numbers");
|
||||||
}
|
}*/
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user