From eb567ec6a36145d1c88b81a15d74ec16b2a559e2 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Fri, 16 Aug 2024 23:09:44 -0600 Subject: [chore] Dust off some outdated dependencies --- static/style.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 6495fe5..a5c57d1 100644 --- a/static/style.css +++ b/static/style.css @@ -163,7 +163,7 @@ p.post-date * { } [lang=jpn], [lang=jpn] * { font-size: 17px } -rt { font-size: 8px !important } +rt { margin: 0; font-size: 8px !important } .header-anchor { float: left; @@ -298,8 +298,9 @@ pre, pre * { pre code { display: block; margin: 0 auto; - padding: 0.8rem 1rem; - max-width: 33.6rem; + padding: 0.8rem 2rem; + max-width: 35.6rem; + min-width: fit-content; background: transparent; white-space: inherit; box-shadow: none; @@ -320,7 +321,7 @@ pre .code-line::before { width: 8rem; text-align: right; position: absolute; - margin-left: -9.8rem; + margin-left: -8.7rem; color: transparent; } @@ -335,11 +336,14 @@ pre .code-line::after { pre { margin: 1em -100%; /* old browsers fallback */ margin: 1rem calc(50% - 50vw); - padding: 0 2rem; background: #e6e6e6; overflow-x: auto; } +pre.hljs { + padding: 0 1rem; +} + kbd { background: #eee; margin: 0 .1rem; -- cgit v1.2.3-70-g09d2