Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commitcbec38336236d9d14e1a95db7f0f8c8e5078a9a6 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-06-29 14:36:24 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-06-29 14:36:24 +0300
Files74482d255e58de58ac0c5d11c47165e970cf5272 /src/styles.css
syndamia.com-cbec38336236d9d14e1a95db7f0f8c8e5078a9a6.tar
syndamia.com-cbec38336236d9d14e1a95db7f0f8c8e5078a9a6.tar.gz
syndamia.com-cbec38336236d9d14e1a95db7f0f8c8e5078a9a6.zip
Parentfaa1a0ae36f1dfdbbaeb62ac11161cca43742bf1 (diff)
[styles] Fixed pre and code font size being too big
1 files changed, 2 insertions, 1 deletions
-rw-r--r--src/styles.css3
diff --git a/src/styles.css b/src/styles.css
index 698f76c..04425e0 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -198,6 +198,7 @@ h1, h2, h3, h4, h5, h6 {
code, pre {
background-color: var(--pre-bg-color);
font-family: monospace;
+ font-size: 85%;
}
pre {
overflow: auto;
@@ -207,12 +208,12 @@ code, pre {
}
code {
margin: 0;
- font-size: 85%;
padding: 0 0.4em;
}
pre code {
border: 0;
display: inline-block;
+ font-size: 100%;
overflow: visible;
padding: 0;
word-wrap: normal;