111 lines
2.9 KiB

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Communist Manifesto Typer ☭</title>
<script src="public/js/scripts.js"></script>
<meta property="og:title" content="The Communist Manifesto Typer" />
<meta property="og:description" content="The Communist Manifesto Typer website, where you can read while typing The Communist Manifesto" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
<meta property="og:site_name" content="The Communist Manifesto Typer" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>☭</text></svg>">
:root {
--main-link-color: #be1918;
body {
font-family: serif;
font-size: 16px;
padding-bottom: 32px;
h1 {
text-align: center;
a {
color: var(--main-link-color);
#manifesto {
display: block;
margin: 0 auto;
max-width: 960px;
#manifesto pre {
max-width: 960px;
#manifesto .contents {
white-space: break-spaces;
footer {
background: #f7f7f7;
bottom: 0;
height: 32px;
left: 0;
padding: 8px 16px 0;
position: fixed;
width: 100%;
@keyframes cursor-blink {
0% {
opacity: 0;
#manifesto span::after {
animation: cursor-blink 1.5s steps(2) infinite;
background: black;
content: "";
display: inline-block;
height: 18px;
margin-left: 2px;
margin-bottom: -2px;
width: 3px;
#placeholder {
background: transparent;
border: none;
color: transparent;
height: 95vh;
position: absolute;
resize: none;
top: 0;
width: 95vw;
z-index: 1;
#placeholder:focus {
top: -100000px;
<textarea id="placeholder" spellcheck="false"></textarea>
<h1>The Communist Manifesto</h1>
<pre id="manifesto">
<span class="contents">
<footer role="footer">
<a href="" title="Code repository on Codeberg">source</a>
<span title="All source code, unless specifically stated otherwise, is licensed under AGPLv3 or later.">AGPLv3</span>
<a href="" title="Original text of the Communist Manifesto - The Project Gutenberg eBook of The Communist Manifesto by Karl Marx and Friedrich Engels
">original text</a>