Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #168 from OmgImAlexis/master
Browse files Browse the repository at this point in the history
Add span separator to header.
  • Loading branch information
Chalarangelo authored Oct 23, 2019
2 parents 42b6d60 + 7ec40e3 commit e849238
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/mini/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ header {
padding: var(#{$universal-padding-var}) calc(2 * var(#{$universal-padding-var}));
text-decoration: none;
}
// Link styling.
button, [type="button"], .#{$button-class-name}, [role="button"] {
// Link and span styling.
span, button, [type="button"], .#{$button-class-name}, [role="button"] {
box-sizing: border-box;
position: relative;
top: calc(0rem - var(#{$universal-padding-var}) / 4); // Use universal-padding to offset the padding of the header.
Expand All @@ -142,7 +142,9 @@ header {
@if $_header-links-uppercase {
text-transform: uppercase;
}
&:hover, &:focus {
}
button, [type="button"], .#{$button-class-name}, [role="button"] {
&:hover, &:focus {
background: var(#{$header-hover-back-color-var});
}
}
Expand Down

0 comments on commit e849238

Please sign in to comment.