grid-template-rows to manage alignment on home
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-07-24 12:48:33 +02:00
parent b09aca2c20
commit 365f9a0cc6
2 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,7 @@
--route-card-radius: 45px;
border-radius: var(--route-card-radius);
box-shadow: 0 0 27px #ccc;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 10px;
width: 90%;
@ -54,6 +55,7 @@
border-bottom-left-radius: var(--route-card-radius);
display: grid;
place-items: center;
max-width: 10%;
}
.route-card-left img {

View file

@ -19,7 +19,9 @@
display: grid;
margin: 0 auto;
height: 100%;
width: 100%;
font-family: 'Roboto-Regular';
grid-template-rows: 16% 16% 16% 16% 16% 16%;
}
.bold {
@ -33,9 +35,13 @@
place-content: center;
grid-template-columns: 1fr;
text-align: center;
grid-row-start: 1;
grid-row-end: 1;
}
#route-cards {
grid-row-start: 2;
grid-row-end: 7;
display: grid;
width: 100%;
}