From e9cdb1c4bb97bd17dc32efdcefa2c7ebe8cf33f0 Mon Sep 17 00:00:00 2001 From: muli Date: Sun, 21 May 2023 10:46:28 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Text=C3=BCberschrift=20auf=20Startseite?= =?UTF-8?q?=20durch=20Grafik=20ersetzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/style.css | 9 +++++++-- assets/images/headings/kontakt.svg | 13 +++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 assets/images/headings/kontakt.svg diff --git a/assets/css/style.css b/assets/css/style.css index ecf4eb0..ffba294 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -850,12 +850,17 @@ hr.-even { .contact__box h1 { grid-area: 1 / 1 / 2 / 3; - text-align: right; + + font-size: 0.25rem; + color: transparent; + background-image: url("../images/headings/kontakt.svg"); + background-repeat: no-repeat; + background-size: contain; + background-position: top left; transform-origin: top right; transform: translateX(-90%) rotate(-80deg); padding: 0; max-width: 50%; - font-size: 9rem; z-index: 0; } diff --git a/assets/images/headings/kontakt.svg b/assets/images/headings/kontakt.svg new file mode 100644 index 0000000..59725a9 --- /dev/null +++ b/assets/images/headings/kontakt.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + +