From 9cd41b9d510030b3618c42183a0250acccc32a12 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 29 Jan 2023 22:27:23 +0100 Subject: Add JavaScript backend and adjust style accordignly --- css/style.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'css') diff --git a/css/style.css b/css/style.css index b3a5a60..6e22d00 100644 --- a/css/style.css +++ b/css/style.css @@ -16,11 +16,9 @@ body{ .day-forecast { border-radius: 5px; border: 1px solid lightgrey; - background: right/contain content-box border-box no-repeat url('/media/examples/rain.svg') white; } -.day-forecast > h2, -.day-forecast > p { +.day-forecast > h2 { margin: 0.2rem; font-size: 1rem; } @@ -29,12 +27,16 @@ body{ display: flex; flex-wrap: wrap; justify-content: space-between; + align-items: center; } .day-forecast-text{ min-width: 200px; + margin: 0 2rem; } .day-forecast-image{ - padding: 1em; + padding: 1rem; + margin: 0 2rem; + font-size: 60pt; } footer{ -- cgit v1.2.3