ft_transcendence/containers/old_react/src/styles/field.css

55 lines
955 B
CSS

.playButton {
background-color: rgb(0, 0, 0);
border-radius: 5vh;
color: white;
display: block;
margin: auto;
margin-top: 30vh;
padding: 2vh 5vw;
height: 10vh;
width: 20vw;
font-size: 300%;
}
.clicked{
/* justify-content: center; */
/* display: flex;
justify-content: center; */
background-color: rgb(0, 0, 0);
width: 70vw;
/* height: 70vh; */
margin:auto;
margin-right: 15vw;
margin-left: 15vw;
margin-top: 10vh;
position: relative;
padding-top: 35%;
/* padding-top: 25; */
/* padding-top: 177.77% */
}
#myCanvas {
background-color: rgb(75, 33, 33);
position: absolute;
top: 0;
left: 0;
cursor: none;
width: 100%;
height: 100%;
margin: 0;
}
@media screen and (max-width: 768px) {
#canvas_container {
transform: rotate(90deg);
transform-origin: top right;
position: relative;
/* margin-right: 100vw; */
/* height: 100vw; */
width: 100vh;
}
/* #myCanvas {
height: 100%;
width: 100%;
} */
}