diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2017-09-21 15:24:33 +0300 |
---|---|---|
committer | Justin Berthault <justin.berthault@zaclys.net> | 2017-09-21 15:24:33 +0300 |
commit | c993c1e3c5443fb083344f3892f9dc2d7d1d7fbf (patch) | |
tree | bdd6fbd9588bc9842bed4ed5531967cae32c1f62 /static/css/style.css | |
parent | e05a561b092621fb6b0aeed1c643aba127578c7f (diff) |
Switch from JS Highlight to Python's Pygments
- Pygments support is a built--in feature in Hugo
- Too much JS I don't understand
- Might try to learn Python one day
- Remove the necessity to add a highlight parameter in frontmatter
Diffstat (limited to 'static/css/style.css')
-rw-r--r-- | static/css/style.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/css/style.css b/static/css/style.css index ec2d99c..bd98611 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -110,14 +110,14 @@ blockquote { code { font-size: .75rem; font-family: "Source Code Pro", monospace; - background: #f1f1f1; - padding: .1em .3em; + background: #f0f0f0; border-radius: 3px; } pre { padding: 1rem 2rem; - border-left: 5px #8d7edc solid; - background: #f1f1f1; + border: 1px #8d7edc solid; + border-radius: 3px; + background: #f0f0f0; display: block; white-space: pre-wrap; } |