See @description in the Source Code.
Deannoy Reuters [papo] by papo
Details
Authorpapo
LicenseCC BY-NC-SA 4.0
Categoryreuters
Created
Updated
Size1.7 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 Reuters [papo]
@namespace github.com/paponius/userstyles
@version 1.0.3
@description Updated: 2024-05. 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 UnstickHeader "Unstick the 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("reuters.com") {
/* class names have 5-characters long random part, which does change with time */
/* e.g. pre 24-05: .site-header__scroll-container__3xMex .site-header__inner-sticky__1fm3o { */
/* 24-05-08: .site-header__scroll-container__2fO27 .site-header__inner-sticky__T8nxT */
if UnstickHeader {
/* can be absolute or relative, not static, as there is top: property used */
[class*="site-header__scroll-container__"] [class*="site-header__inner-sticky__"] {
position: relative;
/* --was-position: sticky; */
}
/* AD bar sometimes present on top, in such case, site-header has inline 30px set */
[class*="refinitiv-promo-bar__container__"] {
position: relative;
/* --was-position: sticky; */
top: 0;
z-index: 1020;
}
[class*="site-header__scroll-container__"] [class*="site-header__inner-sticky__"][style*="top:"] {
top: 0 !important;
}
}
/*
sel {
padding: 2px 10px !important unless not hideNakedCelebs;
}
*/
}