mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Change about extracurricular to be flex.
This commit is contained in:
parent
34b00a6223
commit
dd74906661
1 changed files with 7 additions and 4 deletions
|
|
@ -343,12 +343,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.extracurricular {
|
.extracurricular {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(3, auto);
|
flex-wrap: wrap;
|
||||||
/* justify-content: center; */
|
place-content: center;
|
||||||
/* align-items: center; */
|
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
|
|
||||||
|
.card {
|
||||||
|
max-width: 30rem;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 1000px) {
|
@media (max-width: 1000px) {
|
||||||
grid-template-columns: repeat(2, auto);
|
grid-template-columns: repeat(2, auto);
|
||||||
--cardHeightMin: 20rem;
|
--cardHeightMin: 20rem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue