-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (92 loc) · 1.68 KB
/
style.css
File metadata and controls
106 lines (92 loc) · 1.68 KB
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
104
105
106
@media only screen and (max-width: 384px) {
body {
padding-top: 20%;
height: 348px;
}
.animate {
animation: rotation 4s infinite linear,
zoom 0.25s infinite linear alternate,
bounceMobile 0.25s infinite linear alternate;
}
}
@media only screen and (min-width: 385px) {
body {
justify-content: center;
height: 100vh;
}
.animate {
animation: rotation 4s infinite linear,
zoom 0.25s infinite linear alternate,
bounce 0.25s infinite linear alternate;
}
}
* {
padding: 0;
margin: 0;
}
body {
background-color: rgb(12, 10, 10);
width: 100vw;
display: flex;
flex-direction: column;
min-width: 384px;
}
img {
border-radius: 100%;
width: 100%;
height: auto;
}
.imgContainer {
margin-left: auto;
margin-right: auto;
overflow: hidden;
border-radius: 100%;
}
.imgOverlay {
position: relative;
width: 100%;
height: 100%;
border-radius: 100%;
background-color: rgb(12, 10, 10);
border: 0;
}
.imgOverlay:hover {
opacity: 75%;
cursor: pointer;
}
.animate {
animation: rotation 4s infinite linear, zoom 0.25s infinite linear alternate,
bounce 0.25s infinite linear alternate;
}
@keyframes rotation {
from {
rotate: 360deg;
}
to {
rotate: 0deg;
}
}
@keyframes zoom {
from {
scale: 1;
}
to {
scale: 1.15;
}
}
@keyframes bounce {
from {
translate: 0px 0px;
}
to {
translate: 0px 2vw;
}
}
@keyframes bounceMobile {
from {
translate: 0px 0px;
}
to {
translate: 0px 15px;
}
}