Commit Graph

108 Commits

Author SHA1 Message Date
0502cf93b6 Move link transitions into however effects to avoid transition from browser default color. 2023-12-30 16:15:40 -08:00
4608853c9b Remove 'site url' from theme parameters since it's a site property 2023-12-30 16:01:37 -08:00
973be263dc Defer some heavier CSS until later to help page loading times.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-30 16:00:57 -08:00
1f64536c30 Add comments to HTML 2023-12-30 15:46:36 -08:00
ae107a445a Remove analytics slug since it's specific to sites 2023-12-30 14:47:09 -08:00
c1c83a8ca2 Use unminified normalize since the npm package doesn't have a minified version 2023-12-30 14:46:17 -08:00
4f457874f3 Remove KaTeX CSS URL in local mode since it's already loaded above
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-30 14:30:44 -08:00
f5be44887b Extract more CSS/JS into static files on static.danilafe.com 2023-12-30 14:30:27 -08:00
0d721d48a4 Use a protocol-independent // instead of https://. 2023-12-30 14:29:31 -08:00
d570c8f421 Factor GitHub URL and resume link into configuration
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-30 14:27:37 -08:00
282b18f9a0 Add defaults for required site params to theme config.toml
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-30 14:01:19 -08:00
c728748106 Extract hardcoded URL to danilafe.com into a site param. 2023-12-30 13:58:56 -08:00
e82879434e Add support for plausible analytics 2023-12-30 13:12:01 -08:00
098767e766 Use static.danilafe.com to host KaTeX CSS/Fonts, and make that configurable.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-29 22:13:59 -08:00
5aa54c1ce4 Extract input style to common CSS and remove raw uses of var(--x).
The mixin handles the fallback gracefully on browsers where it's not
supported.
2023-11-27 22:17:23 -08:00
abb137514b Tweak the highlight CSS to include more classes.
Specifically, 'kd' (declaration keyword) and 'cm' (multiline comment)

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-24 11:03:49 -08:00
b5761d4d81 Add a new shortcode for referencing lines in a GitHub repo
Including Chapel as a submodule would add 1GB to clones.
2023-10-09 14:40:07 -07:00
502190055d Add a details shortcode 2023-06-04 21:54:08 -07:00
7e3099aae3 Make the keywords not grey on dark mode 2023-05-04 21:01:56 -07:00
d1e25ddf19 Add the option to specify discussion rooms on articles 2023-04-15 15:08:08 -07:00
926504ae07 Fix up search CSS a bit more 2023-04-09 22:52:22 -07:00
05f49998e7 Try fix text search on under dark mode 2023-04-09 22:32:16 -07:00
5202c57e2b Fix highlighted code lines in dark mode 2023-03-11 14:56:46 -08:00
0bd55bc58a Add fallbacks to CSS variables for older browsers 2023-03-11 14:07:43 -08:00
c631be65bc Tentatively add a dark mode 2023-03-11 12:08:45 -08:00
9594b699f8 Tweak the series status style 2023-02-19 15:10:25 -08:00
e431d65659 Add series to the article header 2023-01-31 18:54:42 -08:00
7b684a18a9 Tweak series marker colors 2023-01-31 18:54:08 -08:00
5f1871e11c Make post subscripts no longer grey 2023-01-31 17:57:18 -08:00
115057d837 Start working on series pages 2023-01-31 17:43:05 -08:00
e7cada3764 Fix double quote in tags list 2023-01-01 19:36:52 -08:00
efa9da8cd1 Make table of contents lines wrap 2023-01-01 14:32:21 -08:00
84274f5c08 Move the content graph layout into theme 2023-01-01 13:20:04 -08:00
32738ce835 Add more translations 2023-01-01 12:58:41 -08:00
2f4e5f58a0 Remove hardcoded English from tag page content 2023-01-01 12:41:28 -08:00
98ee4bd8f3 Add i18n support to the theme 2023-01-01 12:26:37 -08:00
f56465c5ec Merge branch 'master' of https://dev.danilafe.com/Web-Projects/vanilla-hugo 2022-12-30 13:34:27 -08:00
66d5125b88 Use BaseURL when linking 2022-12-30 13:28:18 -08:00
Danila Fedorin
667440d2e3 Serve KaTeX JS if we're editing live 2022-12-09 15:38:44 -08:00
Danila Fedorin
2a0f0cad49 Add option to offset a sidenote to prevent overlap 2022-12-09 15:36:07 -08:00
Danila Fedorin
fb7910c0a2 Remove unused numberedsidenote shortcode 2022-12-09 15:35:11 -08:00
b5e2821918 Use newer KaTeX version 2022-10-18 19:11:38 -07:00
869f9d12c8 Add a shortcode for folding rows of a table on small screens 2022-09-10 17:20:54 -07:00
c5a28bf7ef Add a new block shortcode 2022-09-10 12:32:10 -07:00
5869d99db1 Tweak dialog styles a bit 2022-08-28 19:09:19 -07:00
3858441c89 Add a WIP dialog shortcode 2022-07-02 16:15:21 -07:00
1ee75d9431 Escape raw HTML in rawblocks 2022-03-28 15:53:47 -07:00
c48995310b Escape math in LaTeX 2022-03-27 21:24:04 -07:00
5484e084a4 Revert "Pull a more recent version of the stylesheet from KaTeX"
This reverts commit 620c269d91.
2022-03-27 19:34:25 -07:00
620c269d91 Pull a more recent version of the stylesheet from KaTeX 2022-03-27 19:21:48 -07:00