Add a new block shortcode

This commit is contained in:
Danila Fedorin 2022-09-10 12:32:10 -07:00
parent 5869d99db1
commit c5a28bf7ef
2 changed files with 14 additions and 0 deletions

View File

@ -163,6 +163,10 @@ td {
padding: 0.5rem;
}
th {
padding: 0.5rem;
}
div.highlight tr {
display: table-row;
}
@ -276,6 +280,13 @@ figure {
font-family: unset;
}
.block {
@include bordered-block;
margin: auto;
padding: 0.5rem;
width: fit-content;
}
.dialog {
.message {
max-width: 0.8*$container-width;

View File

@ -0,0 +1,3 @@
<div class="block">
{{ .Inner }}
</div>