Skip to content

Wikipedia Racing (Customizable) by anyminordeerpanda

Screenshot of Wikipedia Racing (Customizable)

Details

Authoranyminordeerpanda

LicenseNo License

Categorywikipedia

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A style for people who want to do wikipedia racing, this makes links more clearer compared to text - it is also fully customizable!

Notes

If you want to customize, find the :root class and then change the variables inside of it.

Source code

/* ==UserStyle==
@name         Wikipedia Racing (Customizable)
@version      20220116.04.23
@namespace    userstyles.world/user/anyminordeerpanda
@description  A style for people who want to do wikipedia racing, this makes links more clearer compared to text - it is also fully customizable!
@author       anyminordeerpanda
@license      No License
==/UserStyle== */

@-moz-document domain("wikipedia.org") {
:root {
    /* color of text and links */
    --text-color: grey;
    --link-color: royalblue;
    --link-visited-color: firebrick;
    
    /* the text and link scale - can cause visual bugs */
    --text-scale: 1;
    --link-scale: 1;
    
    /* whether links and text are bold or not */
    --text-bold: normal;
    --link-bold: bold;
    
    /* whether links are underlined or not */
    --link-underline: none;
    --link-hover-underline: underline;
}

/* code - it is recommended you dont mess with this unless you know css */
* {
    font-size: calc(100% * var(--text-scale)) !important;
    font-weight: var(--text-bold) !important;
    color: var(--text-color) !important;
}

a, a span {
    font-size: calc(100% * var(--link-scale)) !important;
    font-weight: var(--link-bold) !important;
    color: var(--link-color) !important;
    text-decoration: var(--link-underline) !important;
}

a:hover {
    text-decoration: var(--link-hover-underline) !important;
}

a:visited {
    color: var(--link-visited-color) !important;
}
}

Reviews

No reviews yet.