28 Commits

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.
2024-11-24 01:07:35 +01:00
Óscar
123110ea43
💄 style: fix numbered code blocks (#437) 2024-11-23 16:49:19 +01:00
Ó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.
2024-10-18 19:00:14 +02:00
Óscar
1027f5ba53
🌐 style: improve RTL styling consistency (#381) 2024-09-16 17:50:16 +02:00
welpo
f081a92f59
💄 fix(add_src_to_code_block): avoid overlapping text 2024-05-03 23:40:19 +02:00
welpo
b70efd1642
feat: enable adding URL/path to code blocks (#307) 2024-05-03 17:37:40 +02:00
Óscar
14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 2023-09-12 21:28:33 +02:00
welpo
0a61bd3405
💄 style(code tags): set border radius to inline code
Improves cohesion with the rest of the theme.
2023-09-10 00:20:33 +02:00
Óscar
d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size (#131)
📝 docs: remove opening and closing +++ in TOML codeblocks
2023-09-07 01:46:20 +02:00
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
2023-08-26 00:05:14 +02:00
welpo
09410e32bc
🔥chore: remove duplicated overflow-x declaration 2023-08-24 20:37:41 +02:00
welpo
f8891dba2c
💄 fix: improve contrast on code within links on hover
Fixes #106.
2023-08-11 14:03:39 +02:00
welpo
672772a700
🐛 fix: align text to left codeblocks with line numbers
Fixes issue introduced in commit 85ccc08, which centered all table text.
2023-08-02 23:29:54 +02:00
welpo
abf32b8147
🐛 fix: ensure codeblock header visibility on iOS
Scrolling touch, a glitch,
Absolute, its position,
Solved, in code's rich stitch.
2023-07-09 02:01:32 +02:00
welpo
d7b01914f8
💄 style: hide horizontal scrollbar in codeblocks 2023-07-08 15:05:55 +02:00
welpo
2dec139e41
feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
8e1473bba9
🚧 feat: add basic copy button to codeblocks 2023-07-06 02:45:54 +02:00
welpo
700037afe5
💄 style: redesign code block header 2023-07-06 01:18:03 +02:00
welpo
4af487eced
💄 style: round down code font-size 2023-05-21 22:48:56 +02:00
welpo
7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2023-04-15 00:58:01 +02:00
welpo
16d69ba0d7
🎨 refactor: improve code structure
💄 style: change code colours
2023-03-12 14:30:24 +01:00
welpo
8fe96d3f46
Commit Message: Refactor font weight and size, add article max-width, update color variables 2023-02-18 19:27:46 +01:00
welpo
6afcd2fbbb
📱 improvement: responsive inline code font size 2023-02-17 00:10:44 +01:00
welpo
9db00d1f9d
💄 style: use Cascadia Code as code font 2023-02-11 19:47:42 +01:00
welpo
4f7e25b01e
💄style: set consistent no border radius
Only border radius left is main picture.
2023-02-08 22:13:39 +01:00
welpo
095b9d0d07 🐛 fix: add end-of-file newline 2023-02-06 02:20:56 +01:00
welpo
57ea76111e Improve inline code blocks contrast & remove border
Also removes .DS_Store from static/
2023-02-02 21:54:57 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00