FEE_MathRunner/css/layout.css
2024-08-29 08:58:03 +02:00

86 lines
1.3 KiB
CSS

*{
color: black;
font-size: 30px;
}
body{
overflow: hidden;
}
#spielRaum{
width: 1000px;
height: 700px;
margin: auto;
background-color: yellow;
position: relative;
}
body{
height: 100%;
margin: 0px;
}
#tom img{
width: 300px;
}
#tom{
position: fixed;
}
#fuchs {
position: relative;
bottom: -400px;
}
#fuchs img{
width: 200px;
left: 50px;
z-index: 60;
}
#enemy img{
width: 220px;
}
#enemy{
position: fixed;
}
.flexbox{
display: flex;
flex-direction: row;
}
#rechnungen{
padding: 0px;
position: relative;
top: 1px;
}
#rechnung1, #rechnung2 {
width: 20%;
padding: 20px;
text-align: center;
z-index: 10;
position: relative;
display: inline-block;
}
#rechnung1{
background-color: rgb(0, 225, 255);
border-radius: 15px;
outline: 8px solid black;
margin-left: auto;
margin-right: 100px;
}
#rechnung2{
background-color: red;
border-radius: 15px;
outline: 8px solid black;
margin-left: 100px;
margin-right: auto;
}
#rechnung1 img, #rechnung2 img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
width: 100%;
height: 100%;
object-fit: cover;
}
#fuchsZahl{
padding-left: 100px;
font-size: 30px;
}