-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylus-scratchpad.css
130 lines (120 loc) · 3.33 KB
/
stylus-scratchpad.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
/* This is a scratchpad of userstyle scripts that aren't complete, or aren't significant enough to make into their own script file */
/* ==UserStyle==
@name Google Search Type Buttons
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://www.google.com/search") {
/* Change look of All/Images/Maps/Shopping/Videos/etc */
.HF9Klc, .m3kSL {
height: 24px !important;
width: 24px !important;
display: block !important;
left: calc(50% - 12px);
position: relative;
}
.NZmxZe {
padding-top: 5px;
padding-bottom: 4px;
text-align: center;
}
/* I don't like how google is like 30% ads now */
#tvcap, #atvcap, /* web ads */
#bottomads, /* web ads down the page */
.cUnQKe, .Wt5Tfe:not(.eJtrMc), /* people also asked stupid questions */
.S3nKkd, /* images sponsored */
.cB8JGb /* images inline related searches */
{
opacity: .2; /* not hiding outright yet until I'm confident that this doesn't hide anything that I do want to see */
}
}
/* ==UserStyle==
@name Google Messages - Emoji Zoom on Hover
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://messages.google.com/web/") {
span[data-is-emoji] {
transition: font-size .3s, line-height .3s;
}
span[data-is-emoji]:hover {
font-size: 100px !important;
line-height: 120px !important;
z-index: 1000000000;
}
}
/* ==UserStyle==
@name quora.com hide signup
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("www.quora.com") {
div.q-box {
filter: unset !important;
}
div.q-box:has(> div.qu-zIndex--blocking_wall) {
display: none;
}
}
/* ==UserStyle==
@name web.telegram.org - 4/23/2023, 12:19:02 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("web.telegram.org") {
img.emoji-small:hover,
img.ReactionStaticEmoji:hover,
img.avatar-media:hover {
width: 5rem !important;
height: 5rem !important;
}
}
/* ==UserStyle==
@name YouTube TimedText Caption File
@namespace github.com/acropup
@version 1.0.0
@description Formats the XML-encoded YouTube TimedText files
@author Shane Burgess
==/UserStyle== */
/* Example URL: https://www.youtube.com/api/timedtext?v=_ZKNOKHpqE4&lang=en */
@-moz-document url-prefix("https://www.youtube.com/api/timedtext") {
#webkit-xml-viewer-source-xml {
display: unset;
}
text {
position: relative;
display: block;
margin-left: 90px;
margin-right: 90px;
}
text::before,
text::after {
position: absolute;
min-width: 90px;
top: 0px;
height: 100%;
font-family: Cambria, sans-serif;
}
text::before {
content: "(" attr(start) "s)";
left: -90px;
}
text::after {
content: "(" attr(dur) "s)";
right: -90px;
font-style: italic;
}
text:nth-child(even),
text:nth-child(even)::before,
text:nth-child(even)::after {
background-color: #e8f2ff;
}
}