summaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css14
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;