From c94c9ca851e897dbd7013c74fd2832f3e599f474 Mon Sep 17 00:00:00 2001 From: Marco Hitschler Date: Sat, 17 May 2025 18:52:20 +0200 Subject: [PATCH] Refactoring --- assets/css/elsa.css | 86 ++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/assets/css/elsa.css b/assets/css/elsa.css index a06c2da..d1197a6 100644 --- a/assets/css/elsa.css +++ b/assets/css/elsa.css @@ -33,6 +33,7 @@ Table of Contents 29 - Mathilda 30 - Archives 31 - Mailchimp +32 - Lightweight Subscribe to Comments ---------------*/ /* @@ -328,47 +329,6 @@ p:has(.more-link) { display:none; } -.comment-form .lstc-label { - display:inline; - position:relative; - top:-2px; - left:2px; - margin-left:5px; -} - -.cnns-comment-subscription { - margin-top:20px; - margin-bottom:20px; -} - -.cnns-comment-subscription input[type="checkbox"] { - width:17px; - height:17px; - margin:0; - padding:0; - appearance: none; - -webkit-appearance: none; - display: inline-flex; - align-content: center; - justify-content: center; - font-size: 2rem; - border: 1px solid #949494; - border-radius: 0rem; -} - -.cnns-comment-subscription input[type="checkbox"]::before { - width:15px; - height:15px; - margin-top:0px; - content: ""; - transform: scale(0); - background-color: #ac1b1b; -} - -.cnns-comment-subscription input[type="checkbox"]:checked::before { - transform: scale(1); -} - .comment-notes { margin:0; } @@ -1198,4 +1158,48 @@ iframe.twitter-tweet p.mc4wp-procaptcha__validation-error[style*="visibility: visible"] { margin-bottom:30px !important; +} + +/* +32. Lightweight Subscribe to Comments +*/ + +.cnns-comment-subscription { + margin-top:20px; + margin-bottom:20px; +} + +.cnns-comment-subscription input[type="checkbox"] { + appearance: none; + -webkit-appearance: none; + display: inline-flex; + align-content: center; + justify-content: center; + width:17px; + height:17px; + margin:0; + padding:0; + border: 1px solid #949494; + border-radius: 0rem; +} + +.cnns-comment-subscription input[type="checkbox"]::before { + content: ""; + width:15px; + height:15px; + margin-top:0px; + transform: scale(0); + background-color: #ac1b1b; +} + +.cnns-comment-subscription input[type="checkbox"]:checked::before { + transform: scale(1); +} + +.comment-form .lstc-label { + display:inline; + position:relative; + top:-2px; + left:2px; + margin-left:5px; } \ No newline at end of file