rainytrek / style.css
annanurov's picture
renamed to style.css
d4ca104 verified
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@400;700;800&display=swap');
html, body, [class*="css"] {
font-family: 'Syne', sans-serif;
}
.stApp {
background: #0a0f1e;
color: #e8eaf0;
}
h1, h2, h3 {
font-family: 'Syne', sans-serif;
font-weight: 800;
}
.main-title {
font-family: 'Syne', sans-serif;
font-size: 3rem;
font-weight: 800;
background: linear-gradient(135deg, #64b5f6, #81c784, #fff176);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.2rem;
}
.subtitle {
color: #78909c;
font-family: 'Space Mono', monospace;
font-size: 0.85rem;
margin-bottom: 2rem;
letter-spacing: 0.05em;
}
.city-card {
background: linear-gradient(135deg, #141a2e 0%, #1a2340 100%);
border: 1px solid #1e2d4a;
border-radius: 16px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.city-name {
font-size: 1.6rem;
font-weight: 800;
color: #64b5f6;
margin-bottom: 0.3rem;
}
.city-coords {
font-family: 'Space Mono', monospace;
font-size: 0.72rem;
color: #546e7a;
margin-bottom: 1rem;
}
.weather-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 0.75rem;
margin-top: 1rem;
}
.day-card {
background: #0d1525;
border: 1px solid #1e2d4a;
border-radius: 12px;
padding: 0.9rem 0.6rem;
text-align: center;
transition: transform 0.2s;
}
.day-card:hover {
transform: translateY(-3px);
border-color: #64b5f6;
}
.day-label {
font-family: 'Space Mono', monospace;
font-size: 0.65rem;
color: #78909c;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 0.4rem;
}
.day-icon {
font-size: 1.8rem;
margin: 0.3rem 0;
}
.day-temp-max {
font-size: 1.1rem;
font-weight: 700;
color: #ff8a65;
}
.day-temp-min {
font-size: 0.85rem;
color: #64b5f6;
}
.day-precip {
font-family: 'Space Mono', monospace;
font-size: 0.62rem;
color: #546e7a;
margin-top: 0.3rem;
}
.stat-row {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 0.5rem;
}
.stat-pill {
background: #0d1525;
border: 1px solid #1e2d4a;
border-radius: 20px;
padding: 0.3rem 0.75rem;
font-family: 'Space Mono', monospace;
font-size: 0.72rem;
color: #90a4ae;
}
.stat-pill span {
color: #81c784;
font-weight: 700;
}
.error-box {
background: #1a0d0d;
border: 1px solid #b71c1c;
border-radius: 12px;
padding: 1rem 1.25rem;
color: #ef9a9a;
font-family: 'Space Mono', monospace;
font-size: 0.8rem;
}
.llm-box {
background: #0d1a25;
border: 1px solid #1e3a4a;
border-radius: 12px;
padding: 1rem 1.25rem;
color: #b0bec5;
font-family: 'Space Mono', monospace;
font-size: 0.78rem;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.llm-label {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #546e7a;
margin-bottom: 0.4rem;
}
stTextInput > div > div > input {
background: #141a2e !important;
border: 1px solid #1e2d4a !important;
border-radius: 12px !important;
color: #e8eaf0 !important;
font-family: 'Space Mono', monospace !important;
}
</style>