Skip to content

Commit 15dd7a4

Browse files
authored
Update mstcounter.css
disable animations. add ads mark.
1 parent 34ab86d commit 15dd7a4

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed
Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
:root {
2-
color-scheme: light dark;
2+
color-scheme: light dark;
33
}
44

55
@media (prefers-color-scheme: dark) {
6-
:root {
7-
--serpclr: #dadce0;
8-
--serpbck: #202124;
9-
--serpbrdr: #303134;
10-
}
6+
:root {
7+
--serpclr: #dadce0;
8+
--serpbck: #202124;
9+
--serpbrdr: #303134;
10+
}
1111
}
1212

13-
.serpcounter {
13+
.serpcounter, #tads>div:before, #tadsb>div:before {
1414
position: absolute;
1515
top: 0;
1616
left: 0;
@@ -30,31 +30,29 @@
3030
flex-wrap: nowrap;
3131
align-items: center;
3232
justify-content: center;
33-
animation: linear fadeIn .1s;
3433
user-select: none;
3534
}
3635

36+
#tads>div:before, #tadsb>div:before {
37+
content: "Ad";
38+
font-size: 90%;
39+
margin-left: -2.5rem;
40+
}
41+
42+
#tads>div, #tadsb>div {position: relative}
43+
3744
.ok,.MjjYud {
38-
position: relative;
45+
position: relative;
3946
}
4047

4148
/* Featured snippet box */
4249
.c2xzTb {
43-
overflow: visible !important;
50+
overflow: visible !important;
4451
}
4552

4653
/* Fix indented results not showing numbers */
4754
.jtfYYd,
4855
.kWxLod {
49-
overflow: inherit !important;
50-
contain: inherit!important;
51-
}
52-
53-
@keyframes fadeIn {
54-
from {
55-
opacity: 0;
56-
}
57-
to {
58-
opacity: 1;
59-
}
56+
overflow: inherit !important;
57+
contain: inherit!important;
6058
}

0 commit comments

Comments
 (0)