From dc73286b7c6897c5d79e70f9488259cdf53b73d1 Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 4 Apr 2022 20:04:18 -0500 Subject: [PATCH] Prevent wrapping on overflowing inline code blocks + Small change to code highlighting theme (preprocessing directives like parentheses?) --- _sass/main.scss | 1 + _sass/rouge.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_sass/main.scss b/_sass/main.scss index e613427..ebe85c1 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -123,6 +123,7 @@ code { border-radius: 3px; background-color: rgb(0, 0, 0); padding: 0.15em 0.34em; + white-space: nowrap; } pre { diff --git a/_sass/rouge.scss b/_sass/rouge.scss index a322e90..cfadfcc 100644 --- a/_sass/rouge.scss +++ b/_sass/rouge.scss @@ -8,7 +8,7 @@ .highlight .o { color: #f92672 } /* Operator */ .highlight .p { color: #f8f8f2 } /* Punctuation */ .highlight .cm { color: #75715e } /* Comment.Multiline */ -.highlight .cp { color: #75715e } /* Comment.Preproc */ +.highlight .cp { color: #858379 } /* Comment.Preproc */ .highlight .c1 { color: #75715e } /* Comment.Single */ .highlight .cs { color: #75715e } /* Comment.Special */ .highlight .ge { font-style: italic } /* Generic.Emph */