diff options
| author | Bobby <[email protected]> | 2024-03-27 22:43:30 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-03-27 22:43:30 -0400 |
| commit | c193961a0593748433803467249d38ecb67b244b (patch) | |
| tree | a25615977c453298c6f61234af00861987db4770 | |
| parent | c9c4d39cb46d5225512cd3fa030405fe0c925157 (diff) | |
| download | thatcomputerscientist-c193961a0593748433803467249d38ecb67b244b.tar.xz thatcomputerscientist-c193961a0593748433803467249d38ecb67b244b.zip | |
Fixed line numbers
| -rw-r--r-- | dev_status/utils.py | 2 | ||||
| -rw-r--r-- | static/css/fonts.css | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/dev_status/utils.py b/dev_status/utils.py index ffe7e029..50c492a9 100644 --- a/dev_status/utils.py +++ b/dev_status/utils.py @@ -91,7 +91,7 @@ def highlight_code(text, filename): noclasses=True, style="native", wrapcode=True, - linenos="inline", + linenos="table", nobackground=True, ) if lexer: diff --git a/static/css/fonts.css b/static/css/fonts.css index aed92b83..82a8bcd7 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -15,10 +15,14 @@ font-style: normal; } -/* pre, +.linenos, code { font-family: "Comic Code Regular", sans-serif; -} */ +} + +.linenos > .linenodiv > pre { + line-height: 125%; +} .en { font-family: "Mali", sans-serif; |
