28 Commits (main)

Author SHA1 Message Date
welpo 4be8a5634f
💄 style: fix numbered code blocks on iOS Safari
Tables used for line numbers were inheriting incorrect font sizes on iOS Safari
due to WebKit's text size adjustment behaviour.

Short lines were being centred, too.
3 months ago
Óscar 123110ea43
💄 style: fix numbered code blocks (#437) 3 months ago
Óscar 092ccdd1ba
💥 feat!: force code blocks LTR rendering (#412)
BREAKING CHANGE: Code blocks default to LTR. Set `force_codeblock_ltr = false` to keep previous behaviour.
4 months ago
Óscar 1027f5ba53
🌐 style: improve RTL styling consistency (#381) 5 months ago
welpo f081a92f59
💄 fix(add_src_to_code_block): avoid overlapping text 10 months ago
welpo b70efd1642
feat: enable adding URL/path to code blocks (#307) 10 months ago
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 1 year ago
welpo 0a61bd3405
💄 style(code tags): set border radius to inline code
Improves cohesion with the rest of the theme.
1 year ago
Óscar d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size (#131)
📝 docs: remove opening and closing +++ in TOML codeblocks
1 year ago
welpo ce7ac7cf2c
💄style(codeblocks): unhide scrollbars
Not enough people know about Shift+Scroll :(
Plus, if someone doesn't like scrollbars, they can hide them globally.

See #114
2 years ago
welpo 09410e32bc
🔥chore: remove duplicated overflow-x declaration 2 years ago
welpo f8891dba2c
💄 fix: improve contrast on `code` within links on hover
Fixes #106.
2 years ago
welpo 672772a700
🐛 fix: align text to left codeblocks with line numbers
Fixes issue introduced in commit 85ccc08, which centered all table text.
2 years ago
welpo abf32b8147
🐛 fix: ensure codeblock header visibility on iOS
Scrolling touch, a glitch,
Absolute, its position,
Solved, in code's rich stitch.
2 years ago
welpo d7b01914f8
💄 style: hide horizontal scrollbar in codeblocks 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo 8e1473bba9
🚧 feat: add basic copy button to codeblocks 2 years ago
welpo 700037afe5
💄 style: redesign code block header 2 years ago
welpo 4af487eced
💄 style: round down code font-size 2 years ago
welpo 7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
welpo 16d69ba0d7
🎨 refactor: improve code structure
💄 style: change code colours
2 years ago
welpo 8fe96d3f46
Commit Message: Refactor font weight and size, add article max-width, update color variables 2 years ago
welpo 6afcd2fbbb
📱 improvement: responsive inline code font size 2 years ago
welpo 9db00d1f9d
💄 style: use Cascadia Code as code font 2 years ago
welpo 4f7e25b01e
💄style: set consistent no border radius
Only border radius left is main picture.
2 years ago
welpo 095b9d0d07 🐛 fix: add end-of-file newline 2 years ago
welpo 57ea76111e Improve inline code blocks contrast & remove border
Also removes .DS_Store from static/
2 years ago
welpo 0b117d1641 first commit 2 years ago