summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/style.css9
1 files changed, 5 insertions, 4 deletions
diff --git a/css/style.css b/css/style.css
index 6e22d00..cf7626d 100644
--- a/css/style.css
+++ b/css/style.css
@@ -2,8 +2,9 @@ body{
background-color: #eee;
}
.forecast {
- margin: 0;
+ margin: auto;
padding: 0.3rem;
+ max-width: 800px;
}
.forecast > h1,
@@ -18,9 +19,8 @@ body{
border: 1px solid lightgrey;
}
-.day-forecast > h2 {
- margin: 0.2rem;
- font-size: 1rem;
+.day-forecast h2 {
+ font-size: 1.1rem;
}
.day-forecast{
@@ -28,6 +28,7 @@ body{
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
+ background-color: whitesmoke;
}
.day-forecast-text{
min-width: 200px;