See @description in the Source Code.
* Normalize and deannoy by papo
Details
Authorpapo
LicenseCC BY-NC-SA 4.0
Category*
Created
Updated
Size3.4 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 * Normalize and deannoy
@namespace github.com/paponius/userstyles
@version 1.0.1
@description Updated: 2024-07. Notes and feedback: https://github.com/paponius/userstyles/. For annoyingly designed sites. Must be turned-on, then off and set each time manually.
@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 ChangeFontSize "Font Size" 0
@var range SizeFont "Font size" [18, 10, 30, 1, "px"]
@var checkbox ChangeTextColor "Text color" 0
@var color ColorText "Text color" white
@var checkbox ChangeTextFont "Font" 0
@var select FontText "Font" [
'sans-serif',
'serif',
'monospace',
'verdana',
'arial',
'helvetica'
]
@var checkbox ChangeBackground "Background" 0
@var select background "Background" {
'dfts:Stripes': '#000 url("data:image/gif;base64,R0lGODlhBQAFAIAAAB0dHRERESH5BAAAAAAALAAAAAAFAAUAAAIHjAOXtqgXCgA7")',
'dft:Tiles': '#000 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkAgMAAAANjH3HAAAACVBMVEUaGhohISElJSUh9lebAAAB20lEQVRIx4XWuZXDMAwE0C0SAQtggIIYoAAEU+aKOHhYojTrYP2+QfOW/5QIJOih/q8HwF/pb3EX+UPIveYcQGgEHiu9hI+ihEc5Jz5KBIlRRRaJ1JtoSAl5Hw96hLB1/up1tnIXOck5jZQy+3iU2hAOKSH1JvwxHsp+5TLF5MOl1/MQXsVs1miXc+KDbYydyMeUgpPQreZ7fWidbNhkXNJSeAhc6qHmHD8AYovunYyEACWEbyIhNeB9fRrH3hFi0bGPLuEW7xCNaohw1vAlS805nfsrTspclB/hVdoqusg53eH7FWot+wjYpOViX8KbFFKTwlnzvj65P9H/vD0/hibYBGhPwlPO8TmxRsaxsNnrUmUXpNhirlJMPr6Hqq9k5Xn/8iYQHYIuQsWFC6Z87IOxLxHphSY4SpuiU87xJnJr5axfeRd+lnMExXpEWPpuZ1v7qZdNBOjiHzDREHX5fs5Zz9p6X0vVKbKKchlSl5rv+3p//FJ/PYvoKryI8vs+2G9lzRmnEKkh+BU8yDk515jDj/HAswu7CCz6U/Mxb/PnC9N41ndpU4hUU7JGk/C9PmP/M2xZYdvBW2PObyf1IUiIzoHmHW9yTncliYs9A9tVNppdShfgQaTLMf+j3X723tLeHgAAAABJRU5ErkJggg==")',
'rb:Rich black (FOGRA29)': '#010B13',
'dc:Dark charcoal': '#333',
'cst:Custom': 'var(--gl-background-custom, none)'
}
@advanced text background-custom "Custom Background" '#000 url("data:image/png;base64,ADD_YOUR_DATA_HERE")'
@var checkbox impo "Add !important" 0
@var select linkStyle "Link Style" {
"Original - set by page": "0",
"underline": "1",
"txo:underline and bluish color": "2",
"highlight": "3"
}
==/UserStyle== */
/* was: #name * Normal font - 9/30/2018, 9:11:08 PM */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp("(?!moz-extension://).*") {
:root {
--gl-background: background;
--gl-background-custom: background-custom;
--p-color-link: #82C1FF;
}
if impo { $i = !important
} else { $i = \; }
if ChangeFontSize {
/* only leaf (without childs) elements. to avoid inheritance from parents */
:not(*:has(> *)):not(#salt) {
font-size: SizeFont $i;
}
}
if ChangeTextColor {
*:not(#salt) {
color: ColorText $i;
}
}
if ChangeTextFont {
*:not(#salt) {
font-family: FontText $i;
}
}
if ChangeBackground {
:not(body):not(#salt) {
background: unset $i;
/* background: inherit $i; */
}
body:not(#salt) {
background: var(--gl-background) $i;
}
}
if linkStyle != 0 {
a:not(#salt), a:not(#salt) * {
text-decoration: underline $i;
}
}
if linkStyle == 2 {
a:not(#salt), a:not(#salt) * {
color: var(--p-color-link) $i;
}
}
if linkStyle == 3 {
a:not(#salt), a:not(#salt) * {
color: red $i;
background-color: yellow $i;
}
}
}