-
Notifications
You must be signed in to change notification settings - Fork 0
/
duckduckgo.css
59 lines (52 loc) · 1.26 KB
/
duckduckgo.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
/* ==UserStyle==
@name DuckDuckGo
@author Terijaki
@version 1.0.0
@namespace cleanup
@preprocessor default
==/UserStyle== */
@-moz-document domain("duckduckgo.com")
{
/* remove ads */
li[data-layout="ad"]{
display:none!important;
}
/* removes the logo */
[data-testid="header-logo"], main div div img{
display:none!important;
}
/* remove self promotion */
p:has(a[href^="/spread"]),span[data-type="showcase"], [data-layout="spreadCTA"], *:has(> a[href^="#features"]), #features {
display:none!important;
}
/* remove feedback button */
div .js-feedback-btn-wrap, .feedback-prompt {
display: none!important;
}
/* recolor links */
li article[data-nrn="result"] h2 a {
color: rgb(255, 204, 51);
}
li article[data-nrn="result"] h2 a:visited {
color: rgb(75, 210, 196);
}
li:hover article[data-nrn="result"] h2 a {
color: rgb(235, 139, 32);
text-decoration: none!important;
}
/* round images in search */
#zci-images :has(img) {
border-radius: 8px!important;
}
div.footer {
display:none!important;
}
/* remove sidebar if its empty */
section[data-area="sidebar"]:empty {
display:none;
}
*:has(section[data-area="sidebar"]:empty) > section[data-area="mainline"] {
max-width: 100%!important;
flex-basis: 1200px!important;
}
}