zeldon-site/src/css/style.css

75 lines
933 B
CSS

* {
user-select: none;
-webkit-user-select: none
}
html {
box-sizing: border-box;
}
body {
margin: 0;
display: grid;
user-select: none;
background: rgb(0, 0, 0);
color: #FFF;
touch-action: none;
-webkit-overflow-scrolling: auto;
overflow: hidden;
overscroll-behavior: none;
}
canvas {
width: 100%;
height: 100%;
}
.greeting {
margin-bottom: 0.5em;
}
.clock {
margin-top: 0
}
.container {
display: grid;
place-items: center;
width: 100%;
height: 100vh;
font-size: 17px;
}
canvas,
.container {
grid-column: 1 / -1;
grid-row: 1 / -1
}
.content {
text-align: center;
letter-spacing: 0.5em;
animation: fadein 2s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.content>* {
opacity: 0.5;
}
.content-info {
transition: opacity 300ms;
}
.content-info:hover {
opacity: 1.0;
}
.button-container {
opacity: 1.0;
}
@media (max-width: 420px) {
body {
height: 100%;
}
}