mirror of
https://codeberg.org/JasterV/jaster.xyz.git
synced 2026-04-26 18:10:01 +00:00
Update post layout
This commit is contained in:
parent
94eeebfe02
commit
56db98f23e
2 changed files with 6 additions and 22 deletions
|
|
@ -46,24 +46,12 @@ const { title, pubDate, image } = Astro.props;
|
|||
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 {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
li > p {
|
||||
display: contents;
|
||||
* {
|
||||
margin: revert;
|
||||
padding: revert;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -165,11 +165,7 @@ a {
|
|||
}
|
||||
|
||||
ul {
|
||||
list-style: square inside none;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-position: inside;
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
|
|||
Loading…
Reference in a new issue