-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgayfox.css
60 lines (53 loc) · 1.23 KB
/
gayfox.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
/*
* gayfox - gay firefox theme (rev. 4)
*
* Source: https://github.com/6gk/gkay
* By gk <[email protected]> [github.com/6gk]
* Licensed under MIT (expat)
*/
:root {
--red: #ffb0b0;
--yellow: #fff7c6;
--green: #cfffd2;
--cyan: #c0ffff;
--blue: #cbd4ff;
--pink: #ffbfef;
}
@keyframes rainbow {
0% { background-position: 0 0; }
100% { background-position: 100% 0; }
}
#titlebar {
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)
);
background-size: 300% 100% !important;
animation: rainbow 3s linear infinite !important;
animation-play-state: running !important;
}
#titlebar:-moz-window-inactive {
animation-play-state: paused !important;
}
/* readability is nice. -- Fix colours on dark theme */
#tabs-newtab-button,
.tabbrowser-tab:not([selected]) .tab-content {
--toolbarbutton-icon-fill: #333;
color: #333;
}
/** windows:tm: **/
/* doesn't show the rainbow with the default appearance */
#titlebar { appearance: none !important; }
/* due to resetting appearance, the top is cut off if this is left default */
#main-window[sizemode="maximized"] #titlebar {
padding-top: 8px;
}