Skip to content

Commit

Permalink
Hide squiggle on lower resolution in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Nov 7, 2024
1 parent 8158c01 commit e9408ed
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions resources/sass/pages/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
}
}

@mixin sizeNot($size) {
@include media-breakpoint-down($size) {
@content;
}
}

header nav.navbar {
.logo {
height: 30px;
Expand Down Expand Up @@ -220,12 +226,12 @@ body.lookAndFeelModern {
background: squiggle(#ffffff), linear-gradient(45deg, $card-background-light, $card-background-light, #bbe7ca);
}
@include dark {
background: $card-background-dark;
}
@include size(md) {
@include dark {
@include size(md) {
background: squiggle(#04ae41), linear-gradient(45deg, $card-background-dark, $card-background-dark, #0d5c28);
}
@include sizeNot(md) {
background: linear-gradient(45deg, $card-background-dark, $card-background-dark, #0d5c28);
}
}
@include theme {
background-repeat: no-repeat, no-repeat;
Expand Down

0 comments on commit e9408ed

Please sign in to comment.