Skip to content

Commit

Permalink
Update mstcounter.css
Browse files Browse the repository at this point in the history
disable animations. 
add ads mark.
  • Loading branch information
wolkanca authored Oct 12, 2023
1 parent 34ab86d commit 15dd7a4
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions mstcounter/assets/css/mstcounter.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
:root {
color-scheme: light dark;
color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
:root {
--serpclr: #dadce0;
--serpbck: #202124;
--serpbrdr: #303134;
}
:root {
--serpclr: #dadce0;
--serpbck: #202124;
--serpbrdr: #303134;
}
}

.serpcounter {
.serpcounter, #tads>div:before, #tadsb>div:before {
position: absolute;
top: 0;
left: 0;
Expand All @@ -30,31 +30,29 @@
flex-wrap: nowrap;
align-items: center;
justify-content: center;
animation: linear fadeIn .1s;
user-select: none;
}

#tads>div:before, #tadsb>div:before {
content: "Ad";
font-size: 90%;
margin-left: -2.5rem;
}

#tads>div, #tadsb>div {position: relative}

.ok,.MjjYud {
position: relative;
position: relative;
}

/* Featured snippet box */
.c2xzTb {
overflow: visible !important;
overflow: visible !important;
}

/* Fix indented results not showing numbers */
.jtfYYd,
.kWxLod {
overflow: inherit !important;
contain: inherit!important;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
overflow: inherit !important;
contain: inherit!important;
}

0 comments on commit 15dd7a4

Please sign in to comment.