sokoban/style.css
2022-12-05 17:43:26 +01:00

54 lines
1,004 B
CSS

:root {
--main-background-color: black;
--main-invert-color: white;
--main-highlight-color: cyan;
}
body {
background-color: var(--main-background-color);
display: flex;
color: --main-invert-color;
}
.dialog {
height: 200px;
width: 400px;
background-color: var(--main-invert-color);
position: relative;
border-radius: 10%;
display: flex;
text-align: center;
}
.left-point {
width: 0;
height: 0;
border-left: 1rem solid transparent;
border-right: 1rem solid transparent;
border-top: 5rem solid var(--main-invert-color);
position: absolute;
margin-top: 30%;
margin-left: -10%;
transform: rotate(60deg) ;
z-index: -1;
}
.text-bubble {
/* transform: rotate(90deg); */
position: relative;
margin: auto;
margin-left: 658px;
margin-top: -385px;
z-index: 2;
}
.speech {
z-index: 3;
margin: auto;
position: relative;
text-align: justify;
}
.to-center {
margin: 0 auto;
}