mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Add full-width-hr shortcode
This commit is contained in:
parent
a65a435b1d
commit
04b5017279
@ -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">
|
Loading…
Reference in New Issue
Block a user