Skip to content

Rust Book in Fira Code by RuralAnemone

Details

AuthorRuralAnemone

LicenseCC0

Categorydoc.rust-lang.org/book

Created

Updated

Size650 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

changes all the code blocks in the Rust Book (doc.rust-lang.org/book) to Fira Code

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Rust Book in Fira Code
@version      20240910.23.05
@namespace    https://userstyles.world/user/RuralAnemone
@description  changes all the code blocks in the Rust Book (doc.rust-lang.org/book) to Fira Code
@author       RuralAnemone
@license      CC0
==/UserStyle== */

@-moz-document domain("") {
/* ==UserStyle==
@name           Rust Book Code Font
@version        1.0.0
@description    changes code blocks in rust book to fira code
==/UserStyle== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

pre > *, code {
    font-family: "Fira Code", monospace !important;
}
}

Reviews

No reviews yet.