Skip to content

Commit c13eeef

Browse files
Remove 1v1.lol and add an empty design
1 parent a3aa34c commit c13eeef

17 files changed

Lines changed: 221 additions & 30 deletions

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ <h2 style="font-size: 40px;">
2929
<button class="design" onclick="switchDesign()">Switch Design</button>
3030
</div>
3131
<h2>
32-
<a class="mirror" onclick="selectMirror()">Mirror Sites</a>
33-
<a class="travesty" onclick="openTravesty()">Community Travesty</a>
34-
<a class="github" onclick="openGithub()">GitHub</a>
35-
<a class="youtube" onclick="openYoutube()">YouTube</a>
36-
<a class="rumble" onclick="openRumble()">Rumble</a>
32+
<button class="mirror" onclick="selectMirror()">Mirror Sites</button>
33+
<button class="travesty" onclick="openTravesty()">Community Travesty</button>
34+
<button class="github" onclick="openGithub()">GitHub</button>
35+
<button class="youtube" onclick="openYoutube()">YouTube</button>
36+
<button class="rumble" onclick="openRumble()">Rumble</button>
3737
</h2>
3838
<table style="margin-top: 50px;">
3939
<td class="footer">

mirror-links/script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
if (localStorage.getItem('theme') == 1) {
22
document.querySelector('link[rel="stylesheet"]').href = 'style-legacy.css';
33
}
4+
else if (localStorage.getItem('theme') == 2) {
5+
document.querySelector('link[rel="stylesheet"]').href = 'style-empty.css';
6+
}
47
else {
58
document.querySelector('link[rel="stylesheet"]').href = 'style.css';
69
}

mirror-links/style-empty.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
h1, h2, h3, div, p, a, button, strong {
2+
text-align: center;
3+
}
4+
5+
ul {
6+
text-align: left;
7+
display: inline-block;
8+
}
9+
10+
.ludos {
11+
background-color: transparent;
12+
text-decoration: none;
13+
}
14+
15+
.footer {
16+
display: none;
17+
}
18+
19+
.main {
20+
width: 32vw;
21+
height: auto;
22+
max-width: 800px;
23+
min-width: 300px;
24+
font-size: 75px;
25+
padding: 30px 64px;
26+
cursor: pointer;
27+
}

projects/eaglercraft/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1 a>
1616
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1717
<link href="style.css" rel="stylesheet">
1818
<script src="script.js"></script>
19-
<link type="image/png" rel="shortcut icon" href="../favicons/ludos-favicon.png" />
19+
<link type="image/png" rel="shortcut icon" href="../../favicons/ludos-favicon.png" />
2020
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1576606614118788" crossorigin="anonymous"></script>
2121
</head>
2222

@@ -70,10 +70,10 @@ <h1 a>
7070

7171
const gamesHtml = gameIcons.map(game => {
7272
return `
73-
<a class="${game.id.toLowerCase()}" onclick="${game.onclick}">
73+
<button class="${game.id.toLowerCase()}" onclick="${game.onclick}">
7474
<img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/${game.icon}" width="100" height="100">
7575
<br>${game.name}
76-
</a>
76+
</button>
7777
`;
7878
}).join("");
7979

