commit de0a1ef595448ce3700a0dd72056244e0980312c
parent 06baae3ef643939c44a63fc1fd629082e44b7bf8
Author: oscarbenedito <oscar@obenedito.org>
Date: Sun, 10 Nov 2019 17:59:30 +0100
Improved support for code snippets
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/assets/css/style.scss b/assets/css/style.scss
@@ -538,7 +538,6 @@ article {
.post-content .highlight,
.post-content pre {
margin-bottom: 32px;
- background: var(--hljs-bg) !important;
border-radius: var(--radius);
}
.post-content pre {
@@ -575,10 +574,9 @@ article {
margin-left: 4px;
margin-right: 4px;
padding: 4px 6px;
- font-family: Menlo, Monaco, "Courier New", Courier, monospace;
+ font-family: monospace;
font-size: 0.78em;
line-height: 1.5;
- background: var(--code-bg);
border-radius: 2px;
}
.post-content pre code {
@@ -586,8 +584,6 @@ article {
margin-left: 0;
margin-right: 0;
padding: var(--gap);
- color: rgba(255, 255, 255, 0.8);
- background: transparent;
border-radius: 0;
}
.post-content blockquote {
diff --git a/config.toml b/config.toml
@@ -2,6 +2,7 @@ baseURL = "https://obenedito.org/"
languageCode = "en-us"
title = "Oscar Benedito"
paginate = 5
+pygmentsStyle = "solarized-dark256"
[params]
blog_title = "Personal blog"