Commit 6fdab0a9 by sbiego

better multilang selector

parent 403db421
......@@ -56,12 +56,15 @@
<hr class="hidden-md">
{{ range .Site.Menus.topbar.ByWeight }}
<a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
{{ end }}
</div>
<div>
{{ range .Site.Menus.topbar.ByWeight }}
<a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
{{ end }}
</div>
<!-- /.col-md-4 -->
{{ end }}
......@@ -76,15 +79,6 @@
</div>
{{ end }} -->
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ . }}" id="{{ . }}"><li class="lang">{{ .Site.Language.label }}</li></a>
{{ end }}
</ul>
{{ end }}
{{ partial "multi_lang.html" . }}
</footer>
......
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ . }}" id="{{ . }}"><li class="lang">{{ .Site.Language.label }}</li></a>
{{ end }}
</ul>
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ . }}" id="{{ . }}"><li class="lang">{{ .LanguageName }}</li></a>
{{ end }}
</ul>
{{ end }}
......@@ -66,7 +66,7 @@ body {
/*background-image: url('../img/texture_light.png');*/
/*background-image: url('../img/wood_texture_vert.png');*/
background-image: url('../img/tile_light.png');
background-attachment: fixed;
background-attachment: fixedgi;
background-color: #FEF3D0;
}
......@@ -525,6 +525,11 @@ p {
background-color: rgba(0,0,0,.4);
}
/*BLOG*/
.box-image-text .content p {
color: #444;
}
#heading-breadcrumbs {
/*border-bottom: 4px solid rgba(0,0,0,.05);*/
/*background: linear-gradient(#FBECBE, rgba(255, 255, 255, 0));*/
......@@ -823,11 +828,11 @@ ul#langs {
ul#langs li.lang {
display: inline-block;
list-style: circle;
height: 30px;
width: 30px;
/*height: 30px;*/
/*width: 30px;*/
text-align: center;
padding: 3px;
margin-right: 4px;
padding: 5px 10px;
margin: 4px 4px;
/*background: url('../img/wood_texture.png');*/
/*border-radius: 5px 5px 0 0;*/
border-radius: 20px;
......@@ -841,7 +846,7 @@ ul#langs li.lang {
color: rgba(0,0,0,.6);
font-weight: 900;
transition: all .5s .15s;
/*box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.5);*/
box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.2);
/*opacity: .7;*/
/*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);*/
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment