mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
style: optimize github card for mobile, adjust spacing between consecutive images
This commit is contained in:
parent
a4d56865e4
commit
6c8a682f83
3 changed files with 25 additions and 16 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue