A few miscellaneous style fixes
- Add some padding to the top of the footnotes block - Add .figure--video to the list of elements that get XL block margins
This commit is contained in:
parent
b7379f6481
commit
f29f409642
3 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ p + p {
|
|||
|
||||
/* Figures */
|
||||
|
||||
{{- $elementsWithXLBlockMargins := "blockquote, table, .codeblock, .figure--code, .figure--image, .figure--youtube, .highlight" -}}
|
||||
{{- $elementsWithXLBlockMargins := "blockquote, table, .codeblock, .figure--code, .figure--image, .figure--video, .figure--youtube, .highlight" -}}
|
||||
|
||||
p + :is({{ $elementsWithXLBlockMargins }}) {
|
||||
margin-block-start: var(--space-xl);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
hr {
|
||||
border-top: 2px dashed var(--gray6);
|
||||
margin-block-start: 0;
|
||||
margin-block-start: var(--space-xl);
|
||||
}
|
||||
|
||||
li:not(:last-child) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{- if .IsBlock }}
|
||||
<figure class="figure figure--image" id="figure-{{ .Ordinal }}">
|
||||
<figure class="figure figure--image" id="figure-{{ .Ordinal }}">
|
||||
<img src="{{ .Destination | safeURL }}"
|
||||
{{- with .Text }} alt="{{ . }}"{{ end -}}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue