Add a new block shortcode
This commit is contained in:
parent
5869d99db1
commit
c5a28bf7ef
|
@ -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;
|
||||
|
|
3
layouts/shortcodes/block.html
Normal file
3
layouts/shortcodes/block.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="block">
|
||||
{{ .Inner }}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user