-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (105 loc) · 2.12 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.head{
font-size: 30px;
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
}
.descrip{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body{
width: 250px;
height: 160px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
gap: 10px;
align-items: center;
/* border: 1px solid black; */
/* border-radius: 10px; */
}
.button{
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
height: 1.7rem;
width: 3.5rem;
background-color: #FDFCA3;
border-radius: 20px;
position: relative;
/* animation: transformToBlue 1s linear 0s infinite; */
cursor: pointer;
}
.description{
display: flex;
flex-direction: column;
gap: 3px;
}
.text,.github{
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
.row{
padding: 3px;
pointer-events: none;
}
.circle{
top: 0;
left: 0;
width: 1.7rem;
height: 1.7rem;
border-radius: 50%;
background-color: rgb(255, 213, 0);
position: absolute;
/* animation: moveCircleRight 1s linear 0s infinite; */
pointer-events: none;
}
/* animations */
@keyframes moveCircleRight {
0% {
left: 0;
transform: translateX(0);
background-color: rgb(255, 213, 0);
}
100% {
left: 100%;
transform: translateX(-100%);
background-color: #588BE4;
}
}
@keyframes moveCircleLeft {
0% {
left: 100%;
transform: translateX(-100%);
background-color: #588BE4;
}
100% {
left: 0;
transform: translateX(0);
background-color: rgb(255, 213, 0);
}
}
@keyframes transformToBlue {
0% {
background-color: #FDFCA3;
}
100% {
background-color: #8ABFF0;
}
}
@keyframes transformToYellow {
0% {
background-color: #8ABFF0;
}
100% {
background-color: #FDFCA3;
}
}