diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/html/index.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/www/html/index.html b/www/html/index.html index b0813e6..a3d4043 100644 --- a/www/html/index.html +++ b/www/html/index.html @@ -11,15 +11,25 @@ <style> body { font-family: sans-serif; - background: url("img/Kraniche-oval-4a.png"); - background-position: center center; - background-repeat: no-repeat; - background-blend-mode: multiply; - background-size: auto, auto 125px; background-color: #77cc77; text-align: center; color: #ff0000; } + body::before { + content: ''; + position: fixed; + background-image: url("img/Kraniche-oval-4a.png"); + top: calc(615px/2 + 2em); + left: 50%; + transform: translate(-50%, -50%); + width: 465px; + height: 615px; + background-size: contain; + background-repeat: no-repeat; + mix-blend-mode: multiply; + pointer-events: none; + z-index: -1; + } </style> </head> <body> |
