Skip to content

Commit

Permalink
added a bunch of styles for the data section
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomcv committed Jul 21, 2020
1 parent 1503bbf commit f7c6a46
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions src/components/DataSection/DataSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
width: 100%;
color: white;
text-align: center;
font-size: 8rem;
font-weight: bold;
}

.data-section.placeholder {
font-size: 3rem;
font-weight: bold;
}

.temperature-display {
display: flex;
flex-direction: column;
align-items: center;
font-size: 8rem;
font-weight: bold;
width: 100%;;
}

.weather-icon {
Expand All @@ -20,8 +28,16 @@
width: auto;
}

.day-cycle {
display: flex;
justify-content: space-evenly;
width: 100%;
margin-top: 2rem;
font-size: 1.5rem;
}

@media only screen and (max-width: 600px) {
.data-section {
.temperature-display {
font-size: 6rem;
}

Expand All @@ -30,4 +46,11 @@
height: 6rem;
width: auto;
}

.day-cycle {
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 5rem;
}
}

0 comments on commit f7c6a46

Please sign in to comment.