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:
authordiwao <diwao@me.com>2018-01-06 20:08:05 +0300
committerdiwao <diwao@me.com>2018-01-06 20:08:05 +0300
commitb2632fb49bf92c587eef79a810b87403062de5af (patch)
tree1defaec6e3678f81dc926c2f803f7fef3dca2d3b
parent0ed944cc01c9761e9030f28b497ef482310c7767 (diff)
リストのスタイル調整
-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;