diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-29 22:27:23 +0100 |
---|---|---|
committer | Ekaitz <ekaitz@elenq.tech> | 2023-01-30 11:42:41 +0100 |
commit | 9cd41b9d510030b3618c42183a0250acccc32a12 (patch) | |
tree | d081e7fc4cb04c458453f72de0142e519e729fcb /css | |
parent | 01a48de05d2c02f24c81dfbe607bd18145f59983 (diff) |
Add JavaScript backend and adjust style accordignly
Diffstat (limited to 'css')
-rw-r--r-- | css/style.css | 10 |
1 files changed, 6 insertions, 4 deletions
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{ |