-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (109 loc) · 1.96 KB
/
style.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
* {
box-sizing: border-box;
}
body {
background: rgb(80, 90, 85) url("./img/bg-1.jpg") no-repeat center
center/cover;
color: aliceblue;
font-family: "Montserrat", sans-serif;
min-height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
}
.container {
display: flex;
align-items: center;
justify-content: center;
height: 35vh;
width: 35vh;
margin: auto;
position: relative;
transform: scale(1);
}
.gradient-circle {
/* background: conic-gradient(
#cbcc8e 0%,
#cbcc8e 40%,
#fff 40%,
#fff 60%,
rgb(120, 120, 100) 60%,
rgb(120, 120, 100) 100%
); */
background: conic-gradient(
rgb(109, 109, 81) 0%,
rgb(201, 201, 137) 37.5%,
rgb(160, 0, 255) 37.5%,
white 50%,
rgb(109, 109, 81) 50%,
rgb(201, 201, 137) 87.5%,
rgb(160, 0, 255) 87.5%,
white 100%
);
height: 37vh;
width: 37vh;
position: absolute;
top: -1vh;
left: -1vh;
z-index: -2;
border-radius: 50%;
}
.circle {
background: #545a05;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
border-radius: 50%;
}
.pointer-container {
position: absolute;
top: -4.77vh;
left: calc(17.5vh - 1.2vh);
width: 2.4vh;
height: 22.6vh;
animation: rotate 8s linear forwards infinite;
transform-origin: bottom center;
}
.pointer {
background-color: rgb(120, 125, 10);
border-radius: 35%;
height: 2.4vh;
width: 2.4vh;
display: block;
}
.container.grow {
animation: grow 3s linear forwards;
}
.container.shrink {
animation: shrink 3s linear forwards;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes grow {
from {
transform: scale(1);
}
to {
transform: scale(1.2);
}
}
@keyframes shrink {
from {
transform: scale(1.2);
}
to {
transform: scale(1);
}
}