69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
@import '../../../node_modules/tachyons/css/tachyons.css';
|
|
|
|
body {
|
|
background-color: #111;
|
|
color: #eee;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
'Helvetica Neue', sans-serif;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
main {
|
|
font-size: min(5vw, 5rem);
|
|
text-align: center;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.countdown {
|
|
font-size: min(8rem, 25vh);
|
|
}
|
|
|
|
.tile {
|
|
position: fixed;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 1.5rem;
|
|
background: #ffffff12;
|
|
border: none;
|
|
padding: 0.25em 1em;
|
|
color: currentColor;
|
|
opacity: 0.5;
|
|
transition: all 150ms ease;
|
|
}
|
|
|
|
.tile:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.message {
|
|
top: 3rem;
|
|
}
|
|
|
|
button {
|
|
bottom: 3rem;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #2c2cce;
|
|
}
|
|
|
|
.progress {
|
|
width: 100%;
|
|
height: 3rem;
|
|
border: 0.125rem solid currentColor;
|
|
}
|
|
|
|
.progress > div {
|
|
background-color: currentColor;
|
|
height: 100%;
|
|
width: 100%;
|
|
transition: width ease-out 250ms;
|
|
}
|