diff options
author | Alexis Hovorka <[email protected]> | 2024-08-16 23:09:44 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2024-08-16 23:09:44 -0600 |
commit | eb567ec6a36145d1c88b81a15d74ec16b2a559e2 (patch) | |
tree | 28573dacd9d5e5b174fa9b9d2d684d9b5c821193 /static | |
parent | c0c2a30ff1e9043f75ed49654ce24e43fd7e5b5c (diff) |
[chore] Dust off some outdated dependencies
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 14 |
1 files changed, 9 insertions, 5 deletions
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; |