-
Notifications
You must be signed in to change notification settings - Fork 0
/
stt.css.experimental
103 lines (87 loc) · 1.48 KB
/
stt.css.experimental
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
* {
box-sizing: border-box;
}
html,
body {
min-height: 100vh;
margin: 0;
padding: 0;
}
body {
font-family: Helvetica, Arial, sans-serif;
color: #0d122b;
display: flex;
flex-direction: column;
padding-left: 1em;
padding-right: 1em;
}
h1 {
text-align: center;
font-weight: 100;
}
header {
border-bottom: 1px solid #0d122b;
margin-bottom: 2em;
}
main {
flex-grow: 2;
justify-content: space-around;
align-items: center;
background-color: #fff;
border-radius: 12px;
margin-bottom: 2em;
padding-top: 4em;
text-align: center;
}
@keyframes bg-pulse {
0% {
background-color: #fff;
}
50% {
background-color: #c7ecee;
}
100% {
backgrouond-color: #fff;
}
}
main.speaking {
animation: bg-pulse 1.5s alternate ease-in-out infinite;
}
#result {
color: #666;
font-style: italic;
text-align: center;
}
#result .final {
color: #0d122b;
font-style: normal;
}
button {
font-size: 18px;
font-weight: 200;
padding: 1em;
width: 200px;
background: transparent;
border: 4px solid #f22f46;
border-radius: 4px;
transition: all 0.4s ease 0s;
cursor: pointer;
color: #f22f46;
margin-bottom: 4em;
}
button:hover,
button:focus {
background: #f22f46;
color: #fff;
}
a {
color: #0d122b;
}
.error {
color: #f22f46;
text-align: center;
}
footer {
border-top: 1px solid #0d122b;
text-align: center;
}