Update styling, clean up code

This commit is contained in:
Ramon Wenger 2020-02-17 16:16:13 +01:00
parent 879db2000b
commit bdd3705bff
2 changed files with 12 additions and 8 deletions

View File

@ -59,15 +59,8 @@
display: flex;
&__link {
font-size: 1.0625rem;
padding: 0 24px;
font-family: $sans-serif-font-family;
font-weight: $font-weight-regular;
color: $color-silver-dark;
&--active {
color: $color-brand;
}
@include default-link;
}
$parent: &;

View File

@ -141,6 +141,17 @@
font-size: toRem(18px);
}
@mixin default-link {
font-size: toRem(18px);
font-family: $sans-serif-font-family;
font-weight: $font-weight-regular;
color: $color-silver-dark;
&--active {
color: $color-brand;
}
}
@mixin page-form-input-heading {
display: block;
margin-bottom: $medium-spacing;