Improve margins on alert icons
This commit is contained in:
parent
98e4e27132
commit
bccf7d1ef0
2 changed files with 8 additions and 2 deletions
|
@ -425,3 +425,9 @@ pre {
|
|||
.no-decoration {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#banner-alert-icon {
|
||||
vertical-align: middle;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
{{ if eq $paginator.PageNumber 1}}
|
||||
{{ $alertimg := resources.Get "alert.png" }}
|
||||
{{ with $.Params.new_banner }}
|
||||
<div class="new-banner"><img width="16" height="16" style="vertical-align: middle;" src="{{ $alertimg.RelPermalink }}"/><b>{{ . }}</b><img width="16" height="16" style="vertical-align: middle;" src="{{ $alertimg.RelPermalink }}"/></div>
|
||||
<div class="new-banner"><img width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/><b>{{ . }}</b><img width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/></div>
|
||||
{{ end }}
|
||||
|
||||
<div class="new-banner"><img width="16" height="16" style="vertical-align: middle;" src="{{ $alertimg.RelPermalink }}"/><b>Contains risque art, so you should probably not view this on a work computer.</b><img width="16" height="16" style="vertical-align: middle;" src="{{ $alertimg.RelPermalink }}"/></div>
|
||||
<div class="new-banner"><img width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/><b>Contains risque art, so you should probably not view this on a work computer.</b><img width="16" height="16" id="banner-alert-icon" src="{{ $alertimg.RelPermalink }}"/></div>
|
||||
|
||||
<p>Welcome to my art gallery! I have saved my art since 2016, and this site contains the most complete archive of my work.</p>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue