fix link transition

This commit is contained in:
Gabriele Musco 2021-12-13 16:04:12 +01:00
parent b07d16cbee
commit 7c864197f0
No known key found for this signature in database
GPG Key ID: 0587A5D65B5DC99E
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,9 @@ $mono_font_mult: {{ .Site.Params.monoFontSizeMultiplier | default 1.0 }};
}
a {
transition: all .15s ease-in-out;
transition-property: color, border-color;
transition-duration: .15s;
transition-timing-function: ease-in-out;
}
body, html {
@ -187,6 +189,7 @@ h1, h2, h3, h4, h5, h6 {
a {
color: $accent_color;
{{ if not (.Site.Params.underlineTitleLinks | default false) }}
not (.Site.Params.underlineTitleLinks | default false) }}
border-bottom: none;
{{ end }}
}