Skip to content

opt out ligatures for pre element by kisaragieffective

Details

Authorkisaragieffective

LicenseCC Zero

Categoryuserstyles

Created

Updated

Size521 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Note: this sets font-variant-ligatures to none on every site. This may not cause issues, because most site uses more specific selectors.

Source code

/* ==UserStyle==
@name         opt out ligatures for pre element
@version      20220716.16.01
@namespace    userstyles.world/user/kisaragieffective
@description  No more [`font-variant-ligatures`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-ligatures) on [`<pre>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre) elements ( ・´ー・`)
@author       kisaragieffective
@license      CC Zero
==/UserStyle== */

@-moz-document regexp(".*") {

pre {
    font-variant-ligatures: none;
}

}

Reviews

No reviews yet.