-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
63 lines (51 loc) · 941 Bytes
/
main.css
File metadata and controls
63 lines (51 loc) · 941 Bytes
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
body {
background-color: #3a7ae0;
color: white;
text-align: center;
font-family: 'Poppins', sans-serif;
}
figure {
height: 20rem;
}
@keyframes fade {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes pop {
from {padding: 1rem 2rem;}
to {padding: 2rem 3rem;}
}
a {
text-decoration: none;
}
a:visited {
color: white
}
a:hover {
color: black;
}
button {
margin-top: -2rem;
background-color: white;
border: none;
padding: 1rem 2rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
outline: none;
border-radius: 1rem;
}
button:hover {
animation-name: pop;
animation-duration: .1s;
font-weight: bold;
}
#quote {
animation-name: fade;
animation-duration: 1s;
}
.author {
animation-name: fade;
animation-duration: 2s;
}