This commit is contained in:
lovasoa
2024-12-24 09:59:10 +01:00
parent ee9227bb28
commit fb43436091
2 changed files with 7 additions and 8 deletions
@@ -85,7 +85,7 @@
/* Token transition */
.hljs {
transition: .3s;
transition: 0.3s;
}
/* Code selection */
@@ -93,7 +93,7 @@ code::selection,
code ::selection {
background: var(--tblr-yellow);
color: var(--tblr-gray-900);
border-radius: .1em;
border-radius: 0.1em;
}
code .hljs-keyword::selection,
@@ -111,12 +111,12 @@ pre:has(code) {
max-height: 33vh; /* Limit height */
overflow: auto;
box-shadow: inset -10px -10px 30px #000000af; /* Inset shadow */
border-radius: .5rem;
border-radius: 0.5rem;
}
@media print {
pre:has(code) {
max-height: none !important;
box-shadow: none !important;
max-height: none !important;
box-shadow: none !important;
}
}
}
+1 -2
View File
@@ -91,7 +91,7 @@ code {
.article-text {
font-size: 1.2em;
line-height: 1.5em;
font-family: 'Times New Roman', serif;
font-family: "Times New Roman", serif;
max-width: 65ch;
margin: 1.5em auto;
}
@@ -100,4 +100,3 @@ code {
font-size: 1.2em;
font-weight: 500;
}