give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
/
styles.scss
give
/
src
/
Promotions
/
WelcomeBanner
/
resources
/
js
/
app
/
components
/
Sections
Last commit date
LeftContentSection.tsx
2 years ago
RightContentSection.tsx
2 years ago
styles.scss
2 years ago
styles.scss
54 lines
| 1 | .givewp-welcome-banner-left-content { |
| 2 | flex: .55; |
| 3 | display: flex; |
| 4 | flex-direction: column; |
| 5 | align-items: flex-start; |
| 6 | justify-content: space-between; |
| 7 | gap: var(--givewp-spacing-9); |
| 8 | align-self: stretch; |
| 9 | } |
| 10 | |
| 11 | .givewp-welcome-banner-right-content { |
| 12 | flex: 1; |
| 13 | display: flex; |
| 14 | flex-direction: column; |
| 15 | align-self: stretch; |
| 16 | |
| 17 | |
| 18 | > h2 { |
| 19 | font-size: 1rem; |
| 20 | font-weight: bold; |
| 21 | line-height: 1.4; |
| 22 | margin: 0 0 .5rem 0; |
| 23 | letter-spacing: normal; |
| 24 | text-align: left; |
| 25 | } |
| 26 | |
| 27 | &__media-container { |
| 28 | flex: 1; |
| 29 | display: flex; |
| 30 | justify-content: space-between; |
| 31 | gap: 1.375rem; |
| 32 | height: 100%; |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | @media (max-width: 1280px) { |
| 37 | .givewp-welcome-banner-left-content { |
| 38 | flex: 1; |
| 39 | flex-direction: row; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | @media (max-width: 1140px) { |
| 44 | .givewp-welcome-banner-left-content { |
| 45 | flex-direction: column; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | @media (max-width: 750px) { |
| 50 | .givewp-welcome-banner-right-content__media-container { |
| 51 | flex-direction: column; |
| 52 | } |
| 53 | } |
| 54 |