Fix nownownow style

This commit is contained in:
JP Hastings-Spital 2024-03-27 10:12:07 +00:00
parent f1b7775e19
commit d2379a271a
3 changed files with 3 additions and 13 deletions

View file

@ -4,9 +4,8 @@ on:
push:
branches: ["main"]
schedule:
# Rebuild at the first moment of the new year
# ensures that anywhere I'm using year-relative dates stay accurate.
- cron: '0 0 1 1 *'
# Rebuild every day, to update 'year relative' dates, change now page & calendar
- cron: '0 0 * * *'
workflow_dispatch:

View file

@ -799,15 +799,6 @@ a:hover time {
body.nownownow .post-content > p {
position: relative;
line-height: inherit;
&::first-letter {
font-size: 2rem;
line-height: 20px;
position: absolute;
margin-left: -4rem;
padding-top: 0.5rem;
float: left;
}
}
a[href^="/tags/"] {

View file

@ -26,4 +26,4 @@
{{- end -}}
{{- end -}}
{{- end -}}
<a href="{{ $destination | safeURL }}"{{ with .Class }} class="{{ . }}"{{ end }}{{ with $title }} title="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}{{ with $ref.rel }} rel="{{ . }}"{{ end }}>{{ $text }}</a>
<a href="{{ $destination | safeURL }}"{{ with .Class }} class="{{ . }}"{{ end }}{{ with $title }} title="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}{{ with $ref.rel }} rel="{{ . }}"{{ end }}>{{ $text | safeHTML }}</a>