Skip to content

Commit

Permalink
final blow in 3d vs topnav rock paper scissors
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg committed May 4, 2024
1 parent 97dcce6 commit 5917025
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions ui/common/css/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,26 @@ body > header {
@include mq-sticky-header {
max-width: unset;
position: fixed;
@include mq-at-least-col2 {
z-index: z('link-overlay');
}
top: 0;
width: 100%;
padding: 0 var(---site-header-sticky-padding);
border-bottom: 1px solid transparent;
transition:
transform $transition-duration ease-in-out,
border-color $transition-duration ease-in-out;

@include if-transp {
@include back-blur(6px);
background: hsla(0, 0, 60%, 0.14);
}

@include if-not-transp {
&.scrolled {
z-index: z('site-header');
border-color: black;
}
border-bottom: 1px solid $m-body-gradient_bg-page--mix-50;
&.scrolled {
background-image: linear-gradient(to bottom, $c-body-gradient, $m-body-gradient_bg-page--mix-50 60px);
}
@include if-light {
&.scrolled {
border-color: black;
@include if-light {
border-color: hsl(0, 0%, 70%);
}
}

&:hover {
z-index: z('site-header');
@include if-transp {
@include back-blur(6px);
border: none;
background: hsla(0, 0, 60%, 0.14);
}

.dropdown {
Expand Down

0 comments on commit 5917025

Please sign in to comment.