Created
June 15, 2019 13:05
-
-
Save pflevy/d7e7df6ff894ea82d9f6bd72e4cf59ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.litreDisplay { | |
margin: 10px auto; | |
border-radius: 5px; | |
width: 400px; | |
height: 200px; | |
background-color: rgb(119, 180, 245); | |
display: grid; | |
grid-template-columns: 1fr 1fr 1fr; | |
position: relative; | |
padding: 5px; | |
} | |
.canvas { | |
margin: 10px 15px; | |
background-color: white; | |
border-radius: 5px; | |
padding-left: 0px; | |
grid-column: 1 / 2; | |
grid-row: 1; | |
} | |
.displayLvalue { | |
grid-column: 2/4; | |
grid-row: 1; | |
} | |
.displayValue span { | |
font-family: "Josefin Sans", sans-serif; | |
padding-left: 20px; | |
font-size: 50px; | |
color: white; | |
position: absolute; | |
bottom: 20px; | |
right: 20px; | |
} | |
@media (max-width: 700px) { | |
.litreDisplay { | |
width: 90%; | |
} | |
.displayValue span { | |
font-size: 70px; | |
bottom: 20px; | |
right: 5px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment