Website push

main
hertog 2023-07-24 10:44:39 +02:00
parent afbd130cdc
commit 8703537551
2 changed files with 84 additions and 0 deletions

16
index.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="typewriter.css" />
<title>HermitCollective.net</title>
</head>
<body>
<div class="container">
<p class="first_line">Welcome to HermitCollective</p>
<p class="second_line">We are still work in progress...</p>
</div>
</body>
</html>

68
typewriter.css Normal file
View File

@ -0,0 +1,68 @@
body {
height: 100%;
width: 100%;
background: #000000;
color: #b30000;
font-family: "Lucida Console", monospace;
}
.container {
margin-top: 5%;
width: 100%;
height: 100%;
padding: 70px;
}
.first_line,
.second_line {
white-space: nowrap; /* keep text in one line */
overflow: hidden; /* hide text behind the cursor */
margin: 0.5rem auto;
font-family: "Lucida Console", monospace;
font-size: 2rem;
font-weight: bold;
}
.first_line {
border-right: 2px solid rgba(17, 17, 17, 0.9);
/* define animation types for text + cursor */
animation: typewriter_1 3s steps(25) 1s 1 normal both,
first_cursor 900ms steps(33) 8;
}
.second_line {
border-right: 2px solid rgba(17, 17, 17, 0.9);
/* define animation types for text + cursor */
animation: typewriter_2 5s steps(31) 1s 1 normal both,
second_cursor 900ms steps(31) infinite;
-webkit-animation-delay: 7s;
animation-delay: 7s;
}
@keyframes typewriter_1 {
from {
width: 0;
}
to {
width: 34rem;
}
}
@keyframes typewriter_2 {
from {
width: 0;
}
to {
width: 40rem;
}
}
@keyframes first_cursor {
from {
border-right-color: rgba(17, 17, 17, 0.9);
}
to {
border-right-color: rgba(255, 255, 255, 0.8);
}
}
@keyframes second_cursor{
from {
border-right-color: rgba(17, 17, 17, 0.9);
}
to {
border-right-color: rgba(255, 255, 255, 0.8);
}
}