Skip to content

Replace bad fonts - GitHub by Vivelin

Details

AuthorVivelin

LicenseMIT

Categorygithub

Created

Updated

Size675 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Replaces bad (system) fonts with browser defaults, so you can pick your own.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Replace bad fonts - GitHub
@namespace      vivelin.net
@version        1.0.0
@description    Replaces bad (system) fonts with browser defaults, so you can pick your own.
@author         Vivelin
==/UserStyle== */

@-moz-document domain("github.com") {
  .markdown-body {
    font: 400 1.125rem/1.8 serif;
      
    .react-issue-comment & {
      font: 400 1rem/1.6 sans-serif;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-family: sans-serif;
    }
    
    table {
      font: 400 1rem/1.6 sans-serif;
    }
    
    code, kbd, pre, samp, tt {
      font-family: monospace;
    }
    
    b, strong {
      font-weight: 700;
    }
  }
}

Reviews

No reviews yet.