styles.scss
75 lines
| 1 | .givewp-welcome-banner-row { |
| 2 | width: 100%; |
| 3 | |
| 4 | &__header { |
| 5 | > h1 { |
| 6 | margin-bottom: var(--givewp-spacing-2); |
| 7 | padding: 0; |
| 8 | font-size: 1.25rem; |
| 9 | font-weight: bold; |
| 10 | letter-spacing: normal; |
| 11 | text-align: left; |
| 12 | color: var(--givep-grey-900); |
| 13 | } |
| 14 | |
| 15 | > p { |
| 16 | font-size: 0.875rem; |
| 17 | letter-spacing: normal; |
| 18 | text-align: left; |
| 19 | color: var(--givewp-grey-900); |
| 20 | margin: 0; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | > span { |
| 25 | display: flex; |
| 26 | align-items: center; |
| 27 | align-self: flex-start; |
| 28 | gap: var(--givewp-spacing-2); |
| 29 | margin-bottom: var(--givewp-spacing-2); |
| 30 | width: 100%; |
| 31 | line-height: 1.5; |
| 32 | |
| 33 | |
| 34 | h2 { |
| 35 | margin: 0; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | > h2 { |
| 40 | line-height: 1.5; |
| 41 | |
| 42 | margin: 0 0 var(--givewp-spacing-2) 0; |
| 43 | } |
| 44 | |
| 45 | > p { |
| 46 | font-size: 0.875rem; |
| 47 | letter-spacing: normal; |
| 48 | text-align: left; |
| 49 | color: var(--givewp-grey-900); |
| 50 | margin: 0 0 var(--givewp-spacing-2) 0; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | @media (max-width: 1280px) { |
| 55 | .givewp-welcome-banner-row { |
| 56 | flex: 1; |
| 57 | display: flex; |
| 58 | flex-direction: column; |
| 59 | justify-content: space-between; |
| 60 | align-self: stretch; |
| 61 | } |
| 62 | |
| 63 | .givewp-welcome-banner-row:nth-child(2), .givewp-welcome-banner-row:nth-child(3) { |
| 64 | flex: 1.25; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | @media (max-width: 1140px) { |
| 69 | .givewp-welcome-banner-row:nth-child(2) { |
| 70 | p { |
| 71 | margin-bottom: var(--givewp-spacing-2); |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 |