From d34f7817f648d6b89f9fc52f3adb13116c929455 Mon Sep 17 00:00:00 2001
From: MDMCK10 <21245760+MDMCK10@users.noreply.github.com>
Date: Sat, 4 Jan 2025 20:28:09 +0100
Subject: [PATCH] fixes
---
index.html | 20 +++++++-------
static/css/style.css | 66 ++++++++++++++++++++++++++++++++++----------
2 files changed, 62 insertions(+), 24 deletions(-)
diff --git a/index.html b/index.html
index 3d128e1f..0a2fab03 100644
--- a/index.html
+++ b/index.html
@@ -284,13 +284,13 @@
-
-
-
-
-
+
+
SlopTV! Watch free TV online below
+
+
+
+
+
@@ -359,10 +359,10 @@ 🔒 Welcome to Slopify 🔒
-
+
@@ -1078,7 +1078,7 @@
-
+
diff --git a/static/css/style.css b/static/css/style.css
index 13a79abe..f774d50b 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -23,6 +23,7 @@ body {
color: #ebdbb2;
display: grid;
height: 100vh;
+ overflow-x: hidden;
}
.skipnav {
@@ -693,6 +694,7 @@ body.wokeMode {
#ytplayer,
#ytplayer2,
#counterWidget,
+#slopTVFrame,
#soundcloudPlayer {
border: none;
}
@@ -702,11 +704,57 @@ body.wokeMode {
}
.marquee {
- display: flex;
overflow: hidden;
+ position: relative;
+ padding-left: 100%;
+ animation: reduce 20s linear infinite;
+}
+
+.marquee__inner {
white-space: nowrap;
- box-sizing: border-box;
- animation: marquee 10s linear infinite;
+ display: inline-block;
+ animation: scroll 20s linear infinite;
+}
+
+.marquee::before,
+.marquee::after {
+ z-index: 1;
+ top: 0;
+ left: 0;
+ position: absolute;
+ width: 50px;
+ height: 100%;
+ content: "";
+ display: block;
+}
+
+.marquee::after {
+ left: auto;
+ right: 0;
+ transform: rotate(180deg);
+}
+
+@keyframes reduce {
+ to {
+ padding-left: 0;
+ }
+}
+
+@keyframes scroll {
+ to {
+ transform: translateX( -100%);
+ }
+}
+
+#slopTVFrame {
+ pointer-events: none;
+}
+
+#slopTVTitle {
+ background-color: white;
+ color: black;
+ font-family: serif;
+ transform: scaleY(1.5);
}
#slopTVInnerFrame {
@@ -718,16 +766,6 @@ body.wokeMode {
transform: scaleY(1.5);
}
-@keyframes marquee {
- from {
- transform: translateX(100%);
- }
-
- to {
- transform: translateX(-100%);
- }
-}
-
#slopTVContainer {
position: absolute;
@@ -771,4 +809,4 @@ body.wokeMode {
width: 100%;
height: 100%;
border: none;
-}
+}
\ No newline at end of file