112 lines
2.0 KiB
CSS
112 lines
2.0 KiB
CSS
/*
|
|
Modern Weather App UI
|
|
*/
|
|
|
|
:root {
|
|
--primary-color: #007bff;
|
|
--secondary-color: #6c757d;
|
|
--light-color: #f8f9fa;
|
|
--dark-color: #343a40;
|
|
--background-color: #e9ecef;
|
|
--card-background: #ffffff;
|
|
--text-color: #212529;
|
|
--border-radius: 0.75rem;
|
|
--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
.app-card {
|
|
background-color: var(--card-background);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--box-shadow);
|
|
margin-bottom: 1.5rem;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.app-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.card-title {
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: var(--border-radius) !important;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
border-radius: var(--border-radius) !important;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
#weather-display {
|
|
text-align: center;
|
|
}
|
|
|
|
#weather-display .weather-icon {
|
|
width: 150px;
|
|
height: 150px;
|
|
}
|
|
|
|
#weather-display h2 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#weather-display h3 {
|
|
font-size: 4rem;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.forecast-day {
|
|
text-align: center;
|
|
}
|
|
|
|
.forecast-day img {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
#favorite-locations-list .list-group-item {
|
|
background-color: transparent;
|
|
border: none;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
#favorite-locations-list .city-link {
|
|
color: var(--dark-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#favorite-locations-list .city-link:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.delete-location-btn i {
|
|
color: var(--secondary-color);
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.delete-location-btn:hover i {
|
|
color: var(--dark-color);
|
|
}
|