style: optimize github card for mobile, adjust spacing between consecutive images

This commit is contained in:
radishzzz 2025-05-02 19:08:33 +01:00
parent a4d56865e4
commit 6c8a682f83
3 changed files with 25 additions and 16 deletions

View file

@ -92,6 +92,12 @@
.heti :where(figure) {
--at-apply: 'mx-auto mt-3 mb-6';
}
.heti :where(figure:has(+ figure)) {
--at-apply: 'mb-4';
}
.heti :where(figure:has(+ p > img:first-child)) {
--at-apply: 'mb-4';
}
.heti :where(figcaption) {
--at-apply: 'text-center text-sm mt-3 text-secondary/80';
}