From 1a5d32b8467a35aabc694c729fdf853dae503be7 Mon Sep 17 00:00:00 2001 From: Robert Schubert Date: Fri, 14 Feb 2025 01:16:32 +0100 Subject: [PATCH] scss: try to avoid deprecation warning --- _sass/main.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/_sass/main.scss b/_sass/main.scss index 581dbbe..e4a3a54 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -27,12 +27,14 @@ nav ul { background-image: url(/assets/img/ostraka.jpg); background-repeat: no-repeat; height: 200px; - font-size: 2.8em; + color: white; + text-shadow: 5px 2px black; @media only screen and (max-width: 767px) { font-size: 10vw; } - color: white; - text-shadow: 5px 2px black; + & { + font-size: 2.8em; + } } .gallery { max-width: content;