Skip to content

Better font for Oreilly by xichen-de

Details

Authorxichen-de

LicenseNo License

Categoryuserstyles, oreilly

Created

Updated

Size4.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Tweaks for Oreilly Online.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Better font for Oreilly
@version      20220606.07.26
@namespace    userstyles.world/user/xichen-de
@description  Tweaks for Oreilly Online.
@author       xichen-de
@license      MIT
==/UserStyle== */
@-moz-document domain("learning.oreilly.com") {
    #sbo-rt-content .calibre34 {
        font-family: "Iosevka", "Andale Mono", "Courier New", Courier, monospace;
        font-size: 1em;
    }
    #sbo-rt-content .calibre40 {
        font-family: "Iosevka", "Andale Mono", "Courier New", Courier, monospace;
        font-size: 1em;
    }
    #book-content #sbo-rt-content code,
    #sbo-rt-content span.inlinecode,
    #book-content #sbo-rt-content code code,
    #book-content #sbo-rt-content .codeLabel,
    #book-content #sbo-rt-content pre,
    #book-content #sbo-rt-content .pre,
    #book-content #sbo-rt-content p.pre,
    #book-content #sbo-rt-content .pre1,
    #book-content #sbo-rt-content .pre-ex,
    #book-content #sbo-rt-content .pre-ex1,
    #book-content #sbo-rt-content .pre_w {
        font-family: "Iosevka", "JetBrains Mono", Menlo, Monaco, monospace !important;
    }
    #sbo-rt-content .CaptionNumber,
    #book-content #sbo-rt-content div,
    #book-content #sbo-rt-content table p,
    #book-content #sbo-rt-content table tr td,
    #book-content #sbo-rt-content em,
    #book-content #sbo-rt-content em > code,
    #book-content #sbo-rt-content strong,
    #book-content #sbo-rt-content strong > code,
    #book-content #sbo-rt-content p,
    #book-content #sbo-rt-content .note p,
    #book-content #sbo-rt-content blockquote,
    #book-content #sbo-rt-content blockquote p,
    #book-content #sbo-rt-content .blockquote p,
    #book-content #sbo-rt-content h1,
    #book-content #sbo-rt-content h2,
    #book-content #sbo-rt-content h3,
    #book-content #sbo-rt-content h4,
    #book-content #sbo-rt-content h5,
    #book-content #sbo-rt-content h6,
    #book-content #sbo-rt-content .heading-1,
    #book-content #sbo-rt-content .paragraph-head,
    #book-content #sbo-rt-content .cn-chapter-number,
    #book-content #sbo-rt-content .heading-3,
    #book-content #sbo-rt-content .title_document,
    #book-content #sbo-rt-content .fm_title_document,
    #book-content #sbo-rt-content .box_title,
    #book-content #sbo-rt-content .chaptertitle,
    #book-content #sbo-rt-content .chapterTitle,
    #book-content #sbo-rt-content .chapterNumber,
    #book-content #sbo-rt-content ul li,
    #book-content #sbo-rt-content ol li,
    #book-content #sbo-rt-content ul li p,
    #book-content #sbo-rt-content ol li p,
    #book-content #sbo-rt-content a,
    #book-content #sbo-rt-content a:link,
    #book-content #sbo-rt-content a:visited,
    #book-content #sbo-rt-content tbody tr,
    #book-content #sbo-rt-content table tr,
    #book-content #sbo-rt-content tbody tr td,
    #book-content #sbo-rt-content table tr td,
    #book-content #sbo-rt-content .figure_legend h1,
    #book-content #sbo-rt-content .figure_legend h2,
    #book-content #sbo-rt-content .figure_legend h3,
    #book-content #sbo-rt-content .figure_legend h4,
    #book-content #sbo-rt-content .figure_legend h5,
    #book-content #sbo-rt-content .figure_legend h6,
    #book-content #sbo-rt-content .figure_legend p,
    #book-content #sbo-rt-content .figure h1,
    #book-content #sbo-rt-content .figure h2,
    #book-content #sbo-rt-content .figure h3,
    #book-content #sbo-rt-content .figure h4,
    #book-content #sbo-rt-content .figure h5,
    #book-content #sbo-rt-content .figure h6,
    #book-content #sbo-rt-content .figure p,
    #book-content #sbo-rt-content figcaption p,
    #book-content #sbo-rt-content table caption,
    #book-content #sbo-rt-content thead,
    #book-content #sbo-rt-content thead th,
    #book-content #sbo-rt-content thead td,
    #book-content #sbo-rt-content dt {
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Meiryo, "source sans pro", Verdana, SeguoUI, Roboto, Oxygen, Ubuntu, Calibri, Tahoma, Arial, sans-serif !important;
    }
}

Reviews

No reviews yet.