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.

76 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>~ashe</title>
<script src="https://unpkg.com/ansi_up@5.1.0/ansi_up.js"></script>
</head>
<body>
3 years ago
<div class="container">
<div id="target"></div>
</div>
<style>
html, body {
--background-color: rgb(37, 29, 51);
--foreground-color: white;
color: var(--foreground-color);
3 years ago
margin: 0;
padding: 0;
}
3 years ago
a {
color: currentColor!important;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background: black;
}
.container {
background: var(--background-color);
white-space: pre-wrap;
word-break: break-all;
font-family: 'Courier New', Courier, monospace;
3 years ago
height: 450px;
width: 600px;
position: relative;
overflow: hidden;
user-select: none;
}
#target {
position: absolute;
bottom: 0;
min-height: 100%;
}
#target::after {
content: '█';
display: inline-block;
3 years ago
animation: blink 2.4s infinite;
opacity: .8;
}
@keyframes blink {
0%, 49% {
color: var(--foreground-color);
3 years ago
border: none;
/* margin: .5px; */
}
50%, 99% {
color: transparent;
3 years ago
/* border: solid .5px var(--foreground-color); */
margin: 0px;
}
}
</style>
</body>
</html>