Skip to content

Commit

Permalink
Announcement banner (stationmoney#546)
Browse files Browse the repository at this point in the history
* fixed theme issues on page banner

* mobile banner fixes
  • Loading branch information
JoshuaBrigati authored Nov 27, 2023
1 parent 28e0b65 commit 63e5596
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/ActionsBackground.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
height: 125%;
right: 0px;
filter: blur(45px);

@media (max-width: 992px) {
display: none;
}
}
54 changes: 54 additions & 0 deletions src/app/sections/PageBanner.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

color: var(--menu-text);

&.light {
color: var(--button-primary-text);
}

&.blossom {
color: #ffffff;
}
Expand Down Expand Up @@ -65,4 +69,54 @@
gap: 18px;
}
}

@media (max-width: 500px) {
gap: 12px;
padding: 12px 10px;

svg {
width: 20px;
height: 20px;
}

.content {
gap: 14px;
}

h4 {
font-size: 12px;
}

.button {
font-size: 10px;
padding: 0 8px;
height: 22px;
min-width: 76px;
}
}

@media (max-width: 425px) {
gap: 8px;
padding: 12px 6px;

svg {
width: 20px;
height: 20px;
}

.content {
gap: 10px;
}

h4 {
font-size: 11px;
}

.button {
font-size: 10px;
padding: 0 8px;
height: 22px;
min-width: 76px;
}
}
}

0 comments on commit 63e5596

Please sign in to comment.