summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/player/player.transcript.css
blob: 8862587168ef668f59a3f435f1b7a7cc2c080dd7 (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
.player-transcript {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

.player-transcript .section_heading,
.player-transcript .paragraph.intro_paragraph {
  font-family: "Freight Text", serif;
  font-size: 3rem;
  line-height: 1.28;
  width: 80%;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.player-transcript .section_heading {
  text-align: center;
}
.player-transcript .section_heading:first-child {
  margin-top: 8rem;
}

.player-transcript .paragraph {
  font-family: "Freight Text", serif;
  font-size: 1.2rem;
  line-height: 1.5;
  width: 45rem;
  max-width: 80%;
  margin: 0 auto;
  padding-bottom: 1.2rem;
}


/* transcript scroll bar */

.player-transcript::-webkit-scrollbar {
  cursor: pointer;
  user-select: none;
  width: 4px
}
.player-transcript::-webkit-scrollbar-button {
  display: block;
  width: 0;
  height: 0;
}
.player-transcript::-webkit-scrollbar-track-piece {
  background:rgba(211,211,211,0.8);
}
.player-transcript::-webkit-scrollbar-thumb {
  display: block;
  background: #000;
}

/* paragraph subtypes */

.player-transcript .section_heading {
  text-align: center;
  padding-top: 2rem;
}
.player-transcript .section_heading:first-of-type {
  padding-top: 0;
}
.player-transcript .section_heading span {
}

.player-transcript .paragraph,
.player-transcript .hidden {
}

.player-transcript .paragraph:last-child {
  margin-bottom: 6rem;
}

.player-transcript .blockquote {
  padding-left: 2rem;
  line-height: 1.45;
}

/* sentences */

.player-transcript span {
  margin-right: 4px;
  box-shadow: 0 0 0 rgba(255,255,255,0.0);
}
.player-transcript .media span {
  margin-right: 0;
  border-bottom: 1px solid;
  cursor: pointer;
}

.player-transcript .intro_paragraph .current {
  box-shadow: -5px -1px 0 #e8e8e8,
               5px -1px 0 #e8e8e8,
              -5px  1px 0 #e8e8e8,
               5px  1px 0 #e8e8e8;
  box-decoration-break: clone;
  background: #e8e8e8;
  color: #000;
  transition: all 0.2s;
}
.player-transcript .paragraph .current {
  box-shadow: -1px -1px 0 #e8e8e8,
               1px -1px 0 #e8e8e8,
              -1px  1px 0 #e8e8e8,
               1px  1px 0 #e8e8e8;
  box-decoration-break: clone;
  background: #e8e8e8;
  color: #000;
  transition: all 0.2s;
}

/* media */

.player-transcript .media {
  width: 100%;
}
.player-transcript .media.image img {
  margin: 0 auto;
  display: block;
  max-width: 100vw;
  max-height: 100vh;
}
.player-transcript .media.fullscreen .img {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center center;
}
.player-transcript .media .citation {
  width: 45rem;
  margin: 0 auto;
  padding: 1rem 0;
  font-family: "Neue Haas Unica";
  color: #888;
}