Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

cleanup css

Christian Fei0a63ef5f0eba
diff --git a/client/main.css b/client/main.css
index 92f39b3..94da0d9 100644
--- a/client/main.css
+++ b/client/main.css
@@ -30,13 +30,30 @@ main {
.p-1 {
padding: 0.5rem;
}
+.m-0 {
+ margin: 0;
+}
+
+.flex {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin-top: 0.3em;
+}
+.space-between {
+ justify-content: space-between;
+}
+
+
+
+
+
+
+
form {
margin-bottom: 20px;
}
-.m-0 {
- margin: 0;
-}
.loader {
display: inline-block;
border: 2px solid #f3f3f3;
@@ -59,6 +76,8 @@ form {
+
+
.channels-container {
user-select: none;
-webkit-user-select: none;
@@ -88,6 +107,18 @@ form {
padding: 10px;
margin: 0;
}
+
+
+
+
+
+
+
+
+
+
+
+
.video {
position: relative;
width: 280px;
@@ -144,6 +175,46 @@ form {
cursor: pointer;
}
+.play-video-placeholder {
+ height: 157px;
+ background-color: #ceaf80;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.play-icon {
+ position: relative;
+ width: 0;
+ height: 0;
+ border-top: 20px solid transparent;
+ border-bottom: 20px solid transparent;
+ border-left: 30px solid rgb(0, 0, 0);
+ z-index: 100;
+}
+.play-icon::after {
+ z-index: 98;
+ position: absolute;
+ top: -22px;
+ left: -32px;
+ content: "";
+ width: 0;
+ height: 0;
+ border-top: 20px solid transparent;
+ border-bottom: 20px solid transparent;
+ border-left: 30px solid rgb(255, 255, 255);
+}
+
+
+
+
+
+
+
+
+
+
+
+
.download-log {
position: fixed;
bottom: 10px;
@@ -168,6 +239,14 @@ form {
}
+
+
+
+
+
+
+
+
::backdrop {
background-image: linear-gradient(
45deg,
@@ -233,49 +312,17 @@ details {
}
-.flex {
- display: flex;
- justify-content: space-around;
- align-items: center;
- margin-top: 0.3em;
-}
-.space-between {
- justify-content: space-between;
-}
-.play-video-placeholder {
- height: 157px;
- background-color: #ceaf80;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-.play-icon {
- position: relative;
- width: 0;
- height: 0;
- border-top: 20px solid transparent;
- border-bottom: 20px solid transparent;
- border-left: 30px solid rgb(0, 0, 0);
- z-index: 100;
-}
-.play-icon::after {
- z-index: 98;
- position: absolute;
- top: -22px;
- left: -32px;
- content: "";
- width: 0;
- height: 0;
- border-top: 20px solid transparent;
- border-bottom: 20px solid transparent;
- border-left: 30px solid rgb(255, 255, 255);
-}
+
+
+
+
+
+
[data-ignored="true"] {
display: none;
}
-
#show-summarized-videos.active, #show-downloaded-videos.active, #show-ignored-videos.active {
background-color: #e2ffd8;
}