Skip to content

Commit

Permalink
Added temperature section css
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolcud committed Jun 8, 2023
1 parent afac519 commit 2c85658
Showing 1 changed file with 35 additions and 6 deletions.
41 changes: 35 additions & 6 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@
border: 1px antiquewhite dashed;
}

h2 {
margin: 0 auto 2rem auto;
}

body {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto auto auto auto;
grid-gap: 1rem;
font-family: Rubik,sans-serif;
font-size: 18px;
background-color: #7d9fdd;
/* background-color: #7d9fdd; */
background-image: url("../images/clouds3.jpg");
background-size: cover;
background-position: center;
margin: 2rem;
}

Expand All @@ -26,21 +33,43 @@ body {
font-size: 3em;
}

h2 {
margin: 0 auto 2rem auto;
}

.header__city-name::before,
.header__city-name::after {
content: "✨";
}

.current__control {
display: flex;
align-self: flex-start;
text-align: justify;
}

.temperature__section button {
display: flex;
background-color: #e7b434;
justify-content: center;
border: none;
color: #fff;
padding: 12px 30px;
font-size: 1.2rem;
border-radius: 10px;
}

button:hover {
background-color: #c3992d;
}

.temperature__content {
display: flex;
justify-content: space-around;
}

.temperature__section,
.sky__section,
.city-name__section {
border-radius: 8px;
padding: 2rem;
background-color: white;
background-color: whitesmoke;
grid-row: 2;
}

Expand Down

0 comments on commit 2c85658

Please sign in to comment.