All cybrespace changes through 5/28
@@ -8,8 +8,8 @@
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: #282c37;
|
||||
color: #9baec8;
|
||||
background: #181818 url("/background-cybre.png");
|
||||
color: #1ea21e;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<body>
|
||||
<div class="dialog">
|
||||
<img src="/oops.png" alt="Mastodon" />
|
||||
<img src="/logo-cybre-glitch.gif" alt="Cybrespace" />
|
||||
|
||||
<div>
|
||||
<h1>We're sorry, but something went wrong.</h1>
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 37 KiB |
BIN
public/background-cybre.png
Normal file
After Width: | Height: | Size: 232 KiB |
@@ -3,7 +3,7 @@
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<TileColor>#2b5797</TileColor>
|
||||
<TileColor>#1ea21e</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
|
22
public/clock.js
Normal file
@@ -0,0 +1,22 @@
|
||||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
updateClock();
|
||||
setInterval(updateClock, 1000);
|
||||
});
|
||||
|
||||
function updateClock() {
|
||||
var clock = document.querySelector(".closed-registrations-message .clock");
|
||||
var now = new Date();
|
||||
var open = new Date(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate());
|
||||
var ts = open.setUTCHours(19);
|
||||
if (open - now < 0) {
|
||||
open = new Date(ts + 24*60*60*1000);
|
||||
}
|
||||
var until = open - now;
|
||||
var ms = until % 1000;
|
||||
var s = Math.floor((until / 1000)) % 60;
|
||||
var m = Math.floor((until / 1000 / 60)) % 60;
|
||||
var h = Math.floor((until / 1000 / 60 / 60));
|
||||
if (m < 10) m = "0" + m;
|
||||
if (s < 10) s = "0" + s;
|
||||
clock.innerHTML = h + ":" + m + ":" + s;
|
||||
}
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 310 KiB |
BIN
public/logo-cybre-glitch.gif
Normal file
After Width: | Height: | Size: 818 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 27 KiB |