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; + } }