mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-28 12:41:36 -05:00
Add full-width-hr shortcode
This commit is contained in:
@@ -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);
|
||||||
|
1
layouts/shortcodes/full-width-hr.html
Normal file
1
layouts/shortcodes/full-width-hr.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<hr class="full-width-hr">
|
Reference in New Issue
Block a user