-
Notifications
You must be signed in to change notification settings - Fork 2
/
gaygle.css
71 lines (61 loc) · 1.54 KB
/
gaygle.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
@-moz-document domain("www.google.com") {
/*
* gaygle - gay google theme (rev. 5) [name ideas welcome]
*
* Source: https://github.com/6gk/gkay
* By gk <messagke@gmail.com> [github.com/6gk]
* Licensed under MIT (expat)
*/
/* TODO: Fix visited links. */
@keyframes rainbow {
0% { background-position: 0 0; }
100% { background-position: 100% 0; }
}
[data-dobid="dfn"], /* definition description */
.z8gr9e > b, /* definition bold word thing */
.c8d6zd, /* definition title */
.LC20lb, /* title of search result */
.IsZvec a, /* secondary links in result description */
.fl /* other links from same site (notably reddit) */
{
--red: #ff6d6d;
--yellow: #b29d21;
--green: #30ba39;
--cyan: #42b4b4;
--blue: #778eff;
--pink: #ff6efa;
font-weight: 500 !important;
background: linear-gradient(
to right,
var(--red),
var(--yellow),
var(--green),
var(--cyan),
var(--blue),
var(--pink),
var(--red),
var(--yellow),
var(--green),
var(--cyan)
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
border-bottom: 1px solid #ffffffff;
background-size: 300% 100%;
animation: rainbow 3s linear infinite;
}
.fl:visited,
a:visited .LC20lb {
border-bottom-color: #f0d;
}
/* firefox: save resources when unfocused */
[data-dobid="dfn"]:-moz-window-inactive,
.z8gr9e > b:-moz-window-inactive,
.c8d6zd:-moz-window-inactive,
.LC20lb:-moz-window-inactive,
.IsZvec a:-moz-window-inactive,
.fl:-moz-window-inactive {
animation-play-state: paused !important;
}
}