Cleans up the look and makes it wider for larger screens.
Iltalehti cleanup by aalhitennf
Details
Authoraalhitennf
LicenseNo License
Categoryuserstyles
Created
Updated
Size2.4 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Lots of stuff for registered and paying users is removed like some menus and Plus articles. Also sections for shorts/videos is removed, i like to read my content.
Source code
/* ==UserStyle==
@name Iltalehti clean and wide
@namespace USO Archive
@author as df
@description Cleans up some ads and useless junk. Also makes the content slightly wider, meant for pc monitors.
@version 20220728.08.04
@license CC0-1.0
@preprocessor uso
==/UserStyle== */
/* ==UserStyle==
@name Iltalehti clean and wide
@version 20220223.13.38
@namespace userstyles.world/user/aalhitennf
@description Cleans up the look and makes it wider for larger screens.
@author aalhitennf
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://www.iltalehti.fi/") {
@media screen and (max-width: 3440px) {
.container-max-width,
.news-container {
min-width: 50% !important;
}
.newsticker-item {
margin-right: 0 !important;
margin-left: 0 !important;
}
}
.nakoislehti-column-box,
.footer-container,
.order-plus-nav,
.etua-react-embed,
il-rantapallo-right-column-box,
.banner-container,
.scroll-nav,
.puffi,
.user-nav,
.jwplayer-minimize,
div[class*="article-sponsored-"],
div[class^="ad"],
div[class^="alma"],
div[class^="Alma"],
div[class*="-ad-container"],
div[class*="-newsletter-embed"],
div[class*="latest-palat"]
{
display: none !important;
box-shadow: none !important;
border: none !important;
}
.card:has(
.kauppalehti-embed,
.front-banner-embed,
.alma-embed,
.autotalli-box,
.news-tip,
[class*="-column-embed"],
[href*="uutisvihje"],
[href*="Front-plus-nosto"],
.front-plus-header
) {
display: none !important;
}
a:has(
.il-plus-svg-logo
) {
display: none !important;
}
#news-container, .layout-max-width {
padding: 0 !important;
min-width: 100% !important;
}
.scroll-nav {
margin-left: 0;
}
.layout-max-width div.hamburger-container {
display: flex !important;
justify-content: flex-end !important;
margin-right: 0px !important;
}
.hamburger {
margin-right: 0px !important;
}
.main-nav li:first-of-type a,
.il-header-container {
padding: 0 !important;
}
.sub-nav ul {
padding-left: 0px !important;
}
}