From 825ceebd94a436d9e1ffa61f1de617a61391a13b Mon Sep 17 00:00:00 2001 From: Rui Date: Wed, 27 Mar 2019 21:58:29 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=B5=82=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E3=81=8B=E3=82=89=E3=81=9D=E3=81=AE=E3=83=9A=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AE=E3=82=B3=E3=83=9F=E3=83=83=E3=83=88=E5=B1=A5=E6=AD=B4?= =?UTF-8?q?=E3=81=AB=E9=A3=9B=E3=81=B9=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _layouts/default.html | 6 +++++- _sass/_article.scss | 15 ++++----------- _sass/_main.scss | 26 +++++++++++++++++--------- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 3709c7f..f4d5e5c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -76,7 +76,11 @@ body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:non
{{ content }}
{% if page.date %} - + {% endif %} diff --git a/_sass/_article.scss b/_sass/_article.scss index caf92db..2793552 100644 --- a/_sass/_article.scss +++ b/_sass/_article.scss @@ -43,11 +43,7 @@ margin-bottom: 0.5em; } - h2, - h3, - h4, - h5, - h6 { + h2, h3, h4, h5, h6 { font-weight: bold; line-height: 1.1em; margin: 1rem 0; @@ -79,8 +75,7 @@ } p { - margin-bottom: 1em; - margin-top: 1em; + margin: 1em 0; } pre { @@ -117,10 +112,8 @@ padding: var(--article-pre-code-padding); } - dl { - dt { - font-style: normal; - } + dl dt { + font-style: normal; } } } diff --git a/_sass/_main.scss b/_sass/_main.scss index 95c5fc0..39596ba 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -1,15 +1,23 @@ .main { - background: var(--main-bg); + background: var(--main-bg); - @include media-desktop { - border-top: var(--main-border-topleft); - border-left: var(--main-border-topleft); - border-radius: var(--main-border-radius); - } + @include media-desktop { + border-top: var(--main-border-topleft); + border-left: var(--main-border-topleft); + border-radius: var(--main-border-radius); + } } .main-date { - color: var(--main-date-color); - text-align: right; - margin: 1em 0; + text-align: right; + margin: 1em 0; + + a { + color: var(--main-date-color); + text-decoration: none; + } + + a:hover { + text-decoration: underline; + } }