Skip to content

Commit

Permalink
justify text in posts and lists
Browse files Browse the repository at this point in the history
  • Loading branch information
oskar2517 committed Dec 3, 2024
1 parent 0970c3b commit 7aa1e8f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion themes/slick/_assets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ h1, h2, h3, h4, h5, h6, .post-title {
margin-bottom: 0;
}

.post-content {
text-align: justify;
hyphens: auto;
}

.post-meta {
font-size: .9em;
margin: 0 0 .5em;
Expand Down Expand Up @@ -219,6 +224,8 @@ h1, h2, h3, h4, h5, h6, .post-title {

.list-post .list-post-content-wrapper {
grid-area: c;
text-align: justify;
hyphens: auto;
}

hr:last-of-type {
Expand Down Expand Up @@ -259,4 +266,4 @@ code .ln { margin-right: .5em; }
.centered {
margin: 0 auto;
text-align: center;
}
}
Loading

0 comments on commit 7aa1e8f

Please sign in to comment.