Skip to content

learning.oreilly.com by michaeleii

Details

Authormichaeleii

LicenseNo License

Categorylearning.oreilly.com

Created

Updated

Size77 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Inter font for Oreilly website

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         learning.oreilly.com
@version      20240120.04.45
@namespace    https://userstyles.world/user/michaeleii
@description  Inter font for Oreilly website
@author       michaeleii
@license      No License
==/UserStyle== */

@-moz-document domain("learning.oreilly.com") {
/*  ----------------------------
//    BASE CSS RESET
//    ---------------------------- */
#book-content #sbo-rt-content div,
#book-content #sbo-rt-content figure,
#book-content #sbo-rt-content .figure,
#book-content #sbo-rt-content code,
#book-content #sbo-rt-content dir,
#book-content #sbo-rt-content figcaption,
#book-content #sbo-rt-content dl,
#book-content #sbo-rt-content dt,
#book-content #sbo-rt-content dd,
#book-content #sbo-rt-content ul,
#book-content #sbo-rt-content ol,
#book-content #sbo-rt-content li,
#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 pre,
#book-content #sbo-rt-content form,
#book-content #sbo-rt-content fieldset,
#book-content #sbo-rt-content menu,
#book-content #sbo-rt-content input,
#book-content #sbo-rt-content textarea,
#book-content #sbo-rt-content p,
#book-content #sbo-rt-content blockquote,
#book-content #sbo-rt-content th,
#book-content #sbo-rt-content td {
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    line-height: 1.5rem;
}
#book-content #sbo-rt-content div {
    background-color: inherit;
}
#book-content #sbo-rt-content table {
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    font-size: inherit;
}
#book-content #sbo-rt-content fieldset,
#book-content #sbo-rt-content img {
    border: 0;
    height: auto;
}
#book-content #sbo-rt-content address,
#book-content #sbo-rt-content caption,
#book-content #sbo-rt-content cite,
#book-content #sbo-rt-content code,
#book-content #sbo-rt-content dfn,
#book-content #sbo-rt-content strong,
#book-content #sbo-rt-content th,
#book-content #sbo-rt-content var {
    font-style: normal;
    font-weight: normal;
}
#book-content #sbo-rt-content strong,
#book-content #sbo-rt-content strong > code {
    font-weight: bold;
}
#book-content #sbo-rt-content code {
    font-family: "Jetbrains Mono", "Consolas", Courier, monospace;
}
#book-content #sbo-rt-content caption,
#book-content #sbo-rt-content th {
    text-align: left;
}
#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 {
    font-size: 100%;
    font-weight: normal;
}
#book-content #sbo-rt-content q:before,
#book-content #sbo-rt-content q:after {
    content: '';
}
#book-content #sbo-rt-content abbr,
#book-content #sbo-rt-content acronym {
    border: 0;
}
#book-content #sbo-rt-content em {
    font-style: italic;
}
#book-content #sbo-rt-content em,
#book-content #sbo-rt-content em > code {
    font-style: italic;
}

.ucvMode-black #book-content #sbo-rt-content h1,
.ucvMode-black #book-content #sbo-rt-content h2,
.ucvMode-black #book-content #sbo-rt-content h3,
.ucvMode-black #book-content #sbo-rt-content h4,
.ucvMode-black #book-content #sbo-rt-content h5,
.ucvMode-black #book-content #sbo-rt-content h6 {
    color: #fff !important;
}

.ucvMode-black #book-content #sbo-rt-content table {
    color: #3d3b49;
}

/*  ----------------------------
//    ADDITIONAL RESET
//    ---------------------------- */
#book-content #sbo-rt-content article,
#book-content #sbo-rt-content aside,
#book-content #sbo-rt-content details,
#book-content #sbo-rt-content figcaption,
#book-content #sbo-rt-content figure,
#book-content #sbo-rt-content footer,
#book-content #sbo-rt-content header,
#book-content #sbo-rt-content hgroup,
#book-content #sbo-rt-content nav,
#book-content #sbo-rt-content section {
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}

#book-content #sbo-rt-content audio,
#book-content #sbo-rt-content canvas,
#book-content #sbo-rt-content video {
    display: inline-block;
}

#book-content #sbo-rt-content audio:not([controls]) {
    display: none;
}

