Разработан веб-сервер и игровое поле
This commit is contained in:
54
static/styles/main.css
Normal file
54
static/styles/main.css
Normal file
@ -0,0 +1,54 @@
|
||||
html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#battlefield {
|
||||
position: fixed;
|
||||
translate: -50% -50%;
|
||||
pointer-events: none;
|
||||
transition: scale .2s;
|
||||
}
|
||||
|
||||
.grabbing {
|
||||
cursor: grabbing !important;
|
||||
}
|
||||
|
||||
#color-bar {
|
||||
position: fixed;
|
||||
right: 1em;
|
||||
bottom: 1em;
|
||||
left: 1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 1em;
|
||||
border-radius: 1em;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#color-picker {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
label[for="color-picker"] {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
border-radius: .5em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.color {
|
||||
margin-left: .5em;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
border-radius: .5em;
|
||||
cursor: pointer;
|
||||
}
|
Reference in New Issue
Block a user