mirror of https://github.com/reiyua/reiyua.lol.git
34 lines
521 B
CSS
34 lines
521 B
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
#bg-video {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transform: translate(-50%, -50%);
|
|
z-index: -1;
|
|
}
|
|
|
|
.centered-content {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
color: #ffffff;
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 4em;
|
|
color: #ffffff;
|
|
}
|