summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-01-25 16:26:55 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-01-25 16:29:16 +0100
commit49d09432980747f7713f1b5131b0573d15916920 (patch)
tree4c50193005319866d67f4d1935fdd6ea843a3ea3
parent8326a17ae15f71652ba0ff5f39a332fb313f5791 (diff)
Add styles
-rw-r--r--css/style.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
new file mode 100644
index 0000000..50720ae
--- /dev/null
+++ b/css/style.css
@@ -0,0 +1,26 @@
+body{
+ background-color: #eee;
+}
+.forecast {
+ margin: 0;
+ padding: 0.3rem;
+}
+
+.forecast > h1,
+.day-forecast {
+ margin: 0.5rem;
+ padding: 0.3rem;
+ font-size: 1.2rem;
+}
+
+.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 {
+ margin: 0.2rem;
+ font-size: 1rem;
+}