diff --git a/public/css/tailwind.css b/public/css/tailwind.css index 1252f28..7a3003f 100644 --- a/public/css/tailwind.css +++ b/public/css/tailwind.css @@ -2355,7 +2355,7 @@ h4 { font-family: Victor Mono, sans-serif; } -span.token { +pre code[class*="language-"] { font-family: Victor Mono, sans-serif; } @@ -3072,6 +3072,7 @@ code > .copy-content { padding: 0.25rem; padding-left: 0.75rem; padding-right: 0.75rem; + font-family: Victor Mono, sans-serif; } .mermaid:not([data-processed="true"]) { diff --git a/public/css/tailwind.input.css b/public/css/tailwind.input.css index ab5b565..6cc55fc 100644 --- a/public/css/tailwind.input.css +++ b/public/css/tailwind.input.css @@ -27,7 +27,7 @@ @apply font-victor-mono; } -span.token { +pre code[class*="language-"] { @apply font-victor-mono; } @@ -81,7 +81,7 @@ code > .copy-content { #lesson-content { @apply prose prose-slate max-w-none dark:prose-invert prose-pre:bg-transparent prose-pre:p-0; @apply prose-img:mx-auto prose-hr:my-4 lg:mx-auto prose-headings:text-primary-800 prose-headings:font-bold; - @apply [&_pre:has(code)]:bg-slate-900 [&_pre:has(code)]:p-1 [&_pre:has(code)]:px-3 [&_pre:has(code)]:relative; + @apply [&_pre:has(code)]:bg-slate-900 [&_pre:has(code)]:p-1 [&_pre:has(code)]:px-3 [&_pre:has(code)]:relative [&_pre:has(code)]:font-victor-mono; } .mermaid:not([data-processed="true"]) {