Skip to content

Commit

Permalink
test: test new function
Browse files Browse the repository at this point in the history
  • Loading branch information
natalieagus committed May 8, 2024
1 parent ffc1346 commit 5655cf0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions _sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@

width: $nav-list-item-height-sm;
height: $nav-list-item-height-sm;
padding-top: calc($nav-list-item-height-sm / 4);
padding-right: calc($nav-list-item-height-sm / 4);
padding-bottom: calc($nav-list-item-height-sm / 4);
padding-left: calc($nav-list-item-height-sm / 4);
padding-top: math.div($nav-list-item-height-sm, 4);
padding-right: math.div($nav-list-item-height-sm, 4);
padding-bottom: math.div($nav-list-item-height-sm, 4);
padding-left: math.div($nav-list-item-height-sm, 4);
color: $link-color;

@include mq(md) {
width: $nav-list-item-height;
height: $nav-list-item-height;
padding-top: calc($nav-list-item-height / 4);
padding-right: calc($nav-list-item-height / 4);
padding-bottom: calc($nav-list-item-height / 4);
padding-left: calc($nav-list-item-height / 4);
padding-top: math.div($nav-list-item-height, 4);
padding-right: math.div($nav-list-item-height, 4);
padding-bottom: math.div($nav-list-item-height, 4);
padding-left: math.div($nav-list-item-height, 4);
}

// &:hover {
Expand All @@ -106,9 +106,9 @@

> .nav-list {
display: none;
padding-left: #{calc($nav-list-item-height-sm / 2)};
padding-left: math.div($nav-list-item-height-sm, 2);
@include mq(md) {
padding-left: #{calc($nav-list-item-height / 2)};
padding-left: math.div($nav-list-item-height, 2);
}
list-style: none;
background-color: $sidebar-color;
Expand Down

0 comments on commit 5655cf0

Please sign in to comment.