Enable syntax higlight

This commit is contained in:
infidel
2023-12-30 04:13:42 +07:00
parent 5c61b68ff7
commit 7099d4d4ee
6 changed files with 41 additions and 196 deletions

5
assets/css/prism.css Normal file

File diff suppressed because one or more lines are too long

View File

@@ -20,7 +20,7 @@
html {
font-size: calc(1em + 0.25vw);
font-family: Didact Gothic, Arial, Helvetica Neue, sans-serif;
line-height: 1.6;
line-height: 1.2;
color: rgb(255, 255, 255);
opacity: .85;
background-color: #39424E;
@@ -641,7 +641,6 @@ figcaption::before {
/* Code blocks */
pre[class*=language-] {
background: none;
margin-top: 2.25rem;
margin-bottom: 0;
overflow-y: hidden;
@@ -1128,8 +1127,8 @@ h1 svg {
main p {
display: block;
margin-bottom: 1em;
line-height: 1.6;
letter-spacing: 1.3px;
line-height: 1.5;
letter-spacing: .2px;
opacity: 0.8;
}