Skip to content

DeAnnoy AP news [papo] by papo

Details

Authorpapo

LicenseCC BY-NC-SA 4.0

Categoryapnews

Created

Updated

Size1.0 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 AP news [papo]
@namespace      github.com/paponius/userstyles
@version        1.0.1
@description    Updated: 2024-03. Notes and feedback: https://github.com/paponius/userstyles/ 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

@var checkbox xxxxxx           "Unstick header" 1
--- end of common block ---

==/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("apnews.com") {
if xxxxxx {
	.Page-header-stickyWrap {
		background: var(--color-header-bg);
/* 		can't be absolute */
		position: relative;
		/* --was-position: sticky; */
		top: var(--stickyPos);
		transition: top .2s ease-in;
		z-index: 26;
	}
}


/* yyy {
	padding: 2px 10px !important unless not yyy;
}
 */
}

Reviews

No reviews yet.