Skip to content

FiraCode font loading for luogu by xihale

Screenshot of FiraCode font loading for luogu

Details

Authorxihale

LicenseMIT

Categoryziglang.org

Created

Updated

Size822 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Use FiraCode font to display luogu's code!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         FiraCode font loading for ziglang document
@version      20230820.23.36
@namespace    userstyles.world/user/xihale
@description  Use FiraCode font to display ziglang document's code!
@author       xihale
@license      MIT
==/UserStyle== */

@-moz-document url("https://www.cnblogs.com/na-sr/p/prim-pbds.html"), url-prefix("https://labuladong.gitee.io/algo"), domain("www.luogu.com.cn"), domain("ziglang.org") {
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400&display=swap');

pre code{
    font-family: 'Fira Code', monospace ! important;
}

pre{
    font-family: 'Fira Code', monospace ! important;
}
}

@-moz-document url-prefix("https://www.cnblogs.com/na-sr/p/prim-pbds.html") {
pre code{
    background-color: #282c34!important;
    color: #abb2bf!important
}
}

Reviews

No reviews yet.