From 48b2e027d3c7c1532af5485173d066ae01b20a6d Mon Sep 17 00:00:00 2001 From: daudix-UFO Date: Mon, 18 Dec 2023 02:47:11 +0300 Subject: [PATCH] feat: Small tweaks --- sass/_comments.scss | 2 +- sass/_main.scss | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/sass/_comments.scss b/sass/_comments.scss index 9f22c9f..d722158 100644 --- a/sass/_comments.scss +++ b/sass/_comments.scss @@ -177,7 +177,7 @@ section#comments { display: flex; gap: 0.4rem; grid-area: interactions; - margin-top: 0.925rem; + margin-top: 1rem; .boosts { background-color: var(--orange-bg); diff --git a/sass/_main.scss b/sass/_main.scss index 4ba7c7a..3df5433 100644 --- a/sass/_main.scss +++ b/sass/_main.scss @@ -500,15 +500,7 @@ img { } .scanlines::after { - display: block; - pointer-events: none; - position: absolute; - content: ""; - top: 0; - left: 0; - width: 100%; - height: calc(100% + 8px); - pointer-events: none; + animation: scanlines 250ms linear infinite; background: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.25), @@ -516,7 +508,14 @@ img { transparent 3px, transparent 4px ); - animation: scanlines 250ms linear infinite; + content: ""; + display: block; + height: calc(100% + 8px); + left: 0; + pointer-events: none; + position: absolute; + top: 0; + width: 100%; @keyframes scanlines { 0% {