remove JS + add more relative URLs

This commit is contained in:
southerntofu 2019-08-26 23:13:29 +02:00
parent 173ec41691
commit ade24ec2bd
3 changed files with 2 additions and 9 deletions

View File

@ -1,6 +0,0 @@
/* Close menu buttons on select */
Array.from(document.querySelectorAll('.link-grid a')).map( el => {
el.addEventListener('click', e => {
document.getElementById("toggle").checked = false;
})
})

View File

@ -121,7 +121,7 @@ h3 {
left: 0;
cursor: pointer;
line-height: 40px;
background-image: url('/assets/nav-toggle.png');
background-image: url('nav-toggle.png');
background-size: 50px 103px;
background-position: 0 0;
background-color: rgba(255, 255, 255, 0.2);

View File

@ -9,7 +9,6 @@
<link rel='stylesheet' href='assets/styles.css'>
<link rel='canonical' href='https://tilde.black/' />
<link rel='icon' href='favicon.ico' type='image/x-icon' />
<script defer type="text/javascript" src="assets/scripts.js"></script>
</head>
<body>
<nav id='main-nav' class='link-grid'>
@ -26,7 +25,7 @@
<section id="intro">
<h1>Tilde Black</h1>
<h2>The black hole of the tildeverse</h2>
<div class="icon"><img src="/assets/black-hole.svg" alt="Icon of a Black Hole"/></div>
<div class="icon"><img src="assets/black-hole.svg" alt="Icon of a Black Hole"/></div>
<div class="copy">
<p>Tilde (~) servers are public access unix systems in the spirit of
<a href="https://tilde.club" rel="noreferrer">tilde.club</a>, which was created by Paul Ford