notice: align styles with attachments #28

This commit is contained in:
Sören Weber 2021-07-17 11:57:55 +02:00
parent 050837bc3f
commit 565cfbe03d
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,7 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}>
<div class="label">{{ .Get 0 | T }}</div>
{{ $style := .Get 0 }}
{{ $title := $style | T }}
<div class="notices {{ $style }}">
<div class="label">{{ $title }}</div>
{{ .Inner }}
</div>

View file

@ -489,7 +489,7 @@ div.notices > * {
}
div.notices > div.label {
color: #fff;
font-weight: bold;
font-weight: normal;
margin-bottom: 1rem;
margin-top: -1.75rem;
}