diff --git a/css/layout.css b/css/layout.css index ddd91c8..bdba707 100644 --- a/css/layout.css +++ b/css/layout.css @@ -1,5 +1,5 @@ *{ - color: white; + color: black; font-size: 30px; } #spielRaum{ @@ -29,4 +29,32 @@ body{ } #enemy{ position: fixed; -} \ No newline at end of file +} +.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; +} diff --git a/index.html b/index.html index a8273a5..ffccab9 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,9 @@