Add Backend
This commit is contained in:
parent
dc101e28f8
commit
05beab587b
31 changed files with 59 additions and 6 deletions
414
static/css/style.css
Normal file
414
static/css/style.css
Normal file
|
|
@ -0,0 +1,414 @@
|
|||
body {
|
||||
background-color: #610707;
|
||||
color: white;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
font-family: 'Noto Sans', sans-serif;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
border: 2px solid #a00b0b;
|
||||
border-radius: 10px;
|
||||
background-color: #6d0606;
|
||||
color: white;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
img {
|
||||
border-radius: 15px;
|
||||
margin: 8px 8px;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 1rem;
|
||||
padding: 1rem 2rem;
|
||||
background-color: #940b0b;
|
||||
color: white;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 1rem 2rem;
|
||||
background-color: #940b0b;
|
||||
border-radius: 15px;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
padding: 1rem;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00afff;
|
||||
}
|
||||
|
||||
h1 {
|
||||
border-radius: 2px;
|
||||
color: white;
|
||||
font-size: 64px;
|
||||
-webkit-text-stroke: 2px black;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
strong {
|
||||
border-radius: 8px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.login-input {
|
||||
background-color: #5f0808;
|
||||
border: 1px solid white;
|
||||
color: white;
|
||||
font-size: 14px;
|
||||
border-radius: 5px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.header-button {
|
||||
padding: 0.5rem;
|
||||
font-size: 1rem;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
height: 64px;
|
||||
margin: 0px;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form {
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap:1rem;
|
||||
border: 4px solid #a00b0b;
|
||||
border-radius: 15px;
|
||||
background: #6d0606;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-weight: bold;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.form-button {
|
||||
font-size: 24px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-note {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
form {
|
||||
max-width: 100%;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.form-button {
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
.login-input {
|
||||
font-size: 48px;
|
||||
border-width: 4px;
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.form-note {
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
min-width: 40%;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
background-color: #a00b0b;
|
||||
padding: 4px;
|
||||
display: flex;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.info-container {
|
||||
background-color: #6d0606;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
border-radius: 15px;
|
||||
padding: 4px 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.info-text {
|
||||
text-align: left;
|
||||
margin: 4px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.guide-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0.5rem;
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.guide {
|
||||
font-size: 20px;
|
||||
height: 48px;
|
||||
cursor: pointer;
|
||||
border: 2px solid #a00b0b;
|
||||
border-radius: 10px;
|
||||
background-color: #6d0606;
|
||||
color: white;
|
||||
margin: 4px 0;
|
||||
text-align: center;
|
||||
line-height: 48px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.guide-content {
|
||||
padding: 0.5rem;
|
||||
flex: 1;
|
||||
border: 4px solid #a00b0b;
|
||||
border-radius: 15px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.guide-container {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
width: 70%;
|
||||
background-color: #770505;
|
||||
border-radius: 15px;
|
||||
padding: 8px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
.guide-container {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.guide-buttons {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.guide {
|
||||
font-size: 60px;
|
||||
height: 128px;
|
||||
line-height: 128px;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #610707;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.error-container {
|
||||
background-color: #aa0000;
|
||||
width: 40%;
|
||||
margin: 0 auto;
|
||||
color: white;
|
||||
text-align: center;
|
||||
border: 2px solid white;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
.error-container {
|
||||
font-size: 36px;
|
||||
width: 100%;
|
||||
margin: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
height: 80vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #770505;
|
||||
border-radius: 25px;
|
||||
border: 4px solid #a00b0b;
|
||||
}
|
||||
|
||||
.title-main {
|
||||
font-size: 84px;
|
||||
margin: 0 auto;
|
||||
-webkit-text-stroke: 2px black;
|
||||
}
|
||||
|
||||
.title-desc {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.home-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #770505;
|
||||
border-radius: 25px;
|
||||
margin: 2rem 0;
|
||||
padding: 24px;
|
||||
border: 4px solid #a00b0b;
|
||||
}
|
||||
|
||||
.team-member img {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.member-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.team-member {
|
||||
background-color: #a00b0b;
|
||||
margin: 8px 8px;
|
||||
padding: 8px 8px;
|
||||
border-radius: 15px;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
flex: 1 1 280px;
|
||||
max-width: 600px;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.team-link {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.splatfest-active {
|
||||
background-color: #00af00;
|
||||
border: 2px solid #00ff00;
|
||||
border-radius: 16px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.splatfest-notfound {
|
||||
background-color: #6d0606;
|
||||
border: 2px solid #a00b0b;
|
||||
border-radius: 16px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.delete-screen {
|
||||
background-color: #6d0606;
|
||||
border: 6px solid #a00b0b;
|
||||
border-radius: 16px;
|
||||
width: 60%;
|
||||
margin: 0 auto;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.delete-button {
|
||||
background-color: #dc0404;
|
||||
border: none;
|
||||
padding: 8px;
|
||||
margin: 0 16px;
|
||||
}
|
||||
|
||||
.access-level-base {
|
||||
background-color: #047205;
|
||||
border-style: solid;
|
||||
border-color: #00a003;
|
||||
border-radius: 8px;
|
||||
border-width: 2px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.download-category {
|
||||
margin: 12px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.download-category-title {
|
||||
margin: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.download-container {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
width: 70%;
|
||||
background-color: #770505;
|
||||
border-radius: 15px;
|
||||
padding: 8px;
|
||||
font-size: 16px;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.download-link-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
border-radius: 15px;
|
||||
padding: 16px;
|
||||
border: 4px solid #a00b0b;
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.download-title {
|
||||
padding-bottom: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.download-path {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin: 0;
|
||||
padding-bottom: 8px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
.download-container {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: #a00b0b;
|
||||
border-color: #6d0606;
|
||||
}
|
||||
Loading…
Reference in a new issue