Add full-width-hr shortcode

This commit is contained in:
BBaoVanC 2022-05-22 18:19:16 -05:00
parent a65a435b1d
commit 04b5017279
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 9 additions and 0 deletions

View File

@ -634,6 +634,14 @@ hr {
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 {
border-collapse: collapse;
border: 2px solid var(--text-1);

View File

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