From 71254328d8932d789bb117df2a8ad0c614d50ada Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 28 Feb 2026 14:23:20 -0600 Subject: change colors for code and chroma hl --- assets/stylesheets/highlight.css | 2 +- assets/stylesheets/style.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'assets/stylesheets') diff --git a/assets/stylesheets/highlight.css b/assets/stylesheets/highlight.css index 5efc353..9ad96d3 100644 --- a/assets/stylesheets/highlight.css +++ b/assets/stylesheets/highlight.css @@ -6,7 +6,7 @@ /* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .chroma .hl { background-color: #3d3d3d } +/* LineHighlight */ .chroma .hl { background-color: #fdce181c } /* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #756d59 } /* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #756d59 } /* Line */ .chroma .line { display: flex; } diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css index b2489fc..7b300e8 100644 --- a/assets/stylesheets/style.css +++ b/assets/stylesheets/style.css @@ -95,6 +95,10 @@ a:hover { text-decoration: underline; } +code:not(.chroma code) { + color: #c9ffc9; +} + /* essays */ .essay { font-size: 1.15em; -- cgit v1.2.3