mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-17 02:05:50 +00:00
conditional image for mobile
This commit is contained in:
File diff suppressed because one or more lines are too long
BIN
static/img/community/bug-bounty-card-bg-2-mobile.png
Normal file
BIN
static/img/community/bug-bounty-card-bg-2-mobile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user