Fix text color in html rendering

pull/1/head
Trivernis 5 years ago
parent 15e187c625
commit add37e8832

@ -1,6 +1,6 @@
[package] [package]
name = "snekdown" name = "snekdown"
version = "0.8.4" version = "0.8.5"
authors = ["trivernis <trivernis@protonmail.com>"] authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"
license-file = "LICENSE" license-file = "LICENSE"

@ -1,6 +1,7 @@
body { body {
background-color: #DDD; background-color: #DDD;
overflow-x: hidden; overflow-x: hidden;
color: #000;
} }
.content { .content {
@ -43,6 +44,10 @@ img {
height: auto; height: auto;
} }
code {
color: #000;
}
code pre { code pre {
font-family: "Fira Code", monospace; font-family: "Fira Code", monospace;
padding: 0.8em 0.2em; padding: 0.8em 0.2em;
@ -90,14 +95,16 @@ table tr td:first-child, table tr th:first-child {
} }
blockquote { blockquote {
margin-left: 0 margin-left: 0;
background-color: rgba(0, 0, 0, 0);
} }
.quote { .quote {
border-left: 0.3em solid gray; border-left: 0.3em solid gray;
border-radius: 0.2em; border-radius: 0.2em;
padding-left: 1em; padding-left: 1em;
margin-left: 0 margin-left: 0;
background-color: #EEE;
} }
.quote .metadata { .quote .metadata {

Loading…
Cancel
Save