body { width: 80%; margin-left: 10%; background-color: #333; } .items { display: flex; flex-wrap: wrap; } a.item, a.item:visited { color: #ddd; display: block; font-size: 24pt; margin-top: 10px; margin-left: 10px; border: 1px solid #ddd; padding: 10px; text-decoration: none; min-width: 10em; min-height: 2em; text-align: center; line-height: 2em; flex-grow: 1; box-shadow: 0 5px #999; } a:hover, a:hover:visited { background-color: #222; } a:active { transform: translateY(4px); box-shadow: 0 1px #666; } span.search { width: 100%; display: flex; } span.icon { margin-right: 10px; } input { height: 48px; font-size: 28px; flex-grow: 4; margin-left: 10px; } button { height: 48px; font-size: 28px; margin-left: 20px; flex-grow: 1; } .weather { color: #fff; text-align: center; font-size: 28px; line-height: 50px; text-align: center; } .weather td { width: 200px; } #weatherIcon { width: 100px; } .forecast{ color: #fff; text-align: center; border-collapse: collapse; border: 1px solid white; width: 100%; } .forecast th, .forecast td { border-left: 1px solid white; border-right: 1px solid white; margin: 0px; padding: 0px 5px 0px 5px; } .high { color: rgb(255, 64, 64) } .low { color: rgb(45, 161, 255) } .forecast th { border-bottom: 1px solid white; padding: 5px; font-size: 28px; background-color: #454545; } .forecast td { padding: 3px; font-size: 16px; } span.status-up { display: inline-block; background-color: green; width: 0.8em; height: 0.8em; border-radius: 50%; margin-left: 1em; } span.status-down { display: inline-block; background-color: red; width: 0.8em; height: 0.8em; border-radius: 50%; margin-left: 1em; }