Commit graph

37 commits

Author SHA1 Message Date
7d4a9647d4
Use native dark mode for comentario 2024-07-28 21:37:04 +01:00
e0ffa6a14d
Account for content pages without content or a scroll indicator 2024-01-05 14:18:50 +00:00
aa5107c89e
Add eslint-plugin-unicorn 2023-12-14 17:56:57 +00:00
1c9e1b4f74
Account for pages not having a hero
Eg the homepage
2023-11-27 20:10:35 +00:00
19c45fba8a
Only mark hero as stuck when it should be sticky 2023-10-16 21:42:39 +01:00
e0561a45e5
Improve scroll indicator implementation
Now I know why it works!
2023-10-16 21:30:36 +01:00
fc3704a97a
Add a basic scroll indicator 2023-10-15 22:29:40 +01:00
d27504d46f
Attempt to bundle some contrib static files to reduce network requests 2023-10-06 22:42:00 +01:00
3b02f21f81
Use OOB to set results count and fix jumping when loading pages
This correctly centers the pagination spinner, and ensures there's only 1.
2022-10-23 18:52:39 +01:00
f16f22ad48
Hide subtitle and breadcrumbs from hero once stuck 2022-10-02 18:00:42 +01:00
d5aac8ac50
Don't show header if there's nothing useful to show 2022-09-19 16:34:02 +01:00
6dfbb830ef
Add IE11 deterrent 2022-09-03 16:35:39 +01:00
7fff13f0ab
Add lightbox for content images 2022-09-02 17:18:40 +01:00
5d370a0712
Unify pygments stylesheet
It's less generic and less cool, but this bakes the styles for dark and
light into a single stylesheet, and deals with switching without any JS.
2022-08-31 23:02:13 +01:00
f3b603a82a
Add language and clipboard buttons to code blocks 2022-08-30 22:48:45 +01:00
46836a6d30
dark-mode 2022-08-27 23:20:30 +01:00
2a46a70620
Add more elements to the dark mode 2022-08-20 17:45:12 +01:00
366d135285
Animate dark mode 2022-08-20 15:55:50 +01:00
727ad725d1
Add dark mode toggle 2022-08-20 15:31:14 +01:00
37cc1979be
Start doing a dark mode myself
darkreader is pretty big, and this is nice, simple and fast.

Not to mention has much less JS
2022-08-16 22:51:03 +01:00
eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
1b1971f09d
Account for hero not always existing
This is mostly true for the homepage
2022-08-02 22:03:08 +01:00
34293553a8
Don't browse to hash if there isn't one 2022-08-02 21:12:42 +01:00
996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
bcc9a2c2f2
Add search results counter 2022-08-02 09:27:43 +01:00
78b310faa3
Scroll to element in hash after hero height is set
There's a bit of manually re-implementing what browsers already do here, but it's very simple and works very nicely
2022-07-20 22:57:50 +01:00
38cc5182ca
Add a shadow to the hero when it scrolls
Sadly done in JS, but it's much much easier this way
2022-07-20 22:39:35 +01:00
e8c3ec86ae
Have animated scroll on table of contents
Animated and offset correctly with hero. Requires some extra JS to keep the height up to date.
2022-07-04 22:17:46 +01:00
f0239b40fc
Use lite-youtube-embed for YouTube embeds 2022-06-28 21:43:44 +01:00
70c9a986b4
Add elevator.js 2022-06-20 08:46:42 +01:00
294d5bd656
Wire up scroll to top button 2022-06-19 17:10:35 +01:00
00e1d28f4e
Swap darkmode-js for darkreader
darkreader is more customizable, and doesn't do weird things to images. Being able to use CSS-native animations is also much simpler
2022-06-19 15:53:44 +01:00
d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
27c0d64122
Add dark mode toggle
Finally, it won't be all dark all the time!
2022-06-12 18:13:48 +01:00
553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00
c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00