forked from jstejada/react-typist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
51 lines (46 loc) · 916 Bytes
/
main.scss
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
$bg-color: #333;
$bl-color: #22BAD9;
body {
font-family: monospace;
font-size: 18px;
line-height: 1.7;
background-color: #333333;
padding: 25px 50px;
}
.TypistExample {
a {
color: inherit;
&:hover {
background-color: $bl-color;
color: white;
text-decoration: none;
}
}
&-header {
margin-top: 5%;
margin-bottom: 15%;
text-align: center;
font-size: 3em;
cursor: pointer;
color: $bl-color;
}
&-message {
color: hotpink;
width: 400px;
margin: auto;
.flash {
color: $bl-color;
font-weight: bold;
text-decoration: underline;
animation-name: blinker;
animation-duration: 0.7s;
animation-timing-function: linear;
animation-iteration-count: infinite;
@keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
}
}
}