grid-template-rows to manage alignment on home
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
b09aca2c20
commit
365f9a0cc6
2 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
--route-card-radius: 45px;
|
--route-card-radius: 45px;
|
||||||
border-radius: var(--route-card-radius);
|
border-radius: var(--route-card-radius);
|
||||||
box-shadow: 0 0 27px #ccc;
|
box-shadow: 0 0 27px #ccc;
|
||||||
|
margin: 0 auto;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
border-bottom-left-radius: var(--route-card-radius);
|
border-bottom-left-radius: var(--route-card-radius);
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
|
max-width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.route-card-left img {
|
.route-card-left img {
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
display: grid;
|
display: grid;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
font-family: 'Roboto-Regular';
|
font-family: 'Roboto-Regular';
|
||||||
|
grid-template-rows: 16% 16% 16% 16% 16% 16%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bold {
|
.bold {
|
||||||
|
@ -33,9 +35,13 @@
|
||||||
place-content: center;
|
place-content: center;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
grid-row-start: 1;
|
||||||
|
grid-row-end: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#route-cards {
|
#route-cards {
|
||||||
|
grid-row-start: 2;
|
||||||
|
grid-row-end: 7;
|
||||||
display: grid;
|
display: grid;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue