parent
06f672dd21
commit
bbc2149d8b
3 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
{{- $highlightColor := .Site.Params.style.vars.highlightColor | default (.Site.Params.highlightColor | default "#e22d30") -}}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--nixie-orange: orange;
|
--nixie-orange: orange;
|
||||||
--nixie-orange-glow: #ffa500;
|
--nixie-orange-glow: #ffa500;
|
||||||
|
@ -37,6 +39,10 @@
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.languages-compact a.current-lang {
|
||||||
|
color: {{ $highlightColor }};
|
||||||
|
}
|
||||||
|
|
||||||
#main-banner {
|
#main-banner {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,15 @@
|
||||||
<div class="languages-compact">
|
<div class="languages-compact">
|
||||||
{{- range $index, $lang := $translations }}
|
{{- range $index, $lang := $translations }}
|
||||||
{{- if ne $index 0}}<span> | </span>{{end}}
|
{{- if ne $index 0}}<span> | </span>{{end}}
|
||||||
<a class="" href="{{ .RelPermalink }}">
|
<a class="
|
||||||
|
{{- if eq $lang.Language $.Site.Language -}}
|
||||||
|
current-lang
|
||||||
|
{{- end -}}
|
||||||
|
"
|
||||||
|
href="{{ .RelPermalink }}"
|
||||||
|
>
|
||||||
{{ $lang.Language | upper }}
|
{{ $lang.Language | upper }}
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3a1878d608d1261e9fef271eb5cc8074bfcc4cd8
|
Subproject commit 67036fc5f2fcb31117c6219c0610f75dac643de1
|
Loading…
Add table
Reference in a new issue