-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparkrun-dark-theme.user.css
137 lines (120 loc) · 2.81 KB
/
parkrun-dark-theme.user.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
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
/* ==UserStyle==
@name Parkrun dark theme
@namespace mikemanger
@version 1.1.1
@homepageURL https://github.com/mikemanger/userscripts/
@updateURL https://raw.githubusercontent.com/mikemanger/userscripts/master/parkrun-dark-theme.user.css
@license CC-BY-4.0
@preprocessor uso
@advanced text user-one "Highlight user one" Firstname SURNAME
@advanced text user-two "Highlight user two" Firstname SURNAME
@advanced text user-three "Highlight user three" Firstname SURNAME
==/UserStyle== */
@-moz-document domain("parkrun.org.uk"), domain("admin.parkrun.com") {
[data-name="/*[[user-one]]*/"].Results-table-row td,
[data-name="/*[[user-two]]*/"].Results-table-row td,
[data-name="/*[[user-three]]*/"].Results-table-row td {
background: green;
}
[data-name="/*[[user-one]]*/"].Results-table-row .detailed,
[data-name="/*[[user-two]]*/"].Results-table-row .detailed,
[data-name="/*[[user-three]]*/"].Results-table-row .detailed,
[data-name="/*[[user-one]]*/"].Results-table-row .Results-table--red {
color: #fff;
}
[data-name="/*[[user-one]]*/"].Results-table-row .Results-table--red {
display: block;
}
[data-name="/*[[user-one]]*/"].Results-table-row:hover .Results-table--red {
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
transform: translate3d(0, 0, 0);
backface-visibility: hidden;
perspective: 1000px;
}
body {
background: #333;
color: #f2f2f2;
}
h1,
h2,
h3,
h4,
#access a,
#results td,
#results a:link,
#results a:visited,
#results th,
#results th a:link,
#results th a:visited,
.entry-title a,
.Results-modal,
.Results-table-td {
color: #f3f3f3;
}
#results a:hover,
#results a:active {
color: #ffa300;
text-decoration: underline;
}
#results .sortarrow {
filter: none;
}
article,
div[class*="-sidebar-width"],
div[class*="-and-pr"],
footer,
table#results,
#mainleft,
#page:before,
#secondary,
.courseleft,
.courseright,
.homeleft,
.homeright,
.mapboxgl-ctrl-group,
.reg-flag-link-div,
.Results-modal-inner,
.Results-table,
.statscontainer,
.threecoldiv,
.ui-autocomplete {
background: #222;
}
table#results,
#results td,
.Results-table-td {
border-color: #444;
}
#results .odd td:not(.bspacer) {
background: #333;
}
table#rosterTable,
table#rosterTable th,
table#rosterTable td {
border-color: #444;
background: transparent;
}
.headerbarjuniorprlogo,
.headerbarprlogo,
.menuButton .line {
filter: invert(1) hue-rotate(180deg);
}
.entry-content p[style],
.entry-content span[style] {
color: #fff !important;
}
@keyframes shake {
10%, 90% {
transform: translate3d(-1px, 0, 0);
}
20%, 80% {
transform: translate3d(2px, 0, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 0, 0);
}
40%, 60% {
transform: translate3d(4px, 0, 0);
}
}
}