-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmain.scss
156 lines (135 loc) · 3.04 KB
/
main.scss
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#instagram-widget {
* {
margin: 0;
padding: 0;
line-height: 0;
}
.instagram-widget-container {
text-align: center;
justify-content: center;
font-weight: 500;
}
.instagram-widget-photos li img {
border-radius: 5%;
background-color: ghostwhite;
object-fit: cover;
object-position: 50% 50%;
max-width: 300px;
max-height: 300px;
min-width: 80px;
min-height: 80px;
margin: 2px;
}
.instagram-content ul {
list-style-type: none;
padding-inline-start: 0;
width: 100%;
}
.instagram-widget-photos li {
list-style-type: none;
display: inline;
}
.instagram-widget-powered, .instagram-widget-loading, .instagram-widget-error-api, .instagram-widget-support {
font-family: monospace, sans-serif;
font-weight: 600;
padding-top: 20px;
height: 100%;
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
line-height: normal !important;
}
a.instagram-widget-href::before {
content: '';
position: absolute;
left: 50%;
bottom: -2px;
width: 100%;
height: 1px;
background-color: #fc2f70;
transform-origin: center;
transform: translate(-50%, 0) scaleX(1);
transition: transform 0.3s ease-in-out;
}
a.instagram-widget-href:hover::before {
transform: translate(-50%, 0) scaleX(0);
}
a.instagram-widget-href {
position: relative;
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding-bottom: 3px;
}
.instagram-widget-powered, .instagram-widget-support {
font-size: xx-small;
}
.instagram-widget-spinner {
display: block;
transform: translate (-50%, -50%);
width: 50px;
height: 50px;
margin: 0 auto;
}
.instagram-widget-svg {
animation: 2s linear infinite instagram-widget-svg-animation;
max-width: 100px;
}
.instagram-widget-circle {
animation: 1.4s ease-in-out infinite both instagram-widget-circle-animation;
display: block;
fill: transparent;
stroke: url(#instagram-widget-gradient);
stroke-linecap: round;
stroke-dasharray: 283;
stroke-dashoffset: 280;
stroke-width: 8px;
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
}
@keyframes instagram-widget-svg-animation {
0% {
transform: rotateZ(0deg);
}
100% {
transform: rotateZ(360deg);
}
}
@-webkit-keyframes instagram-widget-circle-animation {
0%,
25% {
stroke-dashoffset: 280;
transform: rotate(0);
}
50%,
75% {
stroke-dashoffset: 75;
transform: rotate(45deg);
}
100% {
stroke-dashoffset: 280;
transform: rotate(360deg);
}
}
@keyframes instagram-widget-circle-animation {
0%,
25% {
stroke-dashoffset: 280;
transform: rotate(0);
}
50%,
75% {
stroke-dashoffset: 75;
transform: rotate(45deg);
}
100% {
stroke-dashoffset: 280;
transform: rotate(360deg);
}
}