From 53f466aeddf7fa9815e98c22c50b80da9e4ac54a Mon Sep 17 00:00:00 2001 From: Adam Wood Date: Thu, 19 Jan 2023 12:28:51 +1300 Subject: [PATCH] :lipstick: Fix CSS lint --- .../themes/wporg-main-2022/src/style/style.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/wp-content/themes/wporg-main-2022/src/style/style.scss b/source/wp-content/themes/wporg-main-2022/src/style/style.scss index 8205cf54..61b79418 100644 --- a/source/wp-content/themes/wporg-main-2022/src/style/style.scss +++ b/source/wp-content/themes/wporg-main-2022/src/style/style.scss @@ -112,7 +112,7 @@ html[dir="rtl"] :where([style*="border-right-color"]) { */ [class*="wporg-about-section-"][style*="padding-top"] { - --wp--preset--spacing--60: clamp( 40px, calc( 100vw / 18 ), 80px ); + --wp--preset--spacing--60: clamp(40px, calc(100vw / 18), 80px); } .wporg-about-cover-title > span, @@ -123,14 +123,14 @@ html[dir="rtl"] :where([style*="border-right-color"]) { .wporg-about-cover-pretext { position: relative; - &:after { + &::after { content: ""; position: absolute; left: -5px; top: 25px; width: 121px; height: 6px; - background-image: url('../../images/about-cover-underline.svg'); + background-image: url(../../images/about-cover-underline.svg); background-repeat: no-repeat; background-position: center; } @@ -143,7 +143,7 @@ html[dir="rtl"] :where([style*="border-right-color"]) { grid-template-rows: $text-row-height clamp(8.75rem, 5.5vw + 6.7rem, 11.25rem) $text-row-height; grid-template-columns: 1fr 1fr; width: 100%; - background-image: url('../../images/about-cover-arrow.svg'); + background-image: url(../../images/about-cover-arrow.svg); background-size: clamp(16rem, 12.8vw + 11.21rem, 21.75rem); background-repeat: no-repeat; background-position: 38% center; @@ -162,7 +162,7 @@ html[dir="rtl"] :where([style*="border-right-color"]) { } .wporg-about-section-freedoms { - --wp--preset--spacing--50: clamp( 20px, calc( 100vw / 16 ), 70px ); + --wp--preset--spacing--50: clamp(20px, calc(100vw / 16), 70px); } [class*="wporg-about-section-freedom-"] h3 { @@ -184,7 +184,7 @@ html[dir="rtl"] :where([style*="border-right-color"]) { .wporg-about-section-heading { margin-block-start: -10px !important; } - + [class*="wporg-about-section-freedom-"] { margin-block-end: -30px !important; position: relative;