blob: 87506f69a6a7e383b3641a2ff3e91e9eab6a5e44 (
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
|
.body.viewer {
height: calc(100% - 3.125rem);
background: #fff;
color: #000;
font-family: "Neue Haas Unica", sans-serif;
}
.close {
position: absolute;
top: 1.5rem; right: 1rem;
width: 2rem;
height: 2rem;
background-image: url('/static/img/close-black.png');
background-color: rgba(255,255,255,1.0);
background-size: 1.5rem 1.5rem;
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
}
/* transcript */
.transcript {
position: absolute;
top: 0;
right: 0;
width: 30rem;
max-width: 100vw;
height: 100%;
overflow: hidden;
background: white;
color: black;
border-left: 1px solid #000;
font-size: 16px;
line-height: 1.45;
transform: translateZ(0) translateX(100%);
transition: transform 0.2s;
}
.transcript.visible {
transform: translateZ(0) translateX(0);
}
/* general paragraph styles */
.transcript .content {
overflow: scroll;
width: 100%;
height: 100%;
padding: 1.5rem 2rem 6rem 1.5rem;
position: relative;
}
.transcript .content > div {
margin-bottom: 16px;
}
/* paragraph subtypes */
.transcript .header {
text-align: center;
padding-top: 2rem;
}
.transcript .header:first-of-type {
padding-top: 0;
}
.transcript .header span {
border-bottom: 1px solid;
}
.transcript .paragraph,
.transcript .hidden {
}
.transcript .blockquote {
padding-left: 3rem;
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;
}
|