Last Improvements

This commit is contained in:
Firq 2024-01-03 23:49:52 +01:00
parent dc768dd9d4
commit c514530083
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 14 additions and 1 deletions

View file

@ -76,11 +76,11 @@ const servant_images = import.meta.glob<{ default: ImageMetadata }>(
color: white;
align-items: center;
padding-left: 0.75rem;
justify-content: center;
}
.mobile > h2 {
margin: 0%;
margin-top: 0.5rem;
font-size: 1.25rem;
text-align: center;
}

View file

@ -57,6 +57,13 @@ const { title, description } = Astro.props
line-height: 20px;
text-align: center;
}
@supports (text-align-last: center) {
div h2 {
text-align: justify;
text-align-last: center;
}
}
@media (min-width: 512px) {
div {
row-gap: 1.5em;
@ -89,5 +96,11 @@ const { title, description } = Astro.props
div h2 {
text-align: left;
}
@supports (text-align-last: center) {
div h2 {
text-align-last: initial;
}
}
}
</style>