Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diwao/hestia-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scss/modules/_single.scss7
-rw-r--r--static/css/style.css5
2 files changed, 10 insertions, 2 deletions
diff --git a/src/scss/modules/_single.scss b/src/scss/modules/_single.scss
index abfabb3..9494feb 100644
--- a/src/scss/modules/_single.scss
+++ b/src/scss/modules/_single.scss
@@ -32,7 +32,12 @@
padding-left: .5em;
}
- > p code {
+ li + li {
+ margin-top: .5em;
+ }
+
+ > p code,
+ li code {
background-color: #282c34;
border-radius: 3px;
color: #abb2bf;
diff --git a/static/css/style.css b/static/css/style.css
index 84d3774..341e8c5 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -159,7 +159,10 @@ a {
.post-content h2 {
border-left: 5px solid #ff470f;
padding-left: .5em; }
- .post-content > p code {
+ .post-content li + li {
+ margin-top: .5em; }
+ .post-content > p code,
+ .post-content li code {
background-color: #282c34;
border-radius: 3px;
color: #abb2bf;