forked from spacebar/SplatNet
replace stage info image with SVG layers and update styles for better layout
This commit is contained in:
parent
7e5e388e6c
commit
4cceaab338
3 changed files with 80 additions and 32 deletions
|
|
@ -12,13 +12,14 @@
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
html {
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
min-height: 100vh;
|
||||
|
|
@ -32,6 +33,7 @@ body {
|
|||
display: flex;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.content {
|
||||
|
|
@ -39,8 +41,9 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 40px 0;
|
||||
padding: 30px 0;
|
||||
box-sizing: border-box;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
.stage-info {
|
||||
|
|
@ -57,16 +60,16 @@ body {
|
|||
text-align: center;
|
||||
color: white;
|
||||
font-family: "Regular", sans-serif;
|
||||
font-size: 40px;
|
||||
line-height: 1.4;
|
||||
font-size: 34px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.stages-container {
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
max-width: 900px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
gap: 28px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
|
|
@ -74,11 +77,11 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
gap: 14px;
|
||||
width: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
border-radius: 14px;
|
||||
padding: 24px;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
|
@ -93,21 +96,19 @@ body {
|
|||
|
||||
.mode-title {
|
||||
display: block;
|
||||
max-width: 160px;
|
||||
max-width: 120px;
|
||||
height: auto;
|
||||
margin: 80px;
|
||||
margin-left: -20px;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.mode-text {
|
||||
margin: 0;
|
||||
margin-left: -60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mode-text img {
|
||||
height: 88px;
|
||||
height: 60px;
|
||||
width: auto;
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -115,7 +116,7 @@ body {
|
|||
.stages {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 20px;
|
||||
gap: 18px;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
|
@ -125,11 +126,11 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.stages img {
|
||||
width: 100%;
|
||||
max-width: 450px;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
|
|
@ -138,16 +139,15 @@ body {
|
|||
.stage-title {
|
||||
font-family: "Regular", sans-serif;
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-size: 22px;
|
||||
color: white;
|
||||
margin: 0;
|
||||
margin-bottom: 80px;
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
.ranked-mode-labels {
|
||||
text-align: center;
|
||||
margin-bottom: 12px;
|
||||
margin-top: -40px;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.battle-mode-text {
|
||||
|
|
@ -157,7 +157,7 @@ body {
|
|||
}
|
||||
|
||||
.battle-mode-text img {
|
||||
height: 70px;
|
||||
height: 55px;
|
||||
width: auto;
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -165,24 +165,24 @@ body {
|
|||
.ranked-mode-text {
|
||||
font-family: "Regular", sans-serif;
|
||||
color: white;
|
||||
font-size: 25px;
|
||||
letter-spacing: 0.8px;
|
||||
font-size: 22px;
|
||||
letter-spacing: 0.7px;
|
||||
}
|
||||
|
||||
.rotation-time {
|
||||
text-align: center;
|
||||
color: white;
|
||||
font-family: "Regular", sans-serif;
|
||||
font-size: 33px;
|
||||
margin: 36px 0 12px 0;
|
||||
letter-spacing: 0.8px;
|
||||
font-size: 28px;
|
||||
margin: 28px 0 10px 0;
|
||||
letter-spacing: 0.7px;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: white;
|
||||
font-family: "Splatoon1", sans-serif;
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.loading-overlay {
|
||||
|
|
@ -212,7 +212,7 @@ body {
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
overflow: visible;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
|
@ -250,6 +250,46 @@ body {
|
|||
height: 35px;
|
||||
width: auto;
|
||||
display: block;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.logo-left-align {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
#stage-header-logo {
|
||||
position: relative;
|
||||
width: 400px;
|
||||
height: 80px;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#stage-header-logo .bg-layer {
|
||||
width: 400px;
|
||||
height: auto;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#stage-header-logo .icon-layer {
|
||||
position: absolute;
|
||||
width: 65px;
|
||||
left: 10px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 2;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#stage-header-logo .label-layer {
|
||||
position: absolute;
|
||||
width: 200px;
|
||||
left: 110px;
|
||||
top: 45%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 2;
|
||||
}
|
||||
Loading…
Reference in a new issue