Skip to content

DeAnnoy rferl [papo] Radio Free Europe, Liberty by papo

Details

Authorpapo

LicenseCC BY-NC-SA 4.0

Categoryrferl

Created

Updated

Size1.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

See @description in the Source Code.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           DeAnnoy rferl [papo] Radio Free Europe, Radio Liberty
@namespace      github.com/paponius/userstyles
@version        1.0.2
@description    Updated: 2024-04. Notes and feedback: https://github.com/paponius/userstyles/. Unstick the header. 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 of common block ---


@var checkbox unstickHeader          'Unstick the header (this will also completely disable the "share header")' 1
@var checkbox NoRecycle              'Distraction Free: No Recycle (more stories, related...)' 0


==/UserStyle== */
/* This preprocesor header and global variables are common part used in many of my styles. Version: 1.1.1 24-03 */
@-moz-document domain("rferl.org"), domain("radiosvoboda.org") {

if unstickHeader {
	/* must be ab solute to cover over "share header" */
	.hdr-20__inner {
		position: absolute;
		/* --was-position: fixed; */
	}
	.sticky-share-container {
		position: unset;
		/* --was-position: fixed; */
	}
}

/* inserted in the main article text */
.also-read {
	display: none unless not NoRecycle;
}

/* article page type A, with multiple boxes in right column */
body:not(.pg-home):not(.pg-section) div:has(> h2.section-head),
body:not(.pg-home):not(.pg-section) div:has(> .podcast-wg),
body:not(.pg-home):not(.pg-section) #ymla-section {
	display: none unless not NoRecycle;
}


/* article page type B, where are many more articles below the main one */
.accordeon__item-wrap:not(:first-child),
.accordeon__item-wrap + .news__item--spacer,
.btn--load-more {
	display: none unless not NoRecycle;
/* --x-xx: 1; */
}

}

Reviews

No reviews yet.