modified: app.py

modified:   static/css/style.css
	modified:   templates/base.html
	modified:   templates/index.html
	modified:   templates/weather.html
	new file:   translations.py
This commit is contained in:
simon
2026-04-27 11:06:16 +02:00
parent e793804cea
commit 2b671b10ff
6 changed files with 285 additions and 57 deletions

View File

@@ -61,6 +61,24 @@ main { flex: 1; }
letter-spacing: 0.02em;
white-space: nowrap;
}
.lang-switch {
display: flex; align-items: center; gap: 0.15rem;
flex-shrink: 0;
}
.lang-btn {
font-size: 0.78rem; font-weight: 600;
padding: 0.2rem 0.45rem;
border-radius: 5px;
color: var(--muted);
text-decoration: none;
letter-spacing: 0.04em;
transition: color 0.15s, background 0.15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn--active {
color: var(--orange);
background: rgba(255,140,50,0.12);
}
.nav-search-wrap { position: relative; display: flex; align-items: center; }
.nav-search-icon {
position: absolute; left: 10px; width: 16px; height: 16px;