2023-06-13 03:47:43 +00:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-14 01:18:01 +00:00
|
|
|
:root {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: #191919;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#center {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
2023-06-29 15:40:46 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
#center-inner {
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
2023-06-14 01:18:01 +00:00
|
|
|
justify-content: center;
|
2023-06-29 15:40:46 +00:00
|
|
|
display: flex;
|
2023-06-17 05:34:20 +00:00
|
|
|
flex-direction: column;
|
2023-06-30 01:52:26 +00:00
|
|
|
margin-left: calc(50% - 20rem / 2);
|
|
|
|
max-width: 20rem;
|
2023-06-17 05:34:20 +00:00
|
|
|
}
|
|
|
|
|
2023-06-30 01:52:26 +00:00
|
|
|
#custommaps, #mapeditor {
|
2023-06-17 05:34:20 +00:00
|
|
|
margin-top: 2rem;
|
2023-06-13 03:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.rotate90 {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rotate180 {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rotate270 {
|
|
|
|
transform: rotate(270deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sprite {
|
|
|
|
position: absolute;
|
2023-06-15 03:22:26 +00:00
|
|
|
/* transition: left .1s, top .1s; */
|
2023-06-13 03:47:43 +00:00
|
|
|
z-index: 2;
|
|
|
|
}
|
2023-06-14 01:18:01 +00:00
|
|
|
|
|
|
|
#join, #lobby {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lobby span {
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lobby #start {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lobby #players {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
background-color: transparent;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 1rem;
|
|
|
|
border: solid 2px #fff;
|
|
|
|
padding: .25rem;
|
|
|
|
margin-bottom: .215rem;
|
2023-06-17 05:18:16 +00:00
|
|
|
box-sizing:content-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding: .25rem;
|
2023-06-14 01:18:01 +00:00
|
|
|
}
|
2023-06-30 01:52:26 +00:00
|
|
|
|
|
|
|
#popup {
|
|
|
|
background-color: #191919;
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: .5rem;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
width: 19rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#popup textarea {
|
|
|
|
margin: .5rem 0;
|
|
|
|
height: 5rem;
|
|
|
|
background-color: transparent;
|
|
|
|
color: white;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#popup input {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#close {
|
|
|
|
width: .3rem;
|
|
|
|
height: .3rem;
|
|
|
|
font-size: .6rem;
|
|
|
|
line-height: 0;
|
|
|
|
}
|