Last Improvements
All checks were successful
/ publish (push) Successful in 6s
/ deploy-unlighthouse-files (push) Successful in 7s
/ unlighthouse (push) Successful in 24s
/ deploy-unlighthouse-site (push) Successful in 5s
/ checking (push) Successful in 12s
/ build-site (push) Successful in 1m19s
/ release (push) Successful in 6s

This commit is contained in:
Firq 2024-01-03 23:49:52 +01:00
parent dc768dd9d4
commit 4c65aec72e
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; color: white;
align-items: center; align-items: center;
padding-left: 0.75rem; padding-left: 0.75rem;
justify-content: center;
} }
.mobile > h2 { .mobile > h2 {
margin: 0%; margin: 0%;
margin-top: 0.5rem;
font-size: 1.25rem; font-size: 1.25rem;
text-align: center; text-align: center;
} }

View file

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