Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
#7: Dark theme & mobile support in Donate section
Browse files Browse the repository at this point in the history
* Resolved dark mode issue in donate section
* Alignment issue resolved on small phones
  • Loading branch information
Moeenahamd authored Dec 18, 2023
1 parent 0b658cc commit 67b7849
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
border-radius: 10px;
}

@media screen and (max-width: 390px) {
.image-display{
height: 60px !important;
width: 210px !important;
border-radius: 10px;
}
}

@media screen and (max-width: 375px) {
.image-display{
height: 60px !important;
width: 205px !important;
border-radius: 10px;
}
}

/* Styles for the popup */
.popup {
display: none;
Expand Down
10 changes: 10 additions & 0 deletions sass/common/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,13 @@ body.dark .copy-status:active::after {
display: block;
color: $link-color-dark;
}

body.dark .modal-content {
background: $body-bg-dark;
color: $body-color-dark;
border: 1px solid white;
}

body.dark .modal-dialog {
box-shadow: 0px 0px 10px 0px;
}

0 comments on commit 67b7849

Please sign in to comment.