Update post layout

This commit is contained in:
JasterV 2025-06-02 21:00:14 +02:00
parent 94eeebfe02
commit 56db98f23e
2 changed files with 6 additions and 22 deletions

View file

@ -46,24 +46,12 @@ const { title, pubDate, image } = Astro.props;
color: var(--text-color-light); color: var(--text-color-light);
} }
/* Revert the changes made by the global styles */
/* So markdown can be spaced as the markdown processor says */
.post-content { .post-content {
h1, * {
h2, margin: revert;
h3, padding: revert;
h4 {
margin-top: 2rem;
}
p {
margin-top: 0.5rem;
}
li {
margin-top: 0.5rem;
}
li > p {
display: contents;
} }
} }
</style> </style>

View file

@ -165,11 +165,7 @@ a {
} }
ul { ul {
list-style: square inside none; list-style: square;
}
ol {
list-style-position: inside;
} }
a { a {