html {
    font-size: 100% !important;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

#book-content #sbo-rt-content sub,
#book-content #sbo-rt-content sup {
    position: relative !important;
    font-size: 0.750em;
    line-height: 0;
    vertical-align: baseline;
    left: 0;
    font-weight: 600;
}

#book-content #sbo-rt-content sup {
    top: -0.5em;
}
#book-content #sbo-rt-content sub {
    bottom: -0.25em;
}

#book-content #sbo-rt-content .footnotes,
#book-content #sbo-rt-content div[data-type="footnotes"],
#book-content #sbo-rt-content .footnote {
    border-top: 1px solid #8B889A;
    padding: 1.750em 0 0 0 !important;
}

#book-content {
    font-family: sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    margin-bottom: 80px !important;
}

#book-content #sbo-rt-content .guideList,
#book-content #sbo-rt-content .pageList {
    display: none;
}

#book-content #sbo-rt-content section {
    margin-bottom: 32px !important;
}

/*  ----------------------------
//    HEADERS
//    ---------------------------- */
#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 {
    background-color: transparent;
    color: #3d3b49 !important;
    padding: 0 !important;
    border: none !important;
    font-family: sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1.875em !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    word-wrap: break-word;
    margin: 0 !important;
}
#book-content #sbo-rt-content h1,
#book-content #sbo-rt-content .chaptertitle {
    margin: 0 0 32px 0 !important;
    text-align: left !important;
}
#book-content #sbo-rt-content h2 {
    /* MIKE TO CHECK ALL H* ELEMENTS */
    font-size: 1.375em !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}
#book-content #sbo-rt-content h3 {
    font-size: 1.125em !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}
#book-content #sbo-rt-content h4 {
    font-size: 1em !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}
#book-content #sbo-rt-content h5,
#book-content #sbo-rt-content h6 {
    font-size: 1em !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}

/* Links */
#book-content #sbo-rt-content a,
#book-content #sbo-rt-content a:link,
#book-content #sbo-rt-content a:visited {
    color: #d3002d !important;
    text-decoration: underline;
    font-family: sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: inherit !important;
}
#book-content #sbo-rt-content a:focus,
#book-content #sbo-rt-content a:hover {
    color: #9f0027 !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid;
    font-size: inherit;
}

.ucvMode-black #book-content #sbo-rt-content a,
.ucvMode-black #book-content #sbo-rt-content a:link,
.ucvMode-black #book-content #sbo-rt-content a:visited {
    color: #85E6EA !important;
}

.ucvMode-black #book-content #sbo-rt-content a:hover,
.ucvMode-black #book-content #sbo-rt-content a:active {
    color: #17d2cc !important;
    text-decoration: none;
}

.ucvMode-black #book-content #sbo-rt-content a:focus {
    color: #17d2cc !important;
    text-decoration: underline;
}

.ucvMode-black #sbo-rt-content .margin,
.ucvMode-black #sbo-rt-content .cf {
    color: #85E6EA;
}

.ucvMode-black #sbo-rt-content .red,
.ucvMode-black #sbo-rt-content .caption {
    color: #fff;
}

.ucvMode-black #sbo-rt-content ul.bull,
.ucvMode-black #sbo-rt-content ul li p.bullet,
.ucvMode-black #sbo-rt-content .note,
.ucvMode-black #sbo-rt-content li p.number,
.ucvMode-black #sbo-rt-content ol,
.ucvMode-black #sbo-rt-content .sb-noindent,
.ucvMode-black #sbo-rt-content .sb-noindenti,
.ucvMode-black #sbo-rt-content .sidebartitle,
.ucvMode-black #sbo-rt-content .red1 {
    color: #fff;
}

.ucvMode-black #sbo-rt-content div.feature {
    background-color: inherit;
    border: 1px solid #fff;
    padding: 1rem !important;
    margin: 1rem 0 !important;
}

.ucvMode-black #book-content #sbo-rt-content table.calibre7 {
    background-color: inherit;
}
/* Misc typography */
#book-content #sbo-rt-content hr,
#book-content #sbo-rt-content .small {
    font-size: .6em;
}
#book-content #sbo-rt-content .sc,
#book-content #sbo-rt-content abbr,
#book-content #sbo-rt-content acronym {
    font-size: .85em;
    text-transform: uppercase;
    letter-spacing: 0.063em;
}

#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 {
    font-family: sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.75 !important;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin: 0 0 24px 0 !important;
    text-indent: un...

Reviews

No reviews yet.