lint
This commit is contained in:
parent
3f9fa188a0
commit
dbb5f10092
8 changed files with 92 additions and 88 deletions
|
@ -4,7 +4,7 @@ function redirect() {
|
|||
);
|
||||
|
||||
if (navigator.brave) {
|
||||
window.location.replace("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
|
||||
window.location.replace("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
|
||||
}
|
||||
if (!navigator.brave) {
|
||||
if (!localStorage.getItem("disclaimerAccepted")) {
|
||||
|
|
|
@ -16,14 +16,13 @@ function sendNotification() {
|
|||
}
|
||||
|
||||
async function ntfyClick() {
|
||||
if (!ntfyInput.value.replace(/\s/g, '').length) {
|
||||
if (!ntfyInput.value.replace(/\s/g, "").length) {
|
||||
ntfyButton.innerHTML = "<span>ಠ﹏ಠ</span>";
|
||||
setTimeout(() => {
|
||||
ntfyButton.innerHTML = "<span>Send</span>";
|
||||
return;
|
||||
}, 1000);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
ntfyButton.innerHTML = "<span>Sent! ( ꈍᴗꈍ)</span>";
|
||||
sendNotification();
|
||||
setTimeout(() => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN LAYOUT.ASTRO BECAUSE FUCK ME
|
||||
function onload() {
|
||||
if (sessionStorage.getItem("sgaEnabled")) {
|
||||
enableSGA()
|
||||
enableSGA();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,13 +16,15 @@ function onload() {
|
|||
*/
|
||||
|
||||
function enableSGA() {
|
||||
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
|
||||
document.getElementById("body").style.fontFamily =
|
||||
"standardGalactic, system-ui";
|
||||
sessionStorage.setItem("sgaEnabled", 1);
|
||||
console.debug(sessionStorage.getItem("sgaEnabled"));
|
||||
}
|
||||
|
||||
function disableSGA() {
|
||||
document.getElementById("body").style.fontFamily = "departure-mono, system-ui";
|
||||
document.getElementById("body").style.fontFamily =
|
||||
"departure-mono, system-ui";
|
||||
sessionStorage.removeItem("sgaEnabled");
|
||||
console.debug(sessionStorage.getItem("sgaEnabled"));
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ a:hover {
|
|||
|
||||
.container {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.error-text {
|
||||
margin-top: 0px;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
/*
|
||||
@media (prefers-color-scheme: dark) {*/
|
||||
:root {
|
||||
:root {
|
||||
--text: #f2ede7;
|
||||
--background: var(--background-950);
|
||||
--primary: #d7bfa2;
|
||||
|
@ -93,7 +93,9 @@
|
|||
--accent-800: #663800;
|
||||
--accent-900: #331c00;
|
||||
--accent-950: #1a0e00;
|
||||
}/*
|
||||
}
|
||||
|
||||
/*
|
||||
}*/
|
||||
|
||||
/*
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
:root {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue