aboutsummaryrefslogtreecommitdiff
path: root/src/styles/badge.css
blob: 764ce7c3d35b8747c86ff94b2f1c832dac21f534 (plain) (blame)
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
.button-badge:hover {
  background-color: var(--base0C);
  cursor: unset;
}

.button-badge {
  vertical-align: unset;
  transform: unset;
  margin-top: unset;
}

.button-badge:active {
  transform: scale(0.75);
}

.badge-info {
  background-color: var(--base0E);
}

.badge-info:hover {
  background-color: var(--base0E);
}

.badge-rainbow {
  color: var(--base07);
  animation: rainbow 20s ease-in-out infinite;
}

@keyframes rainbow {
  0% {
    background: rgba(0, 105, 255, 0.71);
  }
  10% {
    background: rgba(100, 0, 255, 0.71);
  }
  20% {
    background: rgba(255, 0, 139, 0.71);
  }
  30% {
    background: rgba(255, 0, 0, 0.71);
  }
  40% {
    background: rgba(255, 96, 0, 0.71);
  }
  50% {
    background: rgba(202, 255, 0, 0.71);
  }
  60% {
    background: rgba(0, 255, 139, 0.71);
  }
  70% {
    background: rgba(202, 255, 0, 0.71);
  }
  80% {
    background: rgba(255, 96, 0, 0.71);
  }
  85% {
    background: rgba(255, 0, 0, 0.71);
  }
  90% {
    background: rgba(255, 0, 139, 0.71);
  }
  95% {
    background: rgba(100, 0, 255, 0.71);
  }
  to {
    background: rgba(0, 105, 255, 0.71);
  }
}