style: hide line numbers, fix codeblock bg color

This commit is contained in:
Oliver Booth 2024-04-30 22:58:35 +01:00
parent 98c923b07b
commit cd304aa09b
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
2 changed files with 5 additions and 3 deletions

View File

@ -241,7 +241,9 @@ article {
}
pre {
background: #1e1e1e;
background: #1e1e1e !important;
border-radius: 5px;
font-size: 0.9em !important;
code mark, code mark span {
background: #d8ba76 !important;

View File

@ -114,10 +114,10 @@ class UI {
return;
}
let content = block.textContent;
/*let content = block.textContent;
if (content.trim().split("\n").length > 1) {
block.parentElement.classList.add("line-numbers");
}
}*/
});
}