This commit is contained in:
blank X 2019-01-26 00:20:03 +07:00
parent 984d740416
commit 86e49e1d0f
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
5 changed files with 16 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<h1 class='transred'>/blankx/.hell.html</h1> <h1 class='transred'>/blankx/.hell.html</h1>
<p class='red'>Welcome to hell.</p> <p class='red'>Welcome to hell.</p>
<br> <br>
<p class='black'>I'm just trying to be scary.</p> <p class='blacknds'>I'm just trying to be scary. Thanks to amolith for making <a class='blacknds' href='https://git.nixnet.xyz/Amolith/dotfiles#dr-smith-a-custom-font'>Dr. Smith</a></p>
</div> </div>
</body> </body>
</html> </html>

BIN
public/fonts/drsmith.otf Normal file

Binary file not shown.

View File

@ -6,6 +6,14 @@
font-family: 'Transformers'; font-family: 'Transformers';
src: url('fonts/transformers.ttf'); src: url('fonts/transformers.ttf');
} }
@font-face {
/* Dr. Smith made by Amolith, https://git.nixnet.xyz/Amolith/dotfiles#dr-smith-a-custom-font */
font-family: 'Dr. Smith';
src: url('fonts/drsmith.otf');
}
p.ds, a.ds {
font-family: 'Dr. Smith', sans-serif;
}
h1.transred { h1.transred {
font-family: 'Transformers', sans-serif; font-family: 'Transformers', sans-serif;
color: red; color: red;
@ -14,7 +22,6 @@ meta.colon_p {
color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.5);
} }
body.jack { body.jack {
/* comment by future blank: no */
background-color: red; background-color: red;
background-image: url('jack.png'); background-image: url('jack.png');
} }
@ -64,6 +71,10 @@ div.container {
p.black { p.black {
color: black; color: black;
} }
p.blacknds, a.blacknds {
color: black;
font-family: 'Dr. Smith', sanserif;
}
div.tocclass, iframe { div.tocclass, iframe {
/* display: flex; /* display: flex;
box-sizing: border-box; */ box-sizing: border-box; */

View File

@ -4,6 +4,6 @@
<link rel="stylesheet" type="text/css" href="index.css"> <link rel="stylesheet" type="text/css" href="index.css">
</head> </head>
<body> <body>
<p>sensible-browser /blankx/{{<a href='index.html'>index</a>,<a href='contact.html'>contact</a>,<a href='get-keys.html'>get-keys</a>,<a href='template.html'>template</a>,<a href='404.html'>404</a>,<a href='403.html'>403</a>,<a href='toc.html'>toc</a>}.html,redir/{<a href='redir/blankx'>blankx</a>,<a href='redir/dotfiles'>dotfiles</a>,<a href='redir/gpgp'>gpgp</a>,<a href='redir/controller'>controller</a>,<a href='redir/command-runner'>command-runner</a>},<a href='keybase.txt'>keybase.txt</a>,<a href='jack.png'>jack.png</a>,<a href='toc.js'>toc.js</a>}</p> <p class='ds'>sensible-browser /blankx/{{<a class='ds' href='index.html'>index</a>,<a class='ds' href='contact.html'>contact</a>,<a class='ds' href='get-keys.html'>get-keys</a>,<a class='ds' href='template.html'>template</a>,<a class='ds' href='404.html'>404</a>,<a class='ds' href='403.html'>403</a>,<a class='ds' href='toc.html'>toc</a>}.html,redir/{<a class='ds' href='redir/blankx'>blankx</a>,<a class='ds' href='redir/dotfiles'>dotfiles</a>,<a class='ds' href='redir/gpgp'>gpgp</a>,<a class='ds' href='redir/controller'>controller</a>,<a class='ds' href='redir/command-runner'>command-runner</a>},<a class='ds' href='keybase.txt'>keybase.txt</a>,<a class='ds' href='jack.png'>jack.png</a>,<a class='ds' href='toc.js'>toc.js</a>,<a class='ds' href='index.css'>index.css</a>} || echo Thanks to amolith for creating <a class='ds' href='https://git.nixnet.xyz/Amolith/dotfiles#dr-smith-a-custom-font'>Dr. Smith</a>.</p>
</body> </body>
</html> </html>

View File

@ -1,8 +1,8 @@
let cururl = window.location.href; let cururl = window.location.href;
if (cururl.indexOf('redir') >= 0) { if (cururl.indexOf('redir') >= 0) {
let toccon = "<p>sensible-browser /blankx/{{<a href='../index.html'>index</a>,<a href='../contact.html'>contact</a>,<a href='../get-keys.html'>get-keys</a>,<a href='../template.html'>template</a>,<a href='../404.html'>404</a>,<a href='../403.html'>403</a>,<a href='../toc.html'>toc</a>}.html,redir/{<a href='../redir/blankx'>blankx</a>,<a href='../redir/dotfiles'>dotfiles</a>,<a href='../redir/gpgp'>gpgp</a>,<a href='../redir/controller'>controller</a>,<a href='../redir/command-runner'>command-runner</a>},<a href='../keybase.txt'>keybase.txt</a>,<a href='../jack.png'>jack.png</a>,<a href='../toc.js'>toc.js</a>}</p>"; let toccon = "<p>sensible-browser /blankx/{{<a href='../index.html'>index</a>,<a href='../contact.html'>contact</a>,<a href='../get-keys.html'>get-keys</a>,<a href='../template.html'>template</a>,<a href='../404.html'>404</a>,<a href='../403.html'>403</a>,<a href='../toc.html'>toc</a>}.html,redir/{<a href='../redir/blankx'>blankx</a>,<a href='../redir/dotfiles'>dotfiles</a>,<a href='../redir/gpgp'>gpgp</a>,<a href='../redir/controller'>controller</a>,<a href='../redir/command-runner'>command-runner</a>},<a href='../keybase.txt'>keybase.txt</a>,<a href='../jack.png'>jack.png</a>,<a href='../toc.js'>toc.js</a>,<a href='../index.css'>index.css</a>}</p>";
document.getElementById("tocid").innerHTML = toccon; document.getElementById("tocid").innerHTML = toccon;
} else { } else {
let toccon = "<p>sensible-browser /blankx/{{<a href='index.html'>index</a>,<a href='contact.html'>contact</a>,<a href='get-keys.html'>get-keys</a>,<a href='template.html'>template</a>,<a href='404.html'>404</a>,<a href='403.html'>403</a>,<a href='toc.html'>toc</a>}.html,redir/{<a href='redir/blankx'>blankx</a>,<a href='redir/dotfiles'>dotfiles</a>,<a href='redir/gpgp'>gpgp</a>,<a href='redir/controller'>controller</a>,<a href='redir/command-runner'>command-runner</a>},<a href='keybase.txt'>keybase.txt</a>,<a href='jack.png'>jack.png</a>,<a href='toc.js'>toc.js</a>}</p>"; let toccon = "<p>sensible-browser /blankx/{{<a href='index.html'>index</a>,<a href='contact.html'>contact</a>,<a href='get-keys.html'>get-keys</a>,<a href='template.html'>template</a>,<a href='404.html'>404</a>,<a href='403.html'>403</a>,<a href='toc.html'>toc</a>}.html,redir/{<a href='redir/blankx'>blankx</a>,<a href='redir/dotfiles'>dotfiles</a>,<a href='redir/gpgp'>gpgp</a>,<a href='redir/controller'>controller</a>,<a href='redir/command-runner'>command-runner</a>},<a href='keybase.txt'>keybase.txt</a>,<a href='jack.png'>jack.png</a>,<a href='toc.js'>toc.js</a>,<a href='index.css'>index.css</a>}</p>";
document.getElementById("tocid").innerHTML = toccon; document.getElementById("tocid").innerHTML = toccon;
} }