openCountdown/static/css/styles.css

113 lines
2.0 KiB
CSS
Raw Normal View History

2022-02-23 21:55:13 +01:00
html, body {
height: 100%;
width: 100%;
background-color: black;
color: white;
overflow: hidden;
margin: 0px;
}
.container {
margin: 0px;
width: 100%;
height: 100%;
outline: dashed 1px black;
display: flex;
margin-left: auto;
margin-right: auto;
/* Setup */
position: relative;
justify-content: center;
align-items: center;
2022-02-24 21:08:31 +01:00
flex-direction: column;
2022-02-23 21:55:13 +01:00
}
.timer {
2022-02-24 19:11:13 +01:00
font-size: 20em;
2022-02-23 21:55:13 +01:00
text-align: center;
2022-02-24 19:11:13 +01:00
font-variant-numeric: tabular-nums;
font-family: sans-serif;
2022-02-24 21:08:31 +01:00
order: 1;
}
.clockSec {
padding: 5%;
font-size: 10em;
color: grey;
text-align: center;
font-variant-numeric: tabular-nums;
font-family: sans-serif;
order: 1;
2022-02-23 21:55:13 +01:00
}
2022-02-24 22:18:21 +01:00
.progWrapper{
font-size: 10em;
background-color: rgba(63, 63, 63, 0.733);
text-align: center;
font-variant-numeric: tabular-nums;
font-family: sans-serif;
order: 1;
height: 24px;
width: 80%;
border: 1px solid rgb(63, 63, 63);
}
.progBar {
appearance: none;
height: 100%;
width: 80%;
border-radius: 0px;
background-color: darkcyan;
}
2022-02-23 21:55:13 +01:00
.testImg{
height: 100%;
width: 100%;
2022-02-24 19:11:13 +01:00
}
2022-02-24 21:08:31 +01:00
#overlay {
position: fixed;
font-family: sans-serif;
display: none;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
}
#text{
position: absolute;
top: 70%;
left: 50%;
font-size: 50px;
color: white;
transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
}
@keyframes fade {
from { opacity: 1.0; }
50% { opacity: 0.5; }
to { opacity: 1.0; }
}
@-webkit-keyframes fade {
from { opacity: 1.0; }
50% { opacity: 0.5; }
to { opacity: 1.0; }
}
.blink {
animation:fade 1000ms infinite;
-webkit-animation:fade 1000ms infinite;
2022-02-25 22:24:45 +01:00
}
.connectionWarning{
background-color: red;
width: 100vw;
font-size: x-large;
font-family: sans-serif;
}