Commit Graph

170 Commits

Author SHA1 Message Date
Jake Howard 996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
Jake Howard bcc9a2c2f2
Add search results counter 2022-08-02 09:27:43 +01:00
Jake Howard 7647ace4a0
Add a loading spinner 2022-08-01 22:23:06 +01:00
Jake Howard 71c08f5568
Use class name rather than database name for body classes
This avoids duplication and makes the classnames a bit shorter, and more sane.
2022-07-25 19:30:47 +01:00
Jake Howard 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
Jake Howard 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
Jake Howard fafc0e8828
Simplify navbar styling and disable variants 2022-07-20 21:54:09 +01:00
Jake Howard 261d35385f
Use dark rather than black 2022-07-20 21:42:58 +01:00
Jake Howard f5cb783f8d
Set base theme colours 2022-07-20 21:42:08 +01:00
Jake Howard 690095ea52
Replace tag snippets with full pages
Makes the page tree a bit more messy, but is much more versatile and means there are fewer hacks in the code to make snippets act like pages in the tree.
2022-07-16 10:29:01 +01:00
Jake Howard 78660500a5
Add tag filtered view to blog list 2022-07-16 00:56:20 +01:00
Jake Howard feba307de7
Add mermaid embed 2022-07-15 10:10:37 +01:00
Jake Howard ae4e24481e
Add date group headers to blog list page 2022-07-10 18:42:16 +01:00
Jake Howard 0a8d6556a4
Add animation to link hover 2022-07-05 09:10:20 +01:00
Jake Howard ef9128313d
Add a tangent block 2022-07-05 09:03:45 +01:00
Jake Howard 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
Jake Howard 664e59cf37
Ensure headings are still visible when scrolling to them 2022-07-04 20:58:51 +01:00
Jake Howard c526ff0d47
Define font family in CSS not HTML 2022-07-04 20:40:50 +01:00
Jake Howard 4de9ed541b
Show tags with code font 2022-07-04 20:40:33 +01:00
Jake Howard b9a00e9b83
Use Fira Code for all code 2022-07-04 20:36:19 +01:00
Jake Howard 9694ae71bc
Use fira code for code blocks 2022-07-04 20:27:08 +01:00
Jake Howard 39f10c1c7c
Add shareon 2022-07-04 20:06:04 +01:00
Jake Howard d5ef68ce32
Style hero a bit more 2022-07-04 19:13:23 +01:00
Jake Howard 03e9da57a1
Add anchor links to headers 2022-07-01 09:25:57 +01:00
Jake Howard a0ddf1c434
Show embedded blocks full width on mobile 2022-06-28 22:14:23 +01:00
Jake Howard e6c8546129
Constrain images to 16:9 2022-06-28 21:59:38 +01:00
Jake Howard f0239b40fc
Use lite-youtube-embed for YouTube embeds 2022-06-28 21:43:44 +01:00
Jake Howard b8edb525dc
Ensure all blocks have paragraph spacing in between
Besides the last
2022-06-27 23:30:47 +01:00
Jake Howard a1d72c122a
Add code block 2022-06-27 23:29:55 +01:00
Jake Howard 8f6dc4860b
Ensure there's always a space underneath rich text blocks
Final paragraphs don't have a bottom margin
2022-06-27 20:48:53 +01:00
Jake Howard 72f9374c03
Add image figure block 2022-06-27 20:40:55 +01:00
Jake Howard bda2773b3d
Ensure listing item is full width without content 2022-06-27 19:44:28 +01:00
Jake Howard 1a30ce54ff
Lighten navbar items on hover 2022-06-26 17:23:58 +01:00
Jake Howard 7676cf7166
Ensure containers don't extend beyond the viewport when holding columns 2022-06-26 17:18:40 +01:00
Jake Howard 6da155409c
Remove extra defined colours
Bulma defines these for us
2022-06-26 16:57:05 +01:00
Jake Howard dc928a2168
Force containers to be desktop width
This also adds the ability to override bulma variables, with others defined by bulma
2022-06-26 16:56:51 +01:00
Jake Howard b2582dda4d
Remove forced width on dropdown 2022-06-26 15:26:54 +01:00
Jake Howard 7ea6b8b5a8
Add a bit of spacing under content detail on hero
The `.control`is what defines the padding now
2022-06-26 15:21:25 +01:00
Jake Howard d11c732ce3
Make hero image take up 50% of screen
Including navbar
2022-06-26 15:18:20 +01:00
Jake Howard b2df6aa7d2
Refactor content details to use tags 2022-06-26 15:13:51 +01:00
Jake Howard ed535626b5
Use bulma tags for tags 2022-06-26 12:55:20 +01:00
Jake Howard d3badf5339
Add spacing under content details in hero 2022-06-26 10:53:10 +01:00
Jake Howard 8a8d09413e
Slightly reduce title spacing 2022-06-26 10:52:59 +01:00
Jake Howard 206a2a7203
Add spacing between hero and content 2022-06-26 10:29:13 +01:00
Jake Howard 70c9a986b4
Add elevator.js 2022-06-20 08:46:42 +01:00
Jake Howard a2e44a0a2e
More content details to generic location 2022-06-19 21:06:35 +01:00
Jake Howard 29673c365f
Add tagging to blog post pages 2022-06-19 20:55:37 +01:00
Jake Howard 9769d067bb
Add link to listing image 2022-06-19 17:28:48 +01:00
Jake Howard 294d5bd656
Wire up scroll to top button 2022-06-19 17:10:35 +01:00
Jake Howard 43bbb7fbcd
Add breadcrumbs 2022-06-19 16:56:47 +01:00
Jake Howard 720557d2a6
Read child pages from DB 2022-06-19 16:35:56 +01:00
Jake Howard 19c4944f79
Fix hero width 2022-06-19 16:29:59 +01:00
Jake Howard 4685faa361
Ensure sticky hero is full width 2022-06-19 16:11:53 +01:00
Jake Howard dae91f9279
Add spacing between content and footer 2022-06-19 15:58:00 +01:00
Jake Howard 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
Jake Howard 122bf8dea2
Ensure footer always sticks to bottom 2022-06-19 14:46:45 +01:00
Jake Howard 39a59b88db
Add skeleton listing page 2022-06-19 13:23:41 +01:00
Jake Howard 8a9772bc21
Improve styling of homepage 2022-06-15 14:23:06 +01:00
Jake Howard 8aea60da35
Add dynamic images to home and content pages 2022-06-15 09:27:20 +01:00
Jake Howard db6ca1ae8d
Show darkmode toggle on top of content 2022-06-14 21:23:24 +01:00
Jake Howard b1b6aeb818
Add basic content page 2022-06-14 20:57:43 +01:00
Jake Howard 36f8cd65b8
Just import everything bulma
We need quite a lot in the base, and it's only 200k
2022-06-14 20:12:09 +01:00
Jake Howard d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
Jake Howard a1aab90eb9
Add basic homepage layout 2022-06-12 21:08:11 +01:00
Jake Howard 2fbb3b3c44
remove duplicate fontawesome styles 2022-06-12 20:01:27 +01:00
Jake Howard b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
Jake Howard 27c0d64122
Add dark mode toggle
Finally, it won't be all dark all the time!
2022-06-12 18:13:48 +01:00
Jake Howard 553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00
Jake Howard 67b8965e1f
Remove boilerplate 2022-06-10 15:44:43 +01:00
Jake Howard c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00