blob: 1078133aee9e62e2330460b969bf0df391e8a7a7 (
plain)
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
|
/* transcript */
.transcript {
z-index: 20;
position: absolute;
top: 0;
right: 0;
width: 31.875rem;
max-width: 100vw;
height: 100%;
overflow: hidden;
background: white;
color: black;
font-size: 18px;
line-height: 1.45;
transform: translateZ(0) translateX(100%);
transition: transform 0.2s;
pointer-events: none;
user-select: none;
}
.transcript-open .transcript {
pointer-events: auto;
user-select: auto;
transform: translateZ(0) translateX(0);
}
/* footer */
.transcript .footer {
position: absolute;
bottom: 0;
left: 0;
height: calc(3rem + 1px);
width: 100%;
background: black;
color: white;
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
border-top: 1px solid white;
}
/* general paragraph styles */
.transcript .content {
overflow-x: hidden;
overflow-y: hidden;
width: 100%;
height: calc(100% - 3rem);
padding: 1.5rem 4rem 6rem 2rem;
border-left: 1px solid #000;
position: relative;
}
.transcript-open .transcript .content {
overflow-y: scroll;
}
.transcript .content > div {
margin-bottom: 16px;
}
/* transcript scroll bar */
.transcript .content::-webkit-scrollbar {
cursor: pointer;
user-select: none;
width: 4px
}
.transcript .content::-webkit-scrollbar-button {
display: block;
width: 0;
height: 0;
}
.transcript .content::-webkit-scrollbar-track-piece {
background:rgba(211,211,211,0.8);
}
.transcript .content::-webkit-scrollbar-thumb {
display: block;
background: #000;
}
/* paragraph subtypes */
.transcript .section_heading {
cursor: pointer;
text-align: center;
padding-top: 2rem;
}
.transcript .section_heading:first-of-type {
padding-top: 0;
}
.transcript .section_heading span {
border-bottom: 1px solid;
}
.transcript .paragraph,
.transcript .hidden {
}
.transcript .blockquote {
padding-left: 2rem;
line-height: 1.45;
}
/* sentences */
.transcript span {
margin-right: 4px;
box-shadow: 0 0 0 rgba(255,255,255,0.0);
}
.transcript .media span {
margin-right: 0;
border-bottom: 1px solid;
cursor: pointer;
}
.transcript .paragraph .current {
box-shadow: -2px -1px 0 #e8e8e8,
2px -1px 0 #e8e8e8,
-2px 1px 0 #e8e8e8,
2px 1px 0 #e8e8e8;
box-decoration-break: clone;
background: #e8e8e8;
color: #000;
transition: all 0.2s;
}
.transcript .footnote {
font-size: 0.8rem;
position: relative;
top: -0.5rem;
left: -0.4rem;
margin-right: -0.2rem;
cursor: pointer;
}
.transcript .paragraph .current + .footnote {
background: #e8e8e8;
}
|