If the ads take up 42% of vertical space, that's too much. But opposed to using an ad-blocker, resizing the ads keeps the site both usable AND funded.
Reasonable ad size by LWChris
Details
AuthorLWChris
LicenseMIT License
Categorychampionmastery
Created
Updated
Size850 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Reasonable ad size
@version 20230626.22.29
@namespace ?
==/UserStyle== */
@-moz-document domain("championmastery.gg") {
.responsiveAd div#aswift_1_host,
.responsiveAd div#aswift_2_host {
height: 140px !important;
}
.responsiveAd iframe {
transform-origin: 50% 0;
transform: scale(0.5);
}
#header + .responsiveAd {
margin-top: 5px;
}
.responsiveAd > ins.adsbygoogle {
height: 140px !important;
}
.grippy-host {
transform: scaley(1.25);
}
#footer {
padding-top: 10px;
}
#footer > div:first-child {
margin-bottom: 30px;
}
#footer ~ .adsbygoogle {
transform: scaley(0.8) translatey(16px);
}
#footer ~ .adsbygoogle[data-anchor-status="dismissed"] {
transform: scaley(0.8) translatey(-10px);
}
#aswift_3 {
transform: scalex(0.8);
}
}