body { font-family: Arial, sans-serif; background-color: #f0f0f0; } .weather-container { width: 800px; max-height: 480px; margin: 0 auto; padding: 20px; background-color: #fff; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); } h1 { text-align: center; color: #333; } .additional-info { display: flex; justify-content: space-between; margin-bottom: 20px; } .info-item { flex: 0 1 calc(50% - 10px); padding: 10px; background-color: #f9f9f9; border-radius: 5px; } .info-label { font-size: 14px; color: #666; } .info-value { font-size: 16px; color: #333; } .current-weather { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .weather-icon { width: 100px; height: 100px; background-color: #ccc; border-radius: 50%; } .temperature { font-size: 24px; color: #333; } h2 { margin-top: 20px; color: #666; } .forecast { display: flex; justify-content: space-between; flex-wrap: wrap; } .forecast-item { flex-basis: calc(10% - 10px); text-align: center; padding: 10px; background-color: #f9f9f9; border-radius: 5px; margin-bottom: 10px; } .forecast-time { font-size: 14px; color: #666; } .forecast-icon { width: 50px; height: 50px; background-color: #ccc; border-radius: 50%; margin-bottom: 5px; } .forecast-temperature { font-size: 16px; color: #333; } html { background-color: #f9f9f9; } body { padding: 35px; max-width: 800px; height: 480px; margin: auto; } .card-header { display: flex; justify-content: space-between; align-items: center; } .card-header-left { flex: 1; text-align: left; padding: 0 2rem; } .card-header-right { flex: 1; text-align: right; } .is-vertical-center { display: flex; align-items: center; } .params { width: 100%; margin: 25px auto; } .params .card { border-radius: 20px; } .weather .media { padding: 0 2rem; } .weather figure { font-size: 6rem; margin-bottom: -2rem; } .weather-details { font-size: 0.9rem; } .weather-details i { text-align: center; width: 20px; margin-right: 7px; } .weather .level-item i { margin: .4rem 0; font-size: 2rem; } .alerts-details { font-size: 0.8rem; } .alerts-details i { text-align: center; width: 20px; margin-right: 7px; } .alerts .level-item i { margin: .4rem 0; font-size: 2rem; } #no-weather-info { top: 48px; background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(0, 0, 0, .2) 20px, rgba(0, 0, 0, .2) 40px); } #no-weather-info .notification { margin: 0 auto; border-radius: 10px; padding: 20px 40px; } #no-alerts-info { top: 48px; } #no-alerts-info .notification { margin: 0 auto; border-radius: 10px; padding: 20px 40px; }