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.
105 lines
1.7 KiB
CSS
105 lines
1.7 KiB
CSS
@font-face{
|
|
font-family:brandon light;
|
|
src:url(../font.woff2)
|
|
}
|
|
*{
|
|
margin:0;
|
|
padding:0;
|
|
position:relative;
|
|
box-sizing:border-box;
|
|
overflow:hidden
|
|
}
|
|
|
|
html,body{
|
|
height:100%
|
|
}
|
|
|
|
body{
|
|
display:flex;
|
|
justify-content:center;
|
|
align-items:center;
|
|
background:#000
|
|
}
|
|
|
|
#bg-video {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
object-fit: cover;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: -1;
|
|
filter: brightness(75%);
|
|
}
|
|
|
|
.nav-home, .nav-as, .nav-about {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#home {
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
mix-blend-mode: overlay;
|
|
filter: invert(100%);
|
|
position: absolute;
|
|
& h1 {
|
|
font-size:5.25vmin;
|
|
}
|
|
& h2 {
|
|
font-size:2vmin;
|
|
letter-spacing: 0.25em;
|
|
margin-right: -0.25em;
|
|
}
|
|
& .social {
|
|
margin-top:.5vmin;
|
|
font-family:brandon light;
|
|
font-size:4.25vmin;
|
|
letter-spacing:.3vmin;
|
|
& a {
|
|
text-decoration:none;
|
|
color:#000;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
font-family: Calibri, monospace;
|
|
text-shadow: 0.06vw 0.06vw 0px rgba(8,230,255,100), -0.06vw -0.06vw 0px rgba(255,0,0,100);
|
|
position: absolute;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: rgba(0,0,0,0.5);
|
|
color: #FFFFFF;
|
|
text-decoration: none;
|
|
font-size: 1.39vmin;
|
|
font-weight: bold;
|
|
& pre {
|
|
display: inline-block;
|
|
& a {
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hint {
|
|
z-index:1;
|
|
color:#000;
|
|
mix-blend-mode:overlay;
|
|
filter:invert(100%);
|
|
position:fixed;
|
|
bottom:6vmin;
|
|
font-family:brandon light;
|
|
font-size:2.75vmin;
|
|
letter-spacing:.2vmin;
|
|
font-weight:700;
|
|
cursor:pointer;
|
|
}
|