diff --git a/src/styles/global.scss b/src/styles/global.scss index 39bb5437..fd906d85 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -1,10 +1,12 @@ @import 'variables'; @import 'mixins'; -*, -*::before, -*::after { - box-sizing: border-box; +* { + &, + &::before, + &::after { + box-sizing: border-box; + } } html, @@ -176,8 +178,7 @@ a { &:active { transition: none; - color: darken($link-color, 30%); - box-shadow: inset 0 -1px 0 darken($link-color, 30%); + color: darken($link-color, 10%); } } diff --git a/src/templates/Post.module.scss b/src/templates/Post.module.scss index 69b8b26f..a2f27400 100644 --- a/src/templates/Post.module.scss +++ b/src/templates/Post.module.scss @@ -19,7 +19,8 @@ padding-top: 0; } - &:only-child { + &:only-child, + &:last-child { border: 0; &::before {