sokoban/style.css
2022-12-12 16:57:56 +01:00

121 lines
2 KiB
CSS

:root {
--main-background-color: white;
--main-text-color: black;
--main-highlight-color: cyan;
}
body {
background-color: var(--main-background-color);
color: --main-text-color;
display: flex;
flex-direction: column;
margin: 0;
min-height: 100vh;
}
main {
display: flex;
flex-direction: column;
align-items: center;
float: left;
}
.container {
padding: 2rem 0 0 0;
display: flex;
min-height: 40vh;
}
aside {
margin: 0 auto;
float: left;
width: 10rem;
justify-content: space-between;
flex-direction: column;
}
nav {
display: flex;
background-color: yellowgreen;
padding: 0 20%;
}
nav ol {
display: flex;
flex-direction: row;
align-items: center;
list-style-type: none;
}
nav ol li {
margin: auto 1rem;
}
nav ol li button {
background-color: transparent;
padding: 0.5rem;
font-size: large;
}
footer {
display: flex;
align-items: center;
flex-direction: column;
position:fixed;
margin-top: auto;
width: 100%;
bottom: 0;
background-color: yellowgreen;
}
footer p:last-child {
font-weight: bolder;
}
.text-bubble {
position: relative;
margin: auto;
margin-left: 185px;
margin-top: -395px;
z-index: 2;
}
.dialog {
height: 150px;
width: 350px;
background-color: var(--main-background-color);
position: relative;
border-radius: 10%;
display: flex;
text-align: center;
border: 1px solid black;
}
.right-point {
width: 0;
height: 0;
border-left: 1rem solid transparent;
border-right: 1rem solid transparent;
border-top: 5rem solid black;
position: absolute;
margin-top: 30%;
margin-left: 100%;
transform: rotate(-60deg) ;
z-index: -1;
}
.shifted {
transform:rotate(-60deg) translate(0px,-2px);
border-top: 5rem solid white;
z-index: 4;
}
.speech {
z-index: 3;
margin: auto;
padding: 30px;
position: relative;
text-align: justify;
}