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
@font-face {
|
|
font-family: bebas;
|
|
src: url(font/BebasNeue-Regular.ttf);
|
|
}
|
|
|
|
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;
|
|
}
|
|
#actual-state.topi {
|
|
color: #31B907;
|
|
}
|
|
#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 .";
|
|
}
|
|
|
|
.inputs #tempUp {
|
|
grid-area: tempUp;
|
|
height: 3.2rem;
|
|
}
|
|
|
|
.inputs #tempDown {
|
|
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;
|
|
}
|
|
|
|
.inputs #offsetUp {
|
|
grid-area: offsetUp;
|
|
height: 2.5rem;
|
|
margin-bottom: -1.5rem;
|
|
}
|
|
|
|
.inputs #offset {
|
|
grid-area: offset;
|
|
font-size: 2rem;
|
|
color: #9a9a9a;
|
|
}
|
|
|
|
.inputs #offsetDown {
|
|
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;
|
|
color: #c1c1c1;
|
|
}
|
|
|
|
a:visited {
|
|
color: #c1c1c1;
|
|
} |