fira code in codes elements
Fira Code to codes by hdyzen
Details
Authorhdyzen
LicenseNo License
Categoryfiracode
Created
Updated
Size701 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Maybe need install fira code in system to work in all sites, fira code github: https://github.com/tonsky/FiraCode/releases
Source code
/* ==UserStyle==
@name Fira Code to codes
@namespace zen
@version 0.1
@description fira code in codes elements
@author zen
@preprocessor stylus
==/UserStyle== */
@-moz-document url-prefix("http") {
@import url('https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/fira_code.min.css');
i = !important;
/* Fira code apply */
firacode = @block {
font-family: Fira Code i;
font-size: 14px i;
}
/* Github */
#read-only-cursor-text-area, .react-code-text {
{firacode};
font-size: 11.4px i;
}
/* W3 */
.w3-code, .w3-codespan {
{firacode};
}
/* Generic */
pre,
code{
{firacode}
}
.html_player_enhance_tips {
font-family: system-ui;
}
}