-
Notifications
You must be signed in to change notification settings - Fork 0
/
captions.css
40 lines (34 loc) · 965 Bytes
/
captions.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
/* Styles for the whole video container. Use it for display settings. */
#video {
display: flex;
flex-direction: column;
}
/* Styles for captions container. Use it to align captions in the video. */
.captions {
margin-top: 500px;
text-align: center;
}
/* Styles for one "phrase", you can use it to define background for the whole caption. */
.caption {
}
/* Styles for words. Define here fonts, colors, shadows and etc. */
.word {
display: inline-block;
font-family: Ubuntu;
font-size: 60px;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
padding: 12px;
border-radius: 10px;
}
/* Styles for the word that is currently highlighted. */
.word.highlighted {
background-color: #670abd;
text-shadow: none;
}
/* Styles for words before the highlighted one. */
.word.before-highlighted {
}
/* Styles for words after the highlighted one. */
.word.after-highlighted {
}