summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-09 13:02:13 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-09 13:02:13 +0300
commitc876987d3252417fd01b48ca98a1dd071b087962 (patch)
tree1321c0639d08f49e6de7364f044f8da02e2d2a78
parent4249f69b2d6a66c29182297b8ff7daa23f469fad (diff)
downloadeug-vs-xyz-c876987d3252417fd01b48ca98a1dd071b087962.tar.gz
feat: improve font in code tags
-rw-r--r--style.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/style.css b/style.css
index b8fa85a..1111602 100644
--- a/style.css
+++ b/style.css
@@ -56,10 +56,10 @@ blockquote {
font-style: italic;
}
code {
- font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
- font-size: 85%;
+ font-family: monospace;
+ font-size: 130%;
margin: 0;
- padding: 2px;
+ padding: 3px;
background: #1d2021;
border-radius: 4px;
}
@@ -79,6 +79,9 @@ pre code {
div.sourceCode {
border: 1px solid rgba(255, 255, 255, 0.12);
}
+code.sourceCode {
+ padding: 0;
+}
hr {
background-color: #1a1a1a;
border: none;