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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user