Compare commits

...

2 Commits

Author SHA1 Message Date
54f89dad51
Make .post-content an <article> instead of <div> 2022-05-22 19:51:16 -05:00
04b5017279
Add full-width-hr shortcode 2022-05-22 18:19:16 -05:00
3 changed files with 11 additions and 2 deletions

View File

@ -634,6 +634,14 @@ hr {
border: 1px solid var(--background-3); border: 1px solid var(--background-3);
} }
@media (min-width: 720px) {
.full-width-hr {
/* see also: the related-posts section too */
margin-left: calc(-100vw / 2 + 760px / 2);
margin-right: calc(-100vw / 2 + 760px / 2);
}
}
table.markdown { table.markdown {
border-collapse: collapse; border-collapse: collapse;
border: 2px solid var(--text-1); border: 2px solid var(--text-1);

View File

@ -28,9 +28,9 @@
</div> </div>
{{ end }} {{ end }}
<div class="post-content"> <article class="post-content">
{{ .Content }} {{ .Content }}
</div> </article>
{{ partial "series-box.html" . }} {{ partial "series-box.html" . }}

View File

@ -0,0 +1 @@
<hr class="full-width-hr">