summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-07-14 14:25:18 +0300
committereug-vs <eug-vs@keemail.me>2021-07-14 14:25:18 +0300
commitcac1c55c6f1693cb16308a5ef5f1d481f15cf1c1 (patch)
tree540e6cc4217f1620f71b3b6b08b4fdb116e2d336 /style.css
parenta29f2137d4c727449f2d70e203156a54fa30912e (diff)
downloadeug-vs-xyz-cac1c55c6f1693cb16308a5ef5f1d481f15cf1c1.tar.gz
feat: add code-blocks styling
Diffstat (limited to 'style.css')
-rw-r--r--style.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/style.css b/style.css
index 00d7707..1a3ffc4 100644
--- a/style.css
+++ b/style.css
@@ -61,20 +61,22 @@ code {
font-size: 85%;
margin: 0;
padding: 4px;
- background: black;
+ background: #121212;
border-radius: 4px;
}
pre {
margin: 1em 0;
overflow: auto;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ padding: 8px 4px;
}
pre code {
- padding: 0;
overflow: visible;
}
.sourceCode {
- background-color: transparent;
- overflow: visible;
+ background-color: transparent;
+ overflow: visible;
+ border-radius: 4px;
}
hr {
background-color: #1a1a1a;