summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-10-22 23:43:12 +0300
committereug-vs <eugene@eug-vs.xyz>2022-10-22 23:43:12 +0300
commit1a993df03be00d07afe7b010b8b1b5843824fdfb (patch)
tree0e5bcf47eda4b5eeb548389def4dd6431c0f05ef
parentb54de35742c9711d778ed0a216eb3a621ea4fc38 (diff)
downloadeug-vs-xyz-1a993df03be00d07afe7b010b8b1b5843824fdfb.tar.gz
feat: update stylesheet
-rw-r--r--src/public/style.css28
1 files changed, 3 insertions, 25 deletions
diff --git a/src/public/style.css b/src/public/style.css
index db40b6a..a92fb0b 100644
--- a/src/public/style.css
+++ b/src/public/style.css
@@ -66,7 +66,7 @@ blockquote {
color: rgba(255, 255, 255, 0.75);
font-style: italic;
}
-code {
+code:not(pre code) {
font-family: monospace;
font-size: 90%;
margin: 0;
@@ -75,25 +75,10 @@ code {
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.12);
}
-pre {
- margin: 1em 0;
- overflow: auto;
- padding: 16px 8px;
-}
-pre code {
- overflow: visible;
-}
-.sourceCode {
- background-color: transparent;
- overflow: visible;
+pre div {
border-radius: 4px;
-}
-div.sourceCode {
border: 1px solid rgba(255, 255, 255, 0.12);
-}
-code.sourceCode {
- padding: 0;
- border: none;
+ background-color: #1d2021 !important;
}
hr {
background-color: #1a1a1a;
@@ -134,10 +119,3 @@ header {
#TOC a:not(:hover) {
text-decoration: none;
}
-code{white-space: pre-wrap;}
-span.smallcaps{font-variant: small-caps;}
-span.underline{text-decoration: underline;}
-div.column{display: inline-block; vertical-align: top; width: 50%;}
-div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
-ul.task-list{list-style: none;}
-.display.math{display: block; text-align: center; margin: 0.5rem auto;}