mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
p-p-p-p-pwettier code ><
This commit is contained in:
parent
5a62d69415
commit
b228995013
24
404.html
24
404.html
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}</style>
|
||||
<style>
|
||||
:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="./js/themes.js" defer></script>
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}</style>
|
||||
<style>
|
||||
:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="./js/themes.js" defer></script>
|
||||
<script src="/js/all.js"></script>
|
||||
|
||||
|
34
index.html
34
index.html
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}</style>
|
||||
<style>
|
||||
:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="./js/themes.js" defer></script>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
|
||||
@ -19,7 +21,7 @@
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
||||
<script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css" />
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
|
||||
<script src="./js/particles/particles.min.js"></script>
|
||||
@ -28,7 +30,7 @@
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");
|
||||
</style>
|
||||
|
||||
|
||||
<title>Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="keywords" content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git, gaming, internet, website, best, site, cool, free games" />
|
||||
@ -39,11 +41,11 @@
|
||||
<meta name="author" content="Website Creator" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
|
||||
|
||||
|
||||
<script src="./js/cookie.js"></script>
|
||||
<script src="./js/games.js"></script>
|
||||
<script src="./js/search.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
Toastify({
|
||||
@ -76,7 +78,7 @@
|
||||
<input class="hiddenUpload" type="file" accept=".save" hidden />
|
||||
|
||||
<div class="title">
|
||||
<img src="./new.svg" style="width: 4%;padding-right: 1%;filter: invert(var(--invert-logo, 0));" />
|
||||
<img src="./new.svg" style="width: 4%; padding-right: 1%; filter: invert(var(--invert-logo, 0))" />
|
||||
<h2 style="font-size: 70px">selenite</h2>
|
||||
</div>
|
||||
<a href="javascript:downloadMainSave()">Download Save</a><a href="javascript:uploadMainSave()">Upload Save</a>
|
||||
|
48
js/themes.js
48
js/themes.js
@ -1,27 +1,27 @@
|
||||
$.getJSON("/themes.json", function (data) {
|
||||
loadedthemes = data;
|
||||
let currenttheme = getCookie("theme")
|
||||
if (currenttheme == "") {
|
||||
setTheme("selenite");
|
||||
} else {
|
||||
setTheme(currenttheme);
|
||||
}
|
||||
})
|
||||
loadedthemes = data;
|
||||
let currenttheme = getCookie("theme");
|
||||
if (currenttheme == "") {
|
||||
setTheme("selenite");
|
||||
} else {
|
||||
setTheme(currenttheme);
|
||||
}
|
||||
});
|
||||
|
||||
var r = document.querySelector(':root');
|
||||
var r = document.querySelector(":root");
|
||||
function setTheme(themename) {
|
||||
if (!loadedthemes[themename]) {
|
||||
alert("woah, you loaded a non-existant theme! if you found this during normal usage of the website, please send a bug report at https://forms.gle/j75WUn6UhdqsRZgf7");
|
||||
return;
|
||||
}
|
||||
r.style.setProperty('--input-bg-color', loadedthemes[themename]["--input-bg-color"]);
|
||||
r.style.setProperty('--main-text-color', loadedthemes[themename]["--main-text-color"]);
|
||||
r.style.setProperty('--p-text-color', loadedthemes[themename]["--p-text-color"]);
|
||||
r.style.setProperty('--border-color', loadedthemes[themename]["--border-color"]);
|
||||
r.style.setProperty('--star-color', loadedthemes[themename]["--star-color"]);
|
||||
r.style.setProperty('--game-color', loadedthemes[themename]["--game-color"]);
|
||||
r.style.setProperty('--bg-1', loadedthemes[themename]["--bg-1"]);
|
||||
r.style.setProperty('--bg-2', loadedthemes[themename]["--bg-2"]);
|
||||
r.style.setProperty('--invert-logo', loadedthemes[themename]["--invert-logo"]);
|
||||
Cookies.set("theme", themename);
|
||||
}
|
||||
if (!loadedthemes[themename]) {
|
||||
alert("woah, you loaded a non-existant theme! if you found this during normal usage of the website, please send a bug report at https://forms.gle/j75WUn6UhdqsRZgf7");
|
||||
return;
|
||||
}
|
||||
r.style.setProperty("--input-bg-color", loadedthemes[themename]["--input-bg-color"]);
|
||||
r.style.setProperty("--main-text-color", loadedthemes[themename]["--main-text-color"]);
|
||||
r.style.setProperty("--p-text-color", loadedthemes[themename]["--p-text-color"]);
|
||||
r.style.setProperty("--border-color", loadedthemes[themename]["--border-color"]);
|
||||
r.style.setProperty("--star-color", loadedthemes[themename]["--star-color"]);
|
||||
r.style.setProperty("--game-color", loadedthemes[themename]["--game-color"]);
|
||||
r.style.setProperty("--bg-1", loadedthemes[themename]["--bg-1"]);
|
||||
r.style.setProperty("--bg-2", loadedthemes[themename]["--bg-2"]);
|
||||
r.style.setProperty("--invert-logo", loadedthemes[themename]["--invert-logo"]);
|
||||
Cookies.set("theme", themename);
|
||||
}
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}</style>
|
||||
<style>
|
||||
:root {
|
||||
--input-bg-color: #74747488;
|
||||
--main-text-color: #dadada;
|
||||
--p-text-color: #a1a1a1;
|
||||
--border-color: #979797bb;
|
||||
--star-color: #ffffff;
|
||||
--game-color: #5e5e5e66;
|
||||
--bg-1: #0c0c0c;
|
||||
--bg-2: #030303;
|
||||
--invert-logo: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="./js/themes.js" defer></script>
|
||||
<script src="/js/all.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css" />
|
||||
@ -72,7 +74,7 @@
|
||||
<input class="hiddenUpload" type="file" accept=".save" hidden />
|
||||
|
||||
<div class="title">
|
||||
<img src="./new.svg" style="width: 4%;padding-right:1%;filter: invert(var(--invert-logo, 0));" />
|
||||
<img src="./new.svg" style="width: 4%; padding-right: 1%; filter: invert(var(--invert-logo, 0))" />
|
||||
<h2 style="font-size: 70px">selenite</h2>
|
||||
</div>
|
||||
|
||||
@ -89,9 +91,9 @@
|
||||
<button onclick="javascript:clearCloak();">Clear your current tab cloak</button>
|
||||
<br />
|
||||
<h3>Themes</h3>
|
||||
<button onclick="setTheme('selenite')" style="background-color:#747474;color:#dadada;border: 2px solid #979797;">Selenite</button>
|
||||
<button onclick="setTheme('lightmode')" style="background-color:#aaaaaa;color:#dddddd;border: 2px solid #999999;">Selenite - Blinding Edition</button>
|
||||
<button onclick="setTheme('egamepass')" style="background-color:#596eb1;color:#95baf1;border: 2px solid #5586e0;">e-gamepass</button>
|
||||
<button onclick="setTheme('selenite')" style="background-color: #747474; color: #dadada; border: 2px solid #979797">Selenite</button>
|
||||
<button onclick="setTheme('lightmode')" style="background-color: #aaaaaa; color: #dddddd; border: 2px solid #999999">Selenite - Blinding Edition</button>
|
||||
<button onclick="setTheme('egamepass')" style="background-color: #596eb1; color: #95baf1; border: 2px solid #5586e0">e-gamepass</button>
|
||||
<br />
|
||||
<form action="javascript:setPanicMode();">
|
||||
<h3 for="panic">Website URL</h3>
|
||||
@ -99,8 +101,6 @@
|
||||
<input type="text" id="panic" name="panic" placeholder="https://google.com" /><br />
|
||||
<input id="panic" class="submit" type="submit" value="Set Panic Mode" />
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user