You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
2.5 KiB
CSS
165 lines
2.5 KiB
CSS
4 years ago
|
@font-face {
|
||
|
font-family: bebas;
|
||
4 years ago
|
src: url(font/BebasNeue-Regular.ttf);
|
||
4 years ago
|
}
|
||
|
|
||
|
body,
|
||
|
html {
|
||
|
width: 100vw;
|
||
|
height: 100vh;
|
||
|
margin: 0;
|
||
|
|
||
|
font-family: bebas;
|
||
|
font-size: 7vw;
|
||
|
color: #404040;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
height: 100vh;
|
||
|
width: 100vw;
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
background-color: white;
|
||
|
display: grid;
|
||
|
grid-template-columns: auto auto;
|
||
|
grid-template-rows: auto;
|
||
|
padding: 1rem 0.8rem 1rem 0.2rem;
|
||
|
border-bottom: 1px solid #d2d2d2;
|
||
|
outline: 1px solid #d2d2d2;
|
||
|
outline-offset: 2px;
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
justify-self: start;
|
||
|
align-self: center;
|
||
|
|
||
|
display: grid;
|
||
|
grid-template-columns: auto auto;
|
||
|
grid-template-rows: auto;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.logo h1 {
|
||
|
display: inline-block;
|
||
|
font-weight: 200;
|
||
|
margin: 0;
|
||
|
margin-left: -0.3rem;
|
||
|
font-size: 1.7rem;
|
||
|
}
|
||
|
.logo img {
|
||
|
height: 1.4rem;
|
||
|
margin-top: -0.3rem;
|
||
|
}
|
||
|
|
||
|
.state {
|
||
|
font-size: 0.6rem;
|
||
|
text-align: right;
|
||
|
align-self: center;
|
||
|
}
|
||
4 years ago
|
#actual-state.topi {
|
||
|
color: #31B907;
|
||
|
}
|
||
4 years ago
|
#actual-state {
|
||
|
color: #e10000;
|
||
|
}
|
||
|
.state img {
|
||
|
vertical-align: middle;
|
||
|
margin-left: 0.2rem;
|
||
|
}
|
||
|
|
||
|
section h2 {
|
||
|
text-align: center;
|
||
|
font-weight: normal;
|
||
|
font-size: 1.2rem;
|
||
|
margin-bottom: 0.3rem;
|
||
|
}
|
||
|
|
||
|
.inputs {
|
||
|
display: grid;
|
||
|
grid-template-columns: 10vw auto auto 8vw;
|
||
|
grid-template-rows: auto auto auto auto;
|
||
|
justify-items: center;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
grid-template-areas:
|
||
|
". . offsetText ."
|
||
|
". tempUp offsetUp ."
|
||
|
". reqTemp offset ."
|
||
|
". tempDown offsetDown .";
|
||
|
}
|
||
|
|
||
4 years ago
|
.inputs #tempUp {
|
||
4 years ago
|
grid-area: tempUp;
|
||
|
height: 3.2rem;
|
||
|
}
|
||
|
|
||
4 years ago
|
.inputs #tempDown {
|
||
4 years ago
|
grid-area: tempDown;
|
||
|
height: 3.2rem;
|
||
|
}
|
||
|
|
||
|
.inputs #reqTemp {
|
||
|
grid-area: reqTemp;
|
||
|
font-size: 3.4rem;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.inputs span {
|
||
|
grid-area: offsetText;
|
||
|
font-size: 0.5rem;
|
||
|
color: #c1c1c1;
|
||
|
margin-bottom: -2.5rem;
|
||
|
}
|
||
|
|
||
4 years ago
|
.inputs #offsetUp {
|
||
4 years ago
|
grid-area: offsetUp;
|
||
|
height: 2.5rem;
|
||
|
margin-bottom: -1.5rem;
|
||
|
}
|
||
|
|
||
|
.inputs #offset {
|
||
|
grid-area: offset;
|
||
|
font-size: 2rem;
|
||
|
color: #9a9a9a;
|
||
|
}
|
||
|
|
||
4 years ago
|
.inputs #offsetDown {
|
||
4 years ago
|
grid-area: offsetDown;
|
||
|
height: 2.5rem;
|
||
|
margin-top: -1.5rem;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
background-color: #404040;
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
width: 100vw;
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
footer h2 {
|
||
|
text-align: center;
|
||
|
font-weight: normal;
|
||
|
font-size: 1.2rem;
|
||
|
margin-bottom: 0.3rem;
|
||
|
}
|
||
|
|
||
|
footer #temp {
|
||
|
text-align: center;
|
||
|
font-weight: normal;
|
||
|
font-size: 2.1rem;
|
||
|
margin-bottom: 1.5rem;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
position: absolute;
|
||
|
bottom: 0.3rem;
|
||
|
right: 0.3rem;
|
||
|
text-decoration: none;
|
||
|
font-size: 0.8rem;
|
||
4 years ago
|
color: #c1c1c1;
|
||
4 years ago
|
}
|
||
|
|
||
|
a:visited {
|
||
4 years ago
|
color: #c1c1c1;
|
||
4 years ago
|
}
|