inital
This commit is contained in:
commit
20cbc58bdd
3 changed files with 132 additions and 0 deletions
BIN
bg.jpg
Normal file
BIN
bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 437 KiB |
93
index.html
Normal file
93
index.html
Normal file
|
@ -0,0 +1,93 @@
|
|||
<head>
|
||||
<title>domspace</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="link-container">
|
||||
<div id="main" style='display:block'>
|
||||
<a href="https://www.domdit.com" id="domdit" class="link">[d] domdit </a><br>
|
||||
<a href="https://www.shrinkinminkin.com" id="shrinkin-minkin" class="link">[s] shrinkin-minkin </a><br>
|
||||
<a href="https://transmission.domdit.com" id="transmission" class="link">[t] transmission </a><br>
|
||||
<a href="https://git.domdit.com/" id="git" class="link">[g] git </a><br>
|
||||
<a href="https://inbox.purelymail.com/?_task=mail&_mbox=INBOX" id="mail" class="link">[m] mail </a><br>
|
||||
<a href="https://wiki.archlinux.org/" id="arch-wiki" class="link">[a] arch-wiki </a><br>
|
||||
<a href="https://www.youtube.com" id="youtube" class="link">[y] youtube </a><br>
|
||||
<a href="https://www.4chan.org" id="4chan" class="link">[f] 4chan </a><br>
|
||||
</div>
|
||||
|
||||
<div id="torrents" style='display:none;'>
|
||||
<a href="https://jpopsuki.eu/" class="link">[j] jpopsuki</a> <br>
|
||||
<a href="https://avistaz.to/" class="link">[v] avistaz</a> <br>
|
||||
<a href="https://exoticaz.to/" class="link">[e] exoticaz</a> <br>
|
||||
<a href="https://nyaa.si/" class="link">[n] nyaa</a> <br>
|
||||
<a href="https://sukebei.nyaa.si/" class="link">[u] sukebei.nyaa</a> <br>
|
||||
</div>
|
||||
|
||||
<div id="other" style='display:none'>
|
||||
<a href="https://dukenukemis.cool/" class="link">[i] icum.to</a> <br>
|
||||
<a href="https://lukesmith.xyz/" class="link">[l] luke smith</a> <br>
|
||||
<a href="https://digdeeper.club/" class="link">[p] digdeeper</a> <br>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<span style="font-size:14px">
|
||||
<a href="#" class="link" onclick="toggleSection('main')">[1] main</a> |
|
||||
<a href="#" class="link" onclick="toggleSection('torrents')">[2] torrents</a> |
|
||||
<a href="#" class="link" onclick="toggleSection('other')">[3] other</a>
|
||||
</span><br>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
|
||||
var key_map = {
|
||||
'a': 'https://wiki.archlinux.org/',
|
||||
'd': 'https://www.domdit.com',
|
||||
'e': 'https://exoticaz.to/',
|
||||
'g': 'https://git.domdit.com/',
|
||||
'j': 'https://jpopsuki.eu/',
|
||||
'm': 'https://inbox.purelymail.com/?_task=mail&_mbox=INBOX',
|
||||
'n': 'https://nyaa.si/',
|
||||
's': 'https://www.shrinkinminkin.com',
|
||||
't': 'https://transmission.domdit.com',
|
||||
'u': 'https://sukebei.nyaa.si/',
|
||||
'v': 'https://avistaz.to/',
|
||||
'y': 'https://www.youtube.com',
|
||||
'f': 'https://www.4chan.org'
|
||||
}
|
||||
|
||||
function toggleSection(section) {
|
||||
var sections = ['main', 'torrents', 'other']
|
||||
for (let i = 0; i < sections.length; i++) {
|
||||
if (section == sections[i]) {
|
||||
document.getElementById(sections[i]).style.display = 'block';
|
||||
} else {
|
||||
document.getElementById(sections[i]).style.display = 'none';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
document.onkeypress = function (e) {
|
||||
|
||||
|
||||
if (e.key == '1') {
|
||||
toggleSection('main');
|
||||
} else if (e.key == '2') {
|
||||
toggleSection('torrents');
|
||||
} else if (e.key == '3') {
|
||||
toggleSection('other');
|
||||
} else {
|
||||
if (e.key in key_map) {
|
||||
window.location.href = key_map[e.key];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
</script>
|
39
style.css
Normal file
39
style.css
Normal file
|
@ -0,0 +1,39 @@
|
|||
body {
|
||||
background-image: url("bg.jpg");
|
||||
background-size: cover;
|
||||
font-family: monospace, monospace;
|
||||
font-size: 25px;
|
||||
color: #e6e6fa;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.link-container {
|
||||
width: 300px;
|
||||
background: rgba(255, 255, 255, 0.11);
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.26);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: #e6e6fa;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
color: #FF3F33;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
Loading…
Reference in a new issue