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);
|
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>
|
||||||
|
|
|
||||||
|
|
@ -165,11 +165,7 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: square inside none;
|
list-style: square;
|
||||||
}
|
|
||||||
|
|
||||||
ol {
|
|
||||||
list-style-position: inside;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue