See @description in the Source Code.
DeAnnoy Newsweek [papo] by papo
Details
Authorpapo
LicenseCC BY-NC-SA 4.0
Categorynewsweek
Created
Updated
Size2.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name DeAnnoy Newsweek [papo]
@namespace github.com/paponius/userstyles
@version 1.0.0
@description Updated: 2024-05. Notes and feedback: https://github.com/paponius/userstyles/. Removed distracting and annoying elements. Check what it does in style Options, or read @var descriptions on top of the code.
@author Papo
@homepageURL https://github.com/paponius/userstyles/
@supportURL https://github.com/paponius/userstyles/
@license CC BY-NC-SA 4.0
@preprocessor stylus
# --- END: common block ---
@var checkbox UnstickHeader "Unstick the header" 1
@var checkbox UnstickNextAndShare "Unstick the Next And Share header" 1
@var checkbox HideNextAndShare "Hide the Next And Share header" 0
@var checkbox NoRecycle 'Distraction Free: Do not Recycle me (no More Stories, no Related, ...)' 0
@var checkbox FullWidth "Full Width (must enable also Distraction Free)" 0
@var checkbox HideNewsletter "Hide Newsletter subscription box" 1
==/UserStyle== */
/* This preprocesor header and global variables are common part used in many of my styles. Version: 1.1.2 24-05 */
@-moz-document domain("newsweek.com") {
if UnstickHeader {
header.header-menu-global {
position: absolute;
/* --was-position: fixed; */
}
}
if UnstickNextAndShare {
.breaking-bar {
position: absolute;
/* --was-position: fixed; */
}
}
if HideNextAndShare {
#breakingnews-placeholder
{
display: none !important;
}
}
if NoRecycle {
.page-sidebar
, .breaking-left-content
, .read-more-topics
, .top-stories
, .footer-menu-trending:not(.add.more.salt)
, .footer-magazine-section:not(.add.more.salt)
, .article-body > .fullCode > .innerBox > .code > .art19-web-player
, #block-nw-content-recirc
{
display: none;
}
}
if NoRecycle and FullWidth {
@media screen and (min-width: 992px) {
.col-md-8 {
/* --was-width: 66.66666667%; */
width: 100%;
}
}
}
if HideNewsletter {
/* this is a self-ad: .footer-subscription-section:not(.add.more.salt) */
.newsletter-signup-horizontal
, .footer-newsletter-section:not(.add.more.salt)
{
display: none;
}
}
/* sel {
padding: 2px 10px !important unless not xxxxxx;
} */
}