projects/eaglercraft/script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ function returnToProjects() {
55
if (localStorage.getItem('theme') == 1) {
66
document.querySelector('link[rel="stylesheet"]').href = 'style-legacy.css';
77
}
8+
else if (localStorage.getItem('theme') == 2) {
9+
document.querySelector('link[rel="stylesheet"]').href = 'style-empty.css';
10+
}
811
else {
912
document.querySelector('link[rel="stylesheet"]').href = 'style.css';
1013
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
h1, h2, div {
2+
text-align: center;
3+
font-size: 80px;
4+
}
5+
6+
.footer {
7+
display: none;
8+
}
9+
10+
.main {
11+
width: 90vw;
12+
height: 100px;
13+
max-width: 1200px;
14+
cursor: pointer;
15+
font-size: 40px;
16+
margin-bottom: 100px;
17+
}
18+
19+
.games {
20+
margin-bottom: 20px;
21+
}
22+
23+
.eaglercraft1_12_2,
24+
.eaglercraft1_12_2_wasm,
25+
.eaglercraftx,
26+
.eaglercraftx_wasm,
27+
.eaglercraftx_shadow,
28+
.eaglercraft1_6_4,
29+
.eaglercraft1_5_2,
30+
.eaglercraftb1_3,
31+
.eaglercraftb1_7_3,
32+
.eaglercrafta1_2_6
33+
{
34+
width: 25vw;
35+
min-width: 350px;
36+
max-width: 650px;
37+
display: inline-block;
38+
padding: 24px;
39+
cursor: pointer;
40+
font-size: 35px;
41+
margin-bottom: 20px;
42+
}

projects/eaglercraft/style-legacy.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ h1, h2, div {
2727
width: 90vw;
2828
height: 100px;
2929
max-width: 1200px;
30-
margin: 24px;
3130
border-style: solid;
3231
border-radius: 10px;
3332
color: #ffffff;

projects/eaglercraft/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ h1, h2, div {
2626
width: 90vw;
2727
height: 100px;
2828
max-width: 1200px;
29-
margin: 24px;
3029
background-color: transparent;
3130
border-style: solid;
3231
border-color: #242424;

projects/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2 style="font-size: 40px;">
2626
<button class="main" onclick="returnHome()">Return to main site</button>
2727
</div>
2828
<div>
29-
<a class="eaglercraft" onclick="openEaglercraft()"><img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/eaglerx.png" width="100" height="100"><br>Eaglercraft Clients</a>
29+
<button class="eaglercraft" onclick="openEaglercraft()"><img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/eaglerx.png" width="100" height="100"><br>Eaglercraft Clients</button>
3030
</div>
3131
<div class="games">
3232
<div id="games-container"></div>
@@ -53,7 +53,7 @@ <h2 style="font-size: 40px;">
5353
{name: "Planetesimals", id: "planet", icon: "planet.png", onclick: "openGame('planetesimals')"},
5454
{name: "Cookie Clicker", id: "cookie-clicker", icon: "cookie-clicker.png", onclick: "openGame('cookieClicker')"},
5555
{name: "Baldi's Basics", id: "baldis-basics", icon: "baldis-basics.png", onclick: "openGame('baldisBasics')"},
56-
{name: "1v1.Lol", id: "vlol", icon: "vlol.png", onclick: "openGame('onevonelol')"},
56+
// {name: "1v1.Lol", id: "vlol", icon: "vlol.png", onclick: "openGame('onevonelol')"},
5757
{name: "A Dance of Fire and Ice", id: "dance-fire-ice", icon: "dance.png", onclick: "openGame('aDanceOfFireAndIce')"},
5858
{name: "Ten Minutes Till Dawn", id: "ten-mins", icon: "10-mins.png", onclick: "openGame('tenMinutesUntilDawn')"},
5959
{name: "2048", id: "number-game", icon: "2048.png", onclick: "openGame('2048')"},
@@ -75,7 +75,7 @@ <h2 style="font-size: 40px;">
7575
planetesimals: "planetesimals",
7676
cookieClicker: "choco-chip",
7777
baldisBasics: "baldis-basics",
78-
onevonelol: "shootgame3d",
78+
// onevonelol: "shootgame3d",
7979
aDanceOfFireAndIce: "a-dance-of-fire-and-ice",
8080
tenMinutesUntilDawn: "10-minutes-till-dawn",
8181
2048: "numbergame",
@@ -92,10 +92,10 @@ <h2 style="font-size: 40px;">
9292

9393
const gamesHtml = gameIcons.map(game => {
9494
return `
95-
<a class="${game.id.toLowerCase()}" onclick="${game.onclick}">
95+
<button class="${game.id.toLowerCase()}" onclick="${game.onclick}">
9696
<img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/${game.icon}" width="80" height="80">
9797
<br>${game.name}
98-
</a>
98+
</button>
9999
`;
100100
}).join("");
101101

projects/script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ function openEaglercraft() {
99
if (localStorage.getItem('theme') == 1) {
1010
document.querySelector('link[rel="stylesheet"]').href = 'style-legacy.css';
1111
}
12+
else if (localStorage.getItem('theme') == 2) {
13+
document.querySelector('link[rel="stylesheet"]').href = 'style-empty.css';
14+
}
1215
else {
1316
document.querySelector('link[rel="stylesheet"]').href = 'style.css';
1417
}

0 commit comments

Comments
 (0)