Last active
December 22, 2023 17:25
-
-
Save Makaze/c2272531c729388d2cfad1dfbb16d165 to your computer and use it in GitHub Desktop.
Makes the python docs just a little easier to read.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Makes the python docs just a little easier to read. */ | |
/* ==UserStyle== | |
@name docs.python.org - Dec 2023 | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description Python Docs style | |
@author Makaze | |
==/UserStyle== */ | |
@-moz-document domain("docs.python.org") { | |
h1, | |
h2, | |
h3, | |
h4, | |
dt { | |
border-bottom: 1px dotted !important; | |
margin-bottom: 1em; | |
font-family: 'BlexMono Nerd Font', monospace !important; | |
} | |
dd { | |
background-color: rgba(0, 0, 0, .03); | |
padding: 1em 1em; | |
border: 1px solid rgba(0, 0, 0, .1) | |
} | |
p:last-of-type { | |
margin-bottom: 0; | |
} | |
code { | |
padding: 0 .4em; | |
font-family: 'BlexMono Nerd Font', monospace !important; | |
/* color: #1a8d88 !important; */ | |
/* font-weight: bolder; */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before:
After:
Demo