style: adjust spacing

This commit is contained in:
Ayo Ayco 2024-04-24 16:21:59 +02:00
parent 81176fade2
commit 6bc21e3c35

View file

@ -22,6 +22,9 @@
color: white; color: white;
} }
} }
p, img, video {
margin-top: 1em;
}
summary:hover { summary:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -39,7 +42,6 @@
.card { .card {
border-bottom: 1px solid rgba(34, 34, 34, 0.15); border-bottom: 1px solid rgba(34, 34, 34, 0.15);
margin-left: -40px; margin-left: -40px;
margin-top: 1em;
background-color: #fff; background-color: #fff;
display: grid; display: grid;
grid-template-columns: 55px auto; grid-template-columns: 55px auto;
@ -48,6 +50,8 @@
.card_content { .card_content {
padding: 1em 0;
& .invisible { & .invisible {
display: none; display: none;
} }
@ -56,10 +60,6 @@
content: '...' content: '...'
} }
& *:not(.meta, details, .descendant *) {
margin-bottom: 1em;
}
& img, & video { & img, & video {
border-radius: 5px; border-radius: 5px;
max-width: 100%; max-width: 100%;