|
33 | 33 | } |
34 | 34 |
|
35 | 35 | .page-about__position { |
36 | | - background: rgba(247, 249, 252, 1); |
| 36 | + background: var(--offwhite); |
37 | 37 | margin: auto; |
38 | 38 | } |
39 | 39 |
|
|
65 | 65 | width: 100%; |
66 | 66 | } |
67 | 67 |
|
| 68 | + .page-about__history { |
| 69 | + background-color: var(--navy); |
| 70 | + margin: auto; |
| 71 | + } |
| 72 | + |
| 73 | + .page-about__history__inner { |
| 74 | + margin: auto; |
| 75 | + max-width: 1135px; |
| 76 | + padding: 70px 40px; |
| 77 | + } |
| 78 | + |
| 79 | + .page-about__history__title { |
| 80 | + color: white; |
| 81 | + margin-bottom: 16px; |
| 82 | + text-transform: uppercase; |
| 83 | + } |
| 84 | + |
| 85 | + .page-about__history__section-one, |
| 86 | + .page-about__history__section-two { |
| 87 | + margin-bottom: 48px; |
| 88 | + } |
| 89 | + |
| 90 | + .page-about__history__section-one, |
| 91 | + .page-about__history__section-three { |
| 92 | + display: grid; |
| 93 | + gap: 48px; |
| 94 | + grid-template-columns: 1fr; |
| 95 | + } |
| 96 | + |
| 97 | + .page-about__history__section-one--content, |
| 98 | + .page-about__history__section-three--content { |
| 99 | + color: white; |
| 100 | + |
| 101 | + p:first-child { |
| 102 | + margin-top: 0; |
| 103 | + } |
| 104 | + } |
| 105 | + |
| 106 | + .page-about__history__section-one--image, |
| 107 | + .page-about__history__section-three--image { |
| 108 | + border-radius: 8px; |
| 109 | + height: 400px; |
| 110 | + object-fit: cover; |
| 111 | + width: 100%; |
| 112 | + } |
| 113 | + |
| 114 | + .page-about__history__section-two { |
| 115 | + background-color: var(--offwhite); |
| 116 | + border-radius: 8px; |
| 117 | + display: grid; |
| 118 | + gap: 48px; |
| 119 | + grid-template-columns: 1fr; |
| 120 | + padding: 40px; |
| 121 | + } |
| 122 | + |
| 123 | + .page-about__history__section-two--content, |
| 124 | + .page-about__history__section-three--content { |
| 125 | + p:first-child { |
| 126 | + margin-top: 0; |
| 127 | + } |
| 128 | + |
| 129 | + p:last-child { |
| 130 | + margin-bottom: 0; |
| 131 | + } |
| 132 | + } |
| 133 | + |
| 134 | + .page-about__history__section-two--image { |
| 135 | + border-radius: 8px; |
| 136 | + height: 150px; |
| 137 | + object-fit: cover; |
| 138 | + width: 100%; |
| 139 | + } |
| 140 | + |
68 | 141 | @media (min-width: 834px) { |
69 | 142 | .page-about__hero { |
70 | 143 | min-height: 834px; |
|
91 | 164 | .page-about__position--image { |
92 | 165 | height: 100%; |
93 | 166 | } |
| 167 | + |
| 168 | + .page-about__history__section-one, |
| 169 | + .page-about__history__section-two { |
| 170 | + margin-bottom: 96px; |
| 171 | + } |
| 172 | + |
| 173 | + .page-about__history__section-one, |
| 174 | + .page-about__history__section-three { |
| 175 | + grid-template-columns: 1fr 1fr; |
| 176 | + } |
| 177 | + |
| 178 | + .page-about__history__section-one--image, |
| 179 | + .page-about__history__section-three--image { |
| 180 | + height: 100%; |
| 181 | + max-height: 550px; |
| 182 | + } |
| 183 | + |
| 184 | + .page-about__history__section-two--image { |
| 185 | + height: 300px; |
| 186 | + } |
94 | 187 | } |
95 | 188 |
|
96 | 189 | @media (min-width: 1440px) { |
|
114 | 207 | max-height: 500px; |
115 | 208 | max-width: 100%; |
116 | 209 | } |
| 210 | + |
| 211 | + .page-about__history__section-one, |
| 212 | + .page-about__history__section-three { |
| 213 | + grid-template-columns: 450px 1fr; |
| 214 | + } |
| 215 | + |
| 216 | + .page-about__history__section-one--image, |
| 217 | + .page-about__history__section-three--image { |
| 218 | + max-height: 350px; |
| 219 | + } |
| 220 | + |
| 221 | + .page-about__history__section-two--image { |
| 222 | + height: 375px; |
| 223 | + } |
117 | 224 | } |
118 | 225 | } |
0 commit comments