float: left;
margin-right: 1em;
}
+
+#langSelector {
+ color: #0035c7;
+ text-decoration: underline;
+}
+#langSelector:hover {
+ cursor: pointer;
+ text-decoration: none;
+}
+#langContainer {
+ #background-color: #f5f6f7;
+ background-color: white;
+ background-image:url('Pics/gradient-flipped.png');
+ background-position: bottom;
+ background-repeat: repeat-x;
+ display: none;
+ position: absolute;
+ left: -1em;
+ border-bottom: 1px solid #dfdfe0;
+ margin-right: -1em;
+ min-width: 100%; /* make it reach the right edge if only a few
+ languages are available */
+ padding: 0.5em 1em 1em 1em;
+}
+#langContainer a {
+ margin-right: 1em;
+}
+#pageLang:hover #langContainer {
+ display: block;
+}
[% IF langs && langs.size > 0 %]
<hr class="hidecss">
<!--UdmComment-->
+<div id="pageLang">
+<div id="langSelector">
<p>[% g('This page is also available in the following languages (How to set <a href="%s">the default document language</a>):', cn_help_url) %]</p>
-<p class="navpara">
+<div id="langContainer">
[% FOREACH l IN langs %]
<a href="[% IF keyword_esc;
make_search_url('',"keywords=$keyword_esc",'lang',l.lang);
END %]" title="[% l.tooltip %]" hreflang="[% l.lang %]" lang="[% l.lang %]" rel="alternate">[% l.selfname %]
[%- IF l.transliteration %] ([% l.transliteration %])[% END %]</a>
[% END %]
-</p>
+</div>
+</div>
+</div>
<!--/UdmComment-->
[% END %]