-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
235 lines (196 loc) · 6.12 KB
/
style.css
File metadata and controls
235 lines (196 loc) · 6.12 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
/*
#voice-search-button {
display: none !important;
}
*/
#comments {
/*
min-height: 360px;
height: calc(100vh - var(--ytd-watch-flexy-masthead-height) - var(--ytd-margin-6x) - var(--ytd-watch-flexy-space-below-player));
max-height: 700px;
*/
min-height: 0;
max-height: var(--ytd-watch-flexy-panel-max-height);
overflow-y: scroll;
border: 1px solid var(--yt-sys-color-baseline--outline);
border-radius: 12px;
padding: 0px 15px;
margin-bottom: 15px;
}
body.byui-related-view #related ytd-item-section-renderer>#contents {
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
grid-auto-flow: dense;
grid-gap: 16px;
}
body.byui-related-view #related ytd-item-section-renderer>#contents ytd-reel-shelf-renderer {
grid-column: 1 / -1;
}
body.byui-related-view #related ytd-item-section-renderer>#contents .ytLockupViewModelHorizontal {
flex-direction: column;
margin-top: 0;
}
body.byui-related-view #related ytd-item-section-renderer>#contents a.ytLockupViewModelContentImage {
width: auto !important;
padding-bottom: 6px;
}
/*전체화면 댓글창*/
.byui-fullscreen-comment {
border: none;
border-radius: 0px !important;
background-color: rgba(0, 0, 0, 0.7);
min-height: 100% !important;
min-width: 20% !important;
width: 20%;
height: 100%;
position: relative;
z-index: 11;
overflow: hidden;
float: right;
}
/*댓글 헤더 레이아웃 변경*/
.byui-fullscreen-comment ytd-comments-header-renderer {
margin-bottom: 0;
}
.byui-fullscreen-comment ytd-comments-header-renderer #title {
display: block;
}
.byui-fullscreen-comment ytd-comments-header-renderer #title span {
color: rgb(245, 245, 245);
}
.byui-fullscreen-comment ytd-comments-header-renderer #title #leading-section {
margin-bottom: 15px;
}
/*고정 댓글*/
.byui-fullscreen-comment .ytd-pinned-comment-badge-renderer {
color: rgb(200, 200, 200) !important;
}
/*댓글 작성자*/
.byui-fullscreen-comment #author-text span {
color: rgb(245, 245, 245);
}
/*댓글 내용*/
.byui-fullscreen-comment yt-attributed-string,
.byui-fullscreen-comment yt-attributed-string * {
color: rgb(245, 245, 245) !important;
}
/*댓글 작성 시간*/
.byui-fullscreen-comment #published-time-text a {
color: rgb(200, 200, 200) !important;
}
/*댓글 내 링크*/
.byui-fullscreen-comment .yt-core-attributed-string__link {
color: rgb(200, 200, 255) !important;
}
/* 댓글 창 내 아이콘 하얗게 */
.byui-fullscreen-comment svg {
filter: brightness(100);
}
/* 좋아요/싫어요 아이콘 하얗게 */
.byui-fullscreen-comment #vote-count-middle {
filter: brightness(100);
}
/*정렬 기준*/
.byui-fullscreen-comment #label #icon-label {
color: rgb(245, 245, 245);
}
/*자세히보기/간략히*/
.byui-fullscreen-comment #more span,
.byui-fullscreen-comment #less span {
color: rgb(180, 180, 180);
}
/*답글 작성 차단*/
.byui-fullscreen-comment #simple-box,
.byui-fullscreen-comment #reply-button-end {
display: none;
}
/*답글 더보기*/
.byui-fullscreen-comment .ytd-comment-replies-renderer span,
.byui-fullscreen-comment .ytd-comment-replies-renderer span,
.byui-fullscreen-comment .ytd-continuation-item-renderer span {
color: white !important;
}
.byui-fullscreen-comment .ytd-comment-replies-renderer button:hover,
.byui-fullscreen-comment .ytd-comment-replies-renderer button:hover,
.byui-fullscreen-comment .ytd-continuation-item-renderer button:hover {
background-color: rgba(255, 255, 255, 0.1);
}
/* 댓글 번역하기 */
.byui-fullscreen-comment .translate-button * {
color: rgb(140, 140, 140) !important;
}
.byui-fullscreen-live-chat {
border: none;
border-radius: 0px !important;
min-height: 100% !important;
min-width: 20% !important;
width: 20%;
height: 100%;
position: relative;
z-index: 12;
float: right;
}
ytd-app[fullscreen] {
overflow: auto !important;
}
ytd-app[scrolling] {
position: absolute !important;
top: 0 !important;
left: 0 !important;
right: calc((var(--ytd-app-fullerscreen-scrollbar-width) + 1px)*-1) !important;
bottom: 0 !important;
overflow-x: auto !important;
}
ytd-watch-flexy[fullscreen] #single-column-container.ytd-watch-flexy,
ytd-watch-flexy[fullscreen] #columns.ytd-watch-flexy {
display: flex !important;
}
/* Hide the fullscreen grid with recommended videos */
.ytp-fullscreen-grid,
.ytp-fullscreen-grid-main-content,
.ytp-fullscreen-grid-stills-container,
.ytp-modern-videowall-still,
.ytp-fullscreen-grid-expand-button,
.ytp-fullscreen-grid-hover-overlay {
display: none !important;
opacity: 0 !important;
visibility: hidden !important;
/*pointer-events: none !important;*/
height: 0 !important;
max-height: 0 !important;
overflow: hidden !important;
}
/* Completely disable grid scrolling CSS variables */
.html5-video-player.ytp-grid-scrollable,
.html5-video-player {
--ytp-grid-scroll-percentage: 0 !important;
--ytp-grid-peek-height: 0px !important;
}
/* Hide any fullscreen education panels and overlays */
.ytp-fullerscreen-edu-panel,
.ytp-cards-teaser,
.ytp-cards-teaser-box,
div[class*="fullerscreen"] {
display: none !important;
opacity: 0 !important;
visibility: hidden !important;
}
.ytp-delhi-modern.ytp-full-bleed-player.ytp-fullscreen-grid-active:not(.html5-video-player.ended-mode) .ytp-chrome-bottom {
bottom: 0 !important;
opacity: 1 !important;
}
.ytp-fullscreen-grid-peeking.ytp-full-bleed-player.ytp-delhi-modern:not(.ytp-autohide) .ytp-chrome-bottom,
.ytp-fullscreen-grid-peeking.ytp-full-bleed-player.ytp-delhi-modern.ytp-autohide.ytp-grid-scrolling .ytp-chrome-bottom {
opacity: 1 !important;
}
.ytp-fullscreen-grid-peeking.ytp-full-bleed-player.ytp-delhi-modern .ytp-chrome-bottom {
bottom: 0 !important;
}
.ytp-fullscreen-grid-peeking.ytp-full-bleed-player.ytp-grid-scrolling .ytp-chrome-bottom {
pointer-events: auto !important;
}
.ytp-delhi-modern.ytp-fullscreen-grid-active:not(.html5-video-player.ended-mode):not(.ytp-grid-scrolling) .ytp-chrome-bottom {
display: auto !important;
bottom: 0 !important;
}