Skip to content

Commit

Permalink
a bit of color
Browse files Browse the repository at this point in the history
  • Loading branch information
zelding committed Jan 28, 2024
1 parent 7ba8cce commit 1a82b3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ body.dejavu {
color: #f60;
}

.c-animate {
.c-animate, .link.c-animate {
transition:color .25s ease-in-out
}

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/i18nlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $langName := or .Language.LanguageName .Language.Lang }}
{{ $langCode := or .Language.LanguageCode .Language.Lang }}
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
<a class="hover-white blue" hreflang="{{ $langCode }}" href="{{ .RelPermalink }}">{{ $langName }}</a>
<a class="hover-white blue c-animate" hreflang="{{ $langCode }}" href="{{ .RelPermalink }}">{{ $langName }}</a>
</li>
{{ end}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/site-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
{{ range .Site.Menus.main }}
<li class="list f3 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
<a class="blue hover-white white-90" href="{{ .PageRef }}" title="{{ i18n "pageTitle" . }}">
<a class="blue hover-white white-90 c-animate" href="{{ .PageRef }}" title="{{ i18n "pageTitle" . }}">
{{ .Name }}
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/social-follow.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="ananke-socials">
{{ range $socials }}
{{ $rel := .rel | default "noopener" }}
<a href="{{ .url }}" target="_blank" rel="{{ $rel }}" class="{{ .name }} ananke-social-link link-transition link dib z-999 pt3 pt0-l {{ cond (eq $.Site.Language.LanguageDirection "rtl") "ml1" "mr1" }}" title="{{ .label }} link" aria-label="follow on {{ .label }}——Opens in a new window">
<a href="{{ .url }}" target="_blank" rel="{{ $rel }}" class="{{ .name }} ananke-social-link link-transition c-animate link dib z-999 pt3 pt0-l {{ cond (eq $.Site.Language.LanguageDirection "rtl") "ml1" "mr1" }}" title="{{ .label }} link" aria-label="follow on {{ .label }}——Opens in a new window">
{{ with .icon }}
<span class="icon">{{ . }}</span>
{{ else }}
Expand Down

0 comments on commit 1a82b3e

Please sign in to comment.