Swap out PNG files for SVG files, add proof-of-concept style for upload page.

This commit is contained in:
Chris Wilson 2020-10-25 11:49:12 -04:00
parent e08e650110
commit 172d26ffb2
85 changed files with 315213 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 438 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 420 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 406 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 414 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 409 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 961 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 960 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 962 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 919 B

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 421 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 425 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 423 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 424 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 426 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 462 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 483 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 480 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 483 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 490 KiB

View File

@ -0,0 +1,34 @@
#cloud-header{
display: flex;
flex-direction: row;
justify-content: flex-start;
background: url('../static/backgrounds/header/cloud-header.svg') repeat-x;
background-size: auto 90px;
width: 100%;
height: 90px;
position: fixed;
top: 0;
left: 0;
font-family: HyliaSerif, sans-serif;
padding: 10px;
line-height: 2rem;
}
#cloud-header #site-title img{
width: 40px;
height: 40px;
}
#cloud-header a{
color: #67bbab;
text-decoration: none;
cursor: pointer;
margin-right: 1.2rem;
font-size: 1.2rem;
}
@media (width: 800px) {
#cloud-header{
font-size: 4rem;
}
}

View File

@ -0,0 +1,62 @@
@font-face {
font-family: "HyliaSerif";
src: url('../static/fonts/HyliaSerifBeta-Regular.otf') format("opentype");
}
html{
background-image: url('../static/backgrounds/oceans/oceans-0002.svg');
background-repeat: repeat;
background-size: 250px 250px;
margin-top: 110px;
}
body{
margin: 0;
padding-bottom: 62px;
}
button{
padding: 0.25rem;
margin: 0.25rem;
border-radius: 4px;
}
h1, h2, h3{
font-family: HyliaSerif, sans-serif;
font-size: 3rem;
font-weight: normal;
margin: 0;
}
.grass-island{
background:
url('../static/backgrounds/cliffs/cliff-top-left-corner.svg') top left no-repeat,
url('../static/backgrounds/cliffs/cliff-top-right-corner.svg') top right no-repeat,
url('../static/backgrounds/cliffs/cliff-bottom-left-corner.svg') bottom left no-repeat,
url('../static/backgrounds/cliffs/cliff-bottom-right-corner.svg') bottom right no-repeat,
url('../static/backgrounds/cliffs/cliff-top.svg') top repeat-x,
url('../static/backgrounds/cliffs/cliff-bottom.svg') bottom repeat-x,
url('../static/backgrounds/cliffs/cliff-left.svg') left repeat-y,
url('../static/backgrounds/cliffs/cliff-right.svg') right repeat-y,
url('../static/backgrounds/grass/grass-0003.svg') repeat;
background-size:
200px 200px, /* top-left */
200px 200px, /* top-right */
200px 200px, /* bottom-left */
200px 200px, /* bottom-right */
auto 96px, /* top */
auto 114px, /* bottom */
84px auto, /* left */
84px auto, /* right */
150px 150px; /* center */
min-width: 240px;
min-height: 70px;
padding: 160px 80px 170px;
}
.dirt-island{
}

View File

@ -0,0 +1,14 @@
#island-footer{
background: url('../static/backgrounds/footer/footer-0003.svg') repeat-x bottom;
display: flex;
flex-direction: column;
justify-content: flex-end;
width: 100%;
height: 62px;
margin-top: 2rem;
padding-left: 0.5rem;
line-height: 30px;
position: fixed;
left: 0;
bottom: 0;
}

View File

@ -5,6 +5,10 @@
flex-wrap: wrap;
}
#uploads{
text-align: center;
}
#uploads-form-wrapper{
width: 100%;
text-align: center;

View File

@ -0,0 +1,12 @@
{% block header %}
<header id="cloud-header">
<a href="/" id="site-title">
<img src="/favicon.ico" alt="Favicon" />
</a>
<a href="/generate">Start Game</a>
<a href="/uploads">Host Game</a>
<a href="/tutorial">Setup Guide</a>
<a href="/player-settings">Player Settings</a>
<a href="/mysterycheck">YAML Tester</a>
</header>
{% endblock %}

View File

@ -0,0 +1,5 @@
{% block footer %}
<footer id="island-footer">
Copyright 2020 APPlaceHolder
</footer>
{% endblock %}

View File

@ -4,6 +4,9 @@
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/tooltip.css") }}" />
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/cookieNotice.css") }}" />
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/globalStyles.css") }}" />
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/cloudHeader.css") }}" />
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/grassFooter.css") }}" />
<script type="application/ecmascript" src="{{ static_autoversion("assets/cookieNotice.js") }}"></script>
{% block head %}
<title>Multiworld</title>

View File

@ -8,8 +8,10 @@
{% endblock %}
{% block body %}
{% include 'cloudHeader.html' %}
<div id="uploads-wrapper">
<div id="uploads" class="main-content">
<div id="uploads" class="grass-island">
<h3>Upload Multidata</h3>
<p>To host a game, you need to upload a .multidata file or a .zip file created by the
multiworld generator.</p>
@ -52,4 +54,6 @@
{% endif %}
</div>
</div>
{% include 'grassFooter.html' %}
{% endblock %}