| 1 |
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;900&display=swap'); |
| 2 |
|
| 3 |
.givewp-bfcm-2025-banner { |
| 4 |
display: flex; |
| 5 |
align-items: center; |
| 6 |
justify-content: flex-start; |
| 7 |
border-radius: var(--givewp-rounded-8); |
| 8 |
background-image: var(--bg-small); |
| 9 |
background-size: cover; |
| 10 |
background-position: center; |
| 11 |
background-repeat: no-repeat; |
| 12 |
height: 186px; |
| 13 |
width: calc(100% - (2 * var(--givewp-spacing-2))); |
| 14 |
margin: var(--givewp-spacing-2) { |
| 15 |
bottom: var(--givewp-spacing-4); |
| 16 |
}; |
| 17 |
|
| 18 |
&:has(+ #give-admin-campaigns-root, #give-admin-donations-root, #give-admin-donors-root, #give-admin-subscriptions-root), |
| 19 |
&:has(+ #give-admin-donations-root), |
| 20 |
&:has(+ #give-admin-donors-root), |
| 21 |
&:has(+ #give-admin-subscriptions-root) { |
| 22 |
display: none; |
| 23 |
} |
| 24 |
|
| 25 |
#give-admin-campaigns-root &, |
| 26 |
#give-admin-donations-root &, |
| 27 |
#give-admin-donors-root &, |
| 28 |
#give-admin-subscriptions-root & { |
| 29 |
margin-top: calc(var(--givewp-spacing-2) * -1); |
| 30 |
margin-bottom: 0; |
| 31 |
} |
| 32 |
|
| 33 |
@media (min-width: 768px) { |
| 34 |
background-image: var(--bg-medium); |
| 35 |
height: 220px; |
| 36 |
} |
| 37 |
|
| 38 |
@media (min-width: 1024px) { |
| 39 |
background-image: var(--bg-large); |
| 40 |
height: 210px; |
| 41 |
} |
| 42 |
|
| 43 |
&__content { |
| 44 |
display: flex; |
| 45 |
flex-direction: column; |
| 46 |
align-items: flex-start; |
| 47 |
justify-content: center; |
| 48 |
gap: var(--givewp-spacing-2); |
| 49 |
position: relative; |
| 50 |
z-index: 2; |
| 51 |
padding: 21px 0 21px 24px; |
| 52 |
|
| 53 |
@media (min-width: 768px) { |
| 54 |
padding: 24px 0 24px 56px; |
| 55 |
} |
| 56 |
|
| 57 |
@media (min-width: 1024px) { |
| 58 |
padding: 32px 0 30px 88px; |
| 59 |
} |
| 60 |
} |
| 61 |
|
| 62 |
&__title { |
| 63 |
font-family: Montserrat; |
| 64 |
font-weight: 700; |
| 65 |
font-size: 1.5rem; |
| 66 |
line-height: 1.25; |
| 67 |
color: var(--givewp-green-900); |
| 68 |
margin: 0; |
| 69 |
padding: 0; |
| 70 |
|
| 71 |
@media (min-width: 768px) { |
| 72 |
font-size: 1.75rem; |
| 73 |
line-height: 1.125; |
| 74 |
} |
| 75 |
|
| 76 |
@media (min-width: 1024px) { |
| 77 |
font-size: 2rem; |
| 78 |
line-height: 1.1; |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
&__discount { |
| 83 |
font-size: 1.25rem; |
| 84 |
font-weight: 500; |
| 85 |
line-height: 1.3; |
| 86 |
color: var(--givewp-green-500); |
| 87 |
|
| 88 |
@media (min-width: 768px) { |
| 89 |
font-size: 1.75rem; |
| 90 |
line-height: 1.4; |
| 91 |
} |
| 92 |
|
| 93 |
@media (min-width: 1024px) { |
| 94 |
font-size: 2rem; |
| 95 |
line-height: 1.5; |
| 96 |
font-weight: 900; |
| 97 |
} |
| 98 |
} |
| 99 |
|
| 100 |
&__description { |
| 101 |
font-family: Inter; |
| 102 |
font-weight: 500; |
| 103 |
font-size: 0.875rem; |
| 104 |
line-height: 1.4; |
| 105 |
color: var(--givewp-green-900); |
| 106 |
margin: 0; |
| 107 |
padding: 0; |
| 108 |
|
| 109 |
@media (min-width: 768px) { |
| 110 |
font-size: 1.125rem; |
| 111 |
line-height: 1.5; |
| 112 |
} |
| 113 |
|
| 114 |
@media (min-width: 1024px) { |
| 115 |
font-size: 1.25rem; |
| 116 |
} |
| 117 |
} |
| 118 |
|
| 119 |
&__cta { |
| 120 |
font-family: Montserrat; |
| 121 |
display: flex; |
| 122 |
align-items: center; |
| 123 |
justify-content: center; |
| 124 |
gap: var(--givewp-spacing-2); |
| 125 |
padding: var(--givewp-spacing-3) var(--givewp-spacing-6); |
| 126 |
font-weight: 700; |
| 127 |
font-size: 0.875rem; |
| 128 |
line-height: 1; |
| 129 |
border-radius: 36px; |
| 130 |
margin-top: var(--givewp-spacing-4); |
| 131 |
background: var(--givewp-orange-400); |
| 132 |
color: #fff; |
| 133 |
text-decoration: none; |
| 134 |
cursor: pointer; |
| 135 |
transition: all 0.3s ease; |
| 136 |
border: none; |
| 137 |
|
| 138 |
@media (min-width: 768px) { |
| 139 |
font-size: 1rem; |
| 140 |
} |
| 141 |
|
| 142 |
img { |
| 143 |
width: 20px; |
| 144 |
height: 20px; |
| 145 |
flex-shrink: 0; |
| 146 |
} |
| 147 |
|
| 148 |
&:hover { |
| 149 |
background: var(--givewp-orange-500); |
| 150 |
color: #fff; |
| 151 |
} |
| 152 |
} |
| 153 |
} |
| 154 |
|