From 47e6983ad123b74fac228676bddf465e1226094b Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 2 Feb 2025 17:04:21 +1100 Subject: [PATCH] Jekyll is an ass. --- _includes/styles/custom.css | 12 +++++++++--- _includes/styles/toylang-syntax.css | 7 ------- 2 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 _includes/styles/toylang-syntax.css diff --git a/_includes/styles/custom.css b/_includes/styles/custom.css index 1100e66..be0bb7e 100644 --- a/_includes/styles/custom.css +++ b/_includes/styles/custom.css @@ -1,5 +1,3 @@ -@import "styles/toylang-syntax.css"; - @media only screen and (max-width: 768px) { .custom-mobile-hide { display: none !important; @@ -8,4 +6,12 @@ .ui.segment { overflow-x: unset; -} \ No newline at end of file +} + +/* copied from the main theme, fixes syntax highlighting */ +pre:has(> code.language-toy) { + line-height: 1.18em; + overflow-x: auto; + width: fit-content; + max-width: 100%; +} diff --git a/_includes/styles/toylang-syntax.css b/_includes/styles/toylang-syntax.css deleted file mode 100644 index 5b536f3..0000000 --- a/_includes/styles/toylang-syntax.css +++ /dev/null @@ -1,7 +0,0 @@ -/* copied from the main theme */ -pre:has(> code.language-toy) { - line-height: 1.18em; - overflow-x: auto; - width: fit-content; - max-width: 100%; -}