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