-
Notifications
You must be signed in to change notification settings - Fork 0
/
inject.css
executable file
·55 lines (48 loc) · 1.02 KB
/
inject.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ytd-grid-video-renderer[is-dismissed] {
display: none !important;
}
ytd-grid-video-renderer #video-title.yt-simple-endpoint.ytd-grid-video-renderer {
min-height: 3.2rem;
}
.yt-vid-hider-btn{
cursor: pointer;
width: calc(100% + 24px);
margin-top: 10px;
background: #dcdcdc;
height: 40px;
color: rgba(255,255,255,1);
transition: all 0.3s;
border: 1px solid rgba(255,255,255,0.5);
position: relative;
overflow: hidden;
}
.yt-vid-hider-btn:hover {
border: 1px solid black;
color: black;
font-weight: bold;
}
.yt-vid-hider-btn span {
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.yt-vid-hider-btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0;
background-color: rgba(255,255,255,0.5);
transition: all 0.3s;
}
.yt-vid-hider-btn:hover::before {
opacity: 1;
-webkit-transform: skewX(-180deg) scale(0.5,1);
transform: skewX(-180deg) scale(0.5,1);
}