-
Notifications
You must be signed in to change notification settings - Fork 0
/
onionring.css
85 lines (74 loc) · 1.89 KB
/
onionring.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
/* onionring.js is made up of four files - onionring-widget.js, onionring-index.js, onionring-variables.js and onionring.css (this one!)
// it's licensed under the cooperative non-violent license (CNPL) v4+ (https://thufie.lain.haus/NPL.html)
// it was originally made by joey + mord of allium (蒜) house, last updated 2020-10-24 */
/* === ONIONRING.CSS === */
/* this file affects the style of the widget. remember to replace all instances of #rad-allies-free-stars with whatever value you have for ringID in the onionring-widget.js file. make sure it still has the # at the front, though! probably easiest to use find+replace to do it */
#rad-allies-free-stars {
margin: 0 auto;
padding: 15px; /* creates some space around the widget */
}
#rad-allies-free-stars table {
background-color: #ffffff; /* makes the background pure white */
margin: 0 auto; /* centers the widget */
}
#rad-allies-free-stars table tr td {
padding: 15px; /* creates some space between the links and text inside the widget */
position: relative;
animation: rainbow 5s linear infinite, shake 2s linear infinite;
}
@keyframes rainbow {
0% {
color: red;
}
12.5% {
color: orange;
}
25% {
color: yellow;
}
37.5% {
color: green;
}
50% {
color: blue;
}
62.5% {
color: indigo;
}
75% {
color: violet;
}
87.5% {
color: magenta;
}
100% {
color: red;
}
}
@keyframes shake {
0%, 100% {
left: 0px;
}
25%, 75% {
left: 10px;
}
50% {
left: -10px;
}
}
#rad-allies-free-stars .webring-prev {
text-align:right;
}
#rad-allies-free-stars .webring-info {
text-align:center;
}
#rad-allies-free-stars .webring-info tr td {
animation: rainbow 5s linear infinite, shake 2s linear infinite;
position: relative;
}
#rad-allies-free-stars .webring-next {
text-align:left;
}
#rad-allies-free-stars .webring-links {
font-size:small;
}