-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
76 lines (64 loc) · 1.2 KB
/
styles.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
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
.fascinating-words {
font-family: fantasy;
}
.interesting-things {
list-style-type: square;
}
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside */
.aside-info {
width: 40%;
padding-left: 0.5rem;
margin-left: 0.5rem;
float: right;
box-shadow: inset 5px 0 5px -5px #29627e;
font-style: italic;
}
.aside-text {
font-family: monospace;
}
.bottom-divider {
border-style: none none solid none;
}
.spaced-items {
display: flex;
flex-direction: row;
align-content: center;
justify-content: space-around;
padding-top: 2%;
padding-bottom: 2%;
}
.centered-items {
display: flex;
flex-direction: row;
justify-content: center;
padding-top: 2%;
padding-bottom: 2%;
}
.top-divider {
border-style: solid none none none;
}
/* https://www.developerdrive.com/8-simple-css-hover-effects/ */
@keyframes bounce {
0%,
20%,
60%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
40% {
-webkit-transform: translateY(-20px);
transform: translateY(-20px);
}
80% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
}
.bouncy-img {
width: 5%;
height: 5%;
}
.bouncy-img:hover {
animation: bounce 1s;
}