aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorAsherah Connor <1915+kivikakk@users.noreply.github.com>2021-09-09 07:00:11 +1000
committerGitHub <noreply@github.com>2021-09-08 17:00:11 -0400
commit425de3f8650e56632e4d91a948676717250f3ccd (patch)
tree7a43180b11c261510052c72c917591aea2902ed0 /css
parentcd5cf0740ee56b169abf26a19f979107c45b23b3 (diff)
downloadxesite-425de3f8650e56632e4d91a948676717250f3ccd.tar.xz
xesite-425de3f8650e56632e4d91a948676717250f3ccd.zip
markdown: use comrak syntect (#393)
* markdown: use comrak syntect * css: make the code samples look better It ain't perfect, but it's probably good enough to start with: https://media.discordapp.net/attachments/188796211543801856/885244826180808754/20210908_15h26m30s_grim.png Signed-off-by: Christine Dodrill <me@christine.website> Co-authored-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'css')
-rw-r--r--css/gruvbox-dark.css3
-rw-r--r--css/hack.css2
-rw-r--r--css/shim.css5
3 files changed, 6 insertions, 4 deletions
diff --git a/css/gruvbox-dark.css b/css/gruvbox-dark.css
index f3478df..974ff10 100644
--- a/css/gruvbox-dark.css
+++ b/css/gruvbox-dark.css
@@ -36,7 +36,6 @@
.gruvbox-dark pre {
background-color: #1d2021;
- padding: 0;
border: none
}
@@ -235,4 +234,4 @@
color: #3c3836;
background-color: #bdae93;
}
-} \ No newline at end of file
+}
diff --git a/css/hack.css b/css/hack.css
index cbbc496..eb4281f 100644
--- a/css/hack.css
+++ b/css/hack.css
@@ -30,8 +30,6 @@ fieldset {
margin: 0;
}
pre {
- padding: 2rem;
- margin: 1.75rem 0;
background-color: #fff;
border: 1px solid #ccc;
overflow: auto;
diff --git a/css/shim.css b/css/shim.css
index 7a32d9a..339c036 100644
--- a/css/shim.css
+++ b/css/shim.css
@@ -37,3 +37,8 @@ img {
.conversation-chat {
align-self: center;
}
+
+pre {
+ padding-left: 1em;
+ padding-right: 1em;
+}