Skip to content

Commit

Permalink
nav and footer dividers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbischoff committed Apr 11, 2024
1 parent 22dcd89 commit 273c0df
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions _sass/layout/footer.scss
Expand Up @@ -2,6 +2,7 @@

footer {
@include vr.set($margin-top: 1 0);
border-top: 1px solid;

text-transform: lowercase;
display: flex;
Expand Down
6 changes: 3 additions & 3 deletions _sass/layout/header.scss
Expand Up @@ -6,8 +6,8 @@ header#masthead {
@include vr.set($margin: 1 0);

nav {
@include vr.set($margin-bottom: 1);

@include vr.set($padding-bottom: 1);
border-bottom: 1px solid;
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -19,7 +19,7 @@ header#masthead {
}

h1 {
@include vr.set($margin-bottom: 0);
@include vr.set($margin-bottom: 0, $margin-top: 1);

}

Expand Down
12 changes: 12 additions & 0 deletions _sass/themes/_themes.scss
Expand Up @@ -28,6 +28,8 @@ $themes: (
color: map.get($colors, text-emphasized);

nav {
border-color: map.get($colors, link-underline);

a {
&.active {
color: map.get($colors, accent);
Expand Down Expand Up @@ -67,13 +69,23 @@ $themes: (

article {
header {
h1 {
a {
color: map.get($colors, accent);
}
}

time {
a {
color: map.get($colors, text-secondary);
}
}
}
}

footer {
border-color: map.get($colors, link-underline);
}
}

@media (prefers-color-scheme: light) {
Expand Down

0 comments on commit 273c0df

Please sign in to comment.