Skip to content

Commit a339880

Browse files
Create head_custom.html
1 parent 132bb75 commit a339880

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

docs/_includes/head_custom.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<style>
2+
.lang-switcher {
3+
position: absolute;
4+
top: 1rem;
5+
right: 1rem;
6+
font-size: 0.85rem;
7+
}
8+
.lang-switcher a {
9+
color: var(--link-color);
10+
text-decoration: none;
11+
border: 1px solid var(--border-color);
12+
padding: 0.2rem 0.6rem;
13+
border-radius: 4px;
14+
}
15+
</style>
16+
17+
<div class="lang-switcher">
18+
<a href="{% t global.switch_language_url %}">
19+
{% t global.switch_language %}
20+
</a>
21+
</div>

0 commit comments

Comments
 (0)