-
Notifications
You must be signed in to change notification settings - Fork 0
/
yt.css
123 lines (104 loc) · 2.26 KB
/
yt.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
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
.ytp-caption-segment {
background: none !important;
}
.ytp-caption-segment >wrap {
/* border-right: solid 6px black; */
/* padding: 1px; */
background: rgba(8, 8, 8, 0.75) !important;
font-size: 0.96em !important;
cursor: pointer;
}
.ytp-caption-segment wrap,
.ytp-caption-segment word
{
vertical-align:top;
position: relative;
}
.ytp-caption-segment wrap:hover
{
outline:1px solid red;
}
.ytp-caption-segment >wrap +wrap{
margin-left: 3px !important;
}
.caption-visual-line:last-child .ytp-caption-segment >wrap:last-child{
background: rgba(255, 0, 0, 0.75) !important;
}
.ytp-caption-segment info{
display:none;
position: absolute;
left:0;
bottom: 100%;
background: rgba(255, 255, 255, 0.85);
color: black;
border: dashed 1px;
padding: 0.25em;
line-height: 1;
cursor:text;
user-select: text;
}
/* .ytp-caption-segment info:empty:before{
content:"Click to load";
} */
.ytp-caption-segment wrap:nth-last-child(-n+5) info
{
left:auto;
right:0;
}
.ytp-caption-segment wrap:nth-child(-n+3) info
{
right:auto;
left:0;
}
.ytp-caption-segment wrap:hover >info{
display:block;
}
.ytp-caption-segment meaning,
.ytp-caption-segment pronunciation
{
display:block;
/*text-transform: lowercase;*/
}
.ytp-caption-segment primitives{
white-space: nowrap;
}
.ytp-caption-segment primitives word{
font-size:2em;
font-family: 'BabelStone Han Plain', 'BabelStone Han';
}
.ytp-caption-segment translation{
font-size: 0.8em;
white-space: nowrap;
}
.ytp-caption-segment pronunciation{
font-size: 0.7em;
font-weight: 100;
font-style: italic;
}
.ytp-caption-segment pronunciation:before,
.ytp-caption-segment pronunciation:after
{
content:'[';
}
.ytp-caption-segment pronunciation:after
{
content:']';
}
.caption-visual-line,
.captions-text,
.caption-window
{
overflow:visible !important;
}
.caption-window{
/* height: auto !important; */
width: auto !important;
/* top: auto !important;
bottom: 0 !IMPORTANT;
left: 0 !important;
right: auto !important;
margin-left: 0 !IMPORTANT;
margin-top: 0 !IMPORTANT;
margin-right: 0 !IMPORTANT;
margin-bottom: 50px !IMPORTANT; */
}