Add KD stats and joystick deadzone
This commit is contained in:
parent
c74b2f14a0
commit
1cd8f5fbe6
10 changed files with 123 additions and 44 deletions
|
|
@ -10,7 +10,7 @@
|
|||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-family: 'Open Sans', 'Segoe UI Emoji', sans-serif;
|
||||
|
||||
&::selection {
|
||||
color: white;
|
||||
|
|
@ -43,10 +43,6 @@ h1 {
|
|||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.red {
|
||||
color: $red;
|
||||
&::selection {
|
||||
|
|
@ -97,10 +93,6 @@ body {
|
|||
left: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: $large-padding 0;
|
||||
}
|
||||
|
||||
.player-tag {
|
||||
transform: translateX(-50%) translateY(-50%) rotate(-15deg);
|
||||
transition: left 200ms, top 200ms;
|
||||
|
|
@ -108,8 +100,7 @@ body {
|
|||
|
||||
&.decla {
|
||||
color: $bright-decla;
|
||||
|
||||
div {
|
||||
div:first-child {
|
||||
background-color: $bright-decla;
|
||||
&:before {
|
||||
background-color: $bright-decla;
|
||||
|
|
@ -120,7 +111,7 @@ body {
|
|||
|
||||
&.red {
|
||||
color: $bright-red;
|
||||
div {
|
||||
div:first-child {
|
||||
background-color: $bright-red;
|
||||
&:before {
|
||||
background-color: $bright-red;
|
||||
|
|
@ -129,7 +120,7 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
div {
|
||||
div:first-child {
|
||||
position: relative;
|
||||
height: 5px;
|
||||
border-radius: 1000px;
|
||||
|
|
@ -143,6 +134,11 @@ body {
|
|||
border-radius: 1000px;
|
||||
}
|
||||
}
|
||||
|
||||
div:not(:first-child) {
|
||||
letter-spacing: 2px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
.ownership {
|
||||
|
|
@ -190,6 +186,17 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
.announcement {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
font-size: 3rem;
|
||||
@include background;
|
||||
z-index: 1000;
|
||||
padding: $medium-padding;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.planet-progress {
|
||||
position: absolute;
|
||||
top: $small-padding;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue