Create website-redesign branch. Include incomplete redesign assets. Very much in-progress.
@@ -4,14 +4,7 @@ window.addEventListener('load', () => {
|
||||
|
||||
const cookieNotice = document.createElement('div');
|
||||
cookieNotice.innerText = "This website uses cookies to store information about the games you play.";
|
||||
cookieNotice.style.position = "fixed";
|
||||
cookieNotice.style.bottom = "0";
|
||||
cookieNotice.style.left = "0";
|
||||
cookieNotice.style.width = "100%";
|
||||
cookieNotice.style.lineHeight = "40px";
|
||||
cookieNotice.style.backgroundColor = "#c7cda5";
|
||||
cookieNotice.style.textAlign = "center";
|
||||
cookieNotice.style.cursor = "pointer";
|
||||
cookieNotice.setAttribute('id', 'cookie-notice');
|
||||
document.body.appendChild(cookieNotice);
|
||||
cookieNotice.addEventListener('click', () => {
|
||||
localStorage.setItem('cookieNotice', "1");
|
||||
4
WebHostLib/static/static/backgrounds/LICENSE
Normal file
@@ -0,0 +1,4 @@
|
||||
Copyright 2020 Berserker66 (Fabian Dill)
|
||||
Copyright 2020 LegendaryLinux (Chris Wilson)
|
||||
|
||||
All rights reserved.
|
||||
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 237 KiB |
|
After Width: | Height: | Size: 236 KiB |
|
After Width: | Height: | Size: 201 KiB |
|
After Width: | Height: | Size: 201 KiB |
BIN
WebHostLib/static/static/backgrounds/cliff-pieces/left-dirt.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
WebHostLib/static/static/backgrounds/cliff-pieces/left-grass.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 207 KiB |
|
After Width: | Height: | Size: 207 KiB |
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 222 KiB |
BIN
WebHostLib/static/static/backgrounds/cliff-pieces/right-dirt.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
BIN
WebHostLib/static/static/backgrounds/cliff-pieces/top-dirt.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
WebHostLib/static/static/backgrounds/cliff-pieces/top-grass.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
WebHostLib/static/static/backgrounds/clouds/cloud-0001.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
WebHostLib/static/static/backgrounds/clouds/cloud-0002.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
WebHostLib/static/static/backgrounds/clouds/cloud-0003.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
WebHostLib/static/static/backgrounds/dirt-tiles/dirt-0001.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
WebHostLib/static/static/backgrounds/dirt-tiles/dirt-0002.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
WebHostLib/static/static/backgrounds/dirt-tiles/dirt-0003.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
WebHostLib/static/static/backgrounds/dirt-tiles/dirt-0004.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 931 B |
BIN
WebHostLib/static/static/backgrounds/dirt-tiles/rock-single.png
Normal file
|
After Width: | Height: | Size: 623 B |
BIN
WebHostLib/static/static/backgrounds/footer/footer-0001.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
WebHostLib/static/static/backgrounds/footer/footer-0002.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
WebHostLib/static/static/backgrounds/footer/footer-0003.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
WebHostLib/static/static/backgrounds/footer/footer-0004.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0001.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0002.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0003.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0004.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0005.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
WebHostLib/static/static/backgrounds/grass-tiles/grass-0006.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 585 B |
|
After Width: | Height: | Size: 919 B |
BIN
WebHostLib/static/static/backgrounds/header/cloud-header.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
WebHostLib/static/static/backgrounds/ocean-tiles/oceans-0001.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
WebHostLib/static/static/backgrounds/ocean-tiles/oceans-0002.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
WebHostLib/static/static/backgrounds/ocean-tiles/oceans-0003.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
WebHostLib/static/static/backgrounds/ocean-tiles/oceans-0004.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
WebHostLib/static/static/backgrounds/ocean-tiles/oceans-0005.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
11
WebHostLib/static/styles/cookieNotice.css
Normal file
@@ -0,0 +1,11 @@
|
||||
#cookie-notice{
|
||||
display: block;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
line-height: 40px;
|
||||
background-color: #c7cda5;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
/** Global colors for all pages */
|
||||
body{
|
||||
background-color: #dce2bd;
|
||||
font-size: 1.2rem;
|
||||
font-family: "Segoe UI", Arial, sans-serif;
|
||||
}
|
||||
|
||||
/** Button Styles */
|
||||
button, input[type=submit]{
|
||||
border: 1px solid #7d8c35;
|
||||
border-radius: 4px;
|
||||
width: 200px;
|
||||
height: 75px;
|
||||
margin-left: 0.25rem;
|
||||
margin-right: 0.25rem;
|
||||
background-color: #dce2bd;
|
||||
font-family: inherit;
|
||||
font-size: 1.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover, input[type=submit]:hover{
|
||||
background-color: #e0e7bd;
|
||||
}
|
||||
|
||||
/** Content styles */
|
||||
.main-content{
|
||||
max-width: 1000px;
|
||||
border-radius: 8px;
|
||||
background-color: #bbb288;
|
||||
padding: 0.5em 1.5rem 1.5rem;
|
||||
color: #282b28;
|
||||
}
|
||||
|
||||
.main-content h3{
|
||||
margin: 0;
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.main-content a{
|
||||
color: #34768a;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/** Tooltip styles */
|
||||
[data-tooltop]{
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, [data-tooltip]:after{
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -67,6 +67,12 @@ give it one of the following classes: tooltip-left, tooltip-right, tooltip-top,
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, [data-tooltip]:after{
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after,
|
||||
.tooltip-top:before, .tooltip-top:after {
|
||||
bottom: 100%;
|
||||
|
||||