conditional image for mobile

This commit is contained in:
akcodez
2025-09-30 07:56:27 -07:00
parent b48b1a3498
commit 8571afb3d5
3 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -2149,9 +2149,10 @@ html.light {
// Single card layout styles // Single card layout styles
&.single-card { &.single-card {
font-size: 24px;
max-height: 288px !important; max-height: 288px !important;
@media (max-width: 768px) { @media (max-width: 768px) {
max-height: 375px !important; min-height: 493px !important;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
@@ -2199,6 +2200,13 @@ html.light {
&.single-card .bottom-cards-section.bug-bounty.section-padding { &.single-card .bottom-cards-section.bug-bounty.section-padding {
gap: 0 !important; gap: 0 !important;
} }
&.single-card {
.bug-bounty-card-bg-2 {
@media (max-width: 767px) {
content: url("../img/community/bug-bounty-card-bg-2-mobile.png") !important;
}
}
}
// Single card layout - background image full height and spacing // Single card layout - background image full height and spacing
.com-card.single-card { .com-card.single-card {