59 lines
1.6 KiB
HTML
59 lines
1.6 KiB
HTML
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<meta name="viewport" content="width=device-width" />
|
||
|
<title>Negro Mate</title>
|
||
|
<link rel="shortcut icon" href="./static/css/nm_icon.png" type="image/png">
|
||
|
<style>
|
||
|
@font-face {
|
||
|
font-family: "CyrBit";
|
||
|
src: url("static/css/CyrBit.ttf");
|
||
|
}
|
||
|
body {
|
||
|
background-color: #232323;
|
||
|
}
|
||
|
h1 {
|
||
|
font-family: "CyrBit";
|
||
|
text-align: center;
|
||
|
font-size: 50pt;
|
||
|
border: 5px solid black;
|
||
|
background: white;
|
||
|
margin: 1em auto 0;
|
||
|
min-width: 300px;
|
||
|
width: 30%;
|
||
|
}
|
||
|
a {
|
||
|
font-size: 200pt;
|
||
|
font-weight: bold;
|
||
|
background-color: white;
|
||
|
color: black;
|
||
|
display: block;
|
||
|
line-height: 210pt;
|
||
|
margin: 10pt auto 0;
|
||
|
width: 210pt;
|
||
|
height: 210pt;
|
||
|
text-align: center;
|
||
|
border-radius: 105pt;
|
||
|
text-decoration: none;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Negro mate</h1>
|
||
|
<a href="./home/">#</a>
|
||
|
</body>
|
||
|
<script>
|
||
|
var body = document.getElementsByTagName('body')[0];
|
||
|
body.addEventListener('keypress', function(event) {
|
||
|
switch(event.key) {
|
||
|
case "p":
|
||
|
window.location = './playlist/';
|
||
|
break;
|
||
|
}
|
||
|
console.log(event.key);
|
||
|
});
|
||
|
</script>
|
||
|
</html>
|