FEE_MathRunner/css/layout.css

61 lines
929 B
CSS
Raw Normal View History

2024-06-27 09:29:23 +02:00
*{
2024-07-04 11:15:55 +02:00
color: black;
2024-06-27 09:29:23 +02:00
font-size: 30px;
}
#spielRaum{
width: 1000px;
2024-06-27 09:33:13 +02:00
height: 1000px;
2024-07-02 10:20:56 +02:00
margin: auto;
2024-06-27 09:29:23 +02:00
background-color: yellow;
position: relative;
}
body{
height: 100%;
margin: 0px;
}
2024-06-27 09:36:42 +02:00
#tom img{
width: 300px;
2024-06-27 09:29:23 +02:00
}
2024-07-04 10:23:32 +02:00
#tom{
position: fixed;
}
2024-06-27 09:36:42 +02:00
#fuchs img{
2024-06-27 09:29:23 +02:00
width: 200px;
2024-06-27 11:00:09 +02:00
position: relative;
left: 50px;
2024-06-27 09:29:23 +02:00
}
2024-06-27 09:36:42 +02:00
#enemy img{
2024-06-27 09:29:23 +02:00
width: 220px;
2024-07-04 10:23:32 +02:00
}
#enemy{
position: fixed;
2024-07-04 11:15:55 +02:00
}
.flexbox{
display: flex;
flex-direction: row;
}
#rechnungen{
padding: 25px;
justify-content: space-between;
}
#rechnung1, #rechnung2 {
width: 20%;
margin: 0 10px;
padding: 20px;
text-align: center;
font-size: 1.5em;
z-index: 10;
position: relative;
display: inline-block;
}
#rechnung1 img, #rechnung2 img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
width: 100%;
height: 100%;
object-fit: cover;
}