diff --git a/src/assets/scss/atoms/_links.scss b/src/assets/scss/atoms/_links.scss index 15ea240a..a180e74d 100644 --- a/src/assets/scss/atoms/_links.scss +++ b/src/assets/scss/atoms/_links.scss @@ -1,29 +1,29 @@ @charset "UTF-8"; a { - text-decoration: none; - font-family:$default_font; + position: relative; + font-family: $default_font; font-weight: 600; - font-size:1,6rem; - color:$black; - position:relative; -} -a::after{ -content:">"; -} -a::before{ - background-color:$primary_color; - width:100%; - display:block; - position:absolute; - height:6px; - content:""; - margin:auto; - top:0; - bottom:0; - right:0; - left:0; - z-index: -1; + font-size: 1.6rem; + color: $black; + text-decoration: none; + + &::before { + content: ""; + position: absolute; + top: 0; + bottom: 0; + display: block; + width: 100%; + height: 6px; + margin: auto; + background-color: $primary_color; + z-index: -1; + } + + &::after { + content: ">"; + } } .home_link {