|
138 | 138 | width: 100%; |
139 | 139 | } |
140 | 140 |
|
| 141 | + .page-about__team { |
| 142 | + display: flex; |
| 143 | + flex-direction: column; |
| 144 | + gap: 24px; |
| 145 | + margin: auto; |
| 146 | + max-width: 1135px; |
| 147 | + padding: 96px 40px; |
| 148 | + } |
| 149 | + |
| 150 | + .page-about__team__header { |
| 151 | + h2 { |
| 152 | + color: var(--red); |
| 153 | + margin-bottom: 16px; |
| 154 | + text-transform: uppercase; |
| 155 | + } |
| 156 | + |
| 157 | + hr { |
| 158 | + margin-bottom: 16px; |
| 159 | + } |
| 160 | + |
| 161 | + p { |
| 162 | + font-family: 'Rubik', sans-serif; |
| 163 | + font-size: 1.5rem; |
| 164 | + font-style: italic; |
| 165 | + font-weight: 300; |
| 166 | + line-height: 3rem; |
| 167 | + margin: 0; |
| 168 | + } |
| 169 | + } |
| 170 | + |
| 171 | + .page-about__team__member { |
| 172 | + margin: 0; |
| 173 | + |
| 174 | + h4, |
| 175 | + p { |
| 176 | + margin: 0; |
| 177 | + } |
| 178 | + } |
| 179 | + |
| 180 | + .page-about__team__member__image { |
| 181 | + border-radius: 8px; |
| 182 | + height: 300px; |
| 183 | + margin-bottom: 16px; |
| 184 | + object-fit: cover; |
| 185 | + width: 100%; |
| 186 | + } |
| 187 | + |
| 188 | + .page-about__team__member--details { |
| 189 | + display: flex; |
| 190 | + flex-direction: column; |
| 191 | + gap: 8px; |
| 192 | + } |
| 193 | + |
| 194 | + .page-about__team__staff, |
| 195 | + .page-about__team__directors { |
| 196 | + background-color: var(--offwhite); |
| 197 | + border-radius: 8px; |
| 198 | + padding: 36px; |
| 199 | + } |
| 200 | + |
| 201 | + .page-about__team__staff__header, |
| 202 | + .page-about__team__directors__header { |
| 203 | + margin-bottom: 36px; |
| 204 | + |
| 205 | + h3 { |
| 206 | + margin-bottom: 8px; |
| 207 | + } |
| 208 | + |
| 209 | + p { |
| 210 | + margin: 0; |
| 211 | + } |
| 212 | + } |
| 213 | + |
| 214 | + .page-about__team__staff__inner, |
| 215 | + .page-about__team__directors__inner { |
| 216 | + display: grid; |
| 217 | + gap: 24px; |
| 218 | + grid-template-columns: 1fr; |
| 219 | + } |
| 220 | + |
| 221 | + @media (min-width: 600px) { |
| 222 | + .page-about__team__staff__inner, |
| 223 | + .page-about__team__directors__inner { |
| 224 | + grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 225 | + } |
| 226 | + } |
| 227 | + |
141 | 228 | @media (min-width: 834px) { |
142 | 229 | .page-about__hero { |
143 | 230 | min-height: 834px; |
|
184 | 271 | .page-about__history__section-two--image { |
185 | 272 | height: 300px; |
186 | 273 | } |
| 274 | + |
| 275 | + .page-about__team { |
| 276 | + gap: 48px; |
| 277 | + } |
| 278 | + |
| 279 | + .page-about__team__header { |
| 280 | + p { |
| 281 | + font-size: 2rem; |
| 282 | + } |
| 283 | + } |
| 284 | + |
| 285 | + .page-about__team__staff__inner, |
| 286 | + .page-about__team__directors__inner { |
| 287 | + grid-template-columns: repeat(3, minmax(0, 1fr)); |
| 288 | + } |
187 | 289 | } |
188 | 290 |
|
189 | 291 | @media (min-width: 1440px) { |
|
221 | 323 | .page-about__history__section-two--image { |
222 | 324 | height: 375px; |
223 | 325 | } |
| 326 | + |
| 327 | + .page-about__team { |
| 328 | + gap: 96px; |
| 329 | + padding: 96px 0; |
| 330 | + } |
| 331 | + |
| 332 | + .page-about__team__header { |
| 333 | + margin-bottom: -24px; |
| 334 | + } |
| 335 | + |
| 336 | + .page-about__team__staff__inner, |
| 337 | + .page-about__team__directors__inner { |
| 338 | + grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 339 | + } |
224 | 340 | } |
225 | 341 | } |
0 commit comments