Footer is in the right place
- Colors Bar now sclae and have appropriate comportment - reducing of game zone
This commit is contained in:
parent
c98a076952
commit
fbf7430859
@ -1,11 +1,9 @@
|
|||||||
#root {
|
#root {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
margin: 0 0;
|
margin: 0 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-content: center;
|
align-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|||||||
@ -27,8 +27,6 @@ body {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
place-items: center;
|
place-items: center;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|||||||
@ -30,4 +30,11 @@
|
|||||||
|
|
||||||
.case.inactive.lightred {
|
.case.inactive.lightred {
|
||||||
background-color: var(--color-lightred);
|
background-color: var(--color-lightred);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
.case {
|
||||||
|
height: calc(58px * 0.8);
|
||||||
|
width: calc(58px * 0.8);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -3,11 +3,13 @@ footer {
|
|||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
top: 100%;
|
||||||
height: 10em;
|
height: 10em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
grid-template-columns: 1fr 2fr 1fr;
|
grid-template-columns: 1fr 2fr 1fr;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
z-index: 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .middle {
|
footer .middle {
|
||||||
|
|||||||
@ -1,5 +1,13 @@
|
|||||||
#game {
|
#game {
|
||||||
width: 100%;
|
width: 750px;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#colors {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
@ -21,7 +29,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
|
#game {
|
||||||
|
width: 500px;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
#drop-zone {
|
#drop-zone {
|
||||||
width: calc(500px*80%);
|
width: calc(500px*0.8);
|
||||||
|
height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#colors {
|
||||||
|
width: 100%;
|
||||||
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -16,4 +16,10 @@ button {
|
|||||||
width: calc(20% - 1em);
|
width: calc(20% - 1em);
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
.line {
|
||||||
|
height: clamp(calc(58px * 0.3), calc(58px * 0.3 + 3px), calc(58px * 0.8));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user