Commit graph

154 commits

Author SHA1 Message Date
55f15bc974
Fix height on 404 page 2022-08-31 19:14:31 +01:00
ce3690384e
Make code header a solid bar instead
This is much easier to layout, and has the benefit of being able to fit
more in.

The transform was still leaving space allocated, which looked odd
2022-08-31 09:05:32 +01:00
f3b603a82a
Add language and clipboard buttons to code blocks 2022-08-30 22:48:45 +01:00
e7c4acce8b
Add the ability to password protect pages
Useful for sharing drafts
2022-08-28 22:02:02 +01:00
46836a6d30
dark-mode 2022-08-27 23:20:30 +01:00
1a2320d14a
Use consistent styles for image and mermaid blocks 2022-08-27 22:47:56 +01:00
8c9589a497
Ensure table block has a dark mode 2022-08-27 22:47:03 +01:00
e5c8c6d7eb
Add dark mode for spotify table 2022-08-27 22:31:19 +01:00
ee1eaf6593
Correctly set max height of list item 2022-08-27 21:57:17 +01:00
fea5a1f58b
Don't define classes immediately inside dark-mode mixin
This causes with the automatic transition animation.
2022-08-27 21:24:49 +01:00
245d2ee146
Add dark mode for contact page 2022-08-27 21:13:15 +01:00
e6244bee51
Ensure subtitle is also dark 2022-08-27 20:42:44 +01:00
f7552e9565
Add dark mode for search input 2022-08-27 20:34:23 +01:00
7c7e81f841
Only animate loading spinner when it's visible 2022-08-27 20:24:27 +01:00
d2e1cde927
Remove unnecessary extra div in footer 2022-08-26 23:25:02 +01:00
0fbd36ce3e
Add pagination to blog post list 2022-08-26 23:13:06 +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
3e6547881e
Rename blog post models
A "blog" isn't a blog "post"
2022-08-20 14:20:12 +01:00
57f5505c24
Add 404 page 2022-08-19 09:36:03 +01:00
a593dea561
Add spacing under results count on search page 2022-08-18 14:42:01 +01:00
e094974f20
Make the spotify table look nicer 2022-08-18 09:25:14 +01:00
ace30f4dbd
Add basic spotify page
It currently doesn't handle pagination, or caching
2022-08-17 22:17:32 +01:00
73dd1d6ba0
Only apply a colour changes to the footer
These looked weird on regular links and buttons
2022-08-17 13:48:33 +01:00
f554c9fb48
Add custom buttons to hero 2022-08-17 13:40:07 +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
4ff8b64132
Fix header styling on most list page 2022-08-05 08:55:05 +01:00
3daddfb5f0
Ensure home search is always a certain width 2022-08-04 14:18:04 +01:00
e5392fa95d
Add stylelint 2022-08-03 21:22:11 +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
7647ace4a0
Add a loading spinner 2022-08-01 22:23:06 +01:00
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
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
fafc0e8828
Simplify navbar styling and disable variants 2022-07-20 21:54:09 +01:00
261d35385f
Use dark rather than black 2022-07-20 21:42:58 +01:00
f5cb783f8d
Set base theme colours 2022-07-20 21:42:08 +01:00
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
78660500a5
Add tag filtered view to blog list 2022-07-16 00:56:20 +01:00
feba307de7
Add mermaid embed 2022-07-15 10:10:37 +01:00
ae4e24481e
Add date group headers to blog list page 2022-07-10 18:42:16 +01:00
0a8d6556a4
Add animation to link hover 2022-07-05 09:10:20 +01:00
ef9128313d
Add a tangent block 2022-07-05 09:03:45 +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
664e59cf37
Ensure headings are still visible when scrolling to them 2022-07-04 20:58:51 +01:00
c526ff0d47
Define font family in CSS not HTML 2022-07-04 20:40:50 +01:00
4de9ed541b
Show tags with code font 2022-07-04 20:40:33 +01:00
b9a00e9b83
Use Fira Code for all code 2022-07-04 20:36:19 +01:00
9694ae71bc
Use fira code for code blocks 2022-07-04 20:27:08 +01:00
39f10c1c7c
Add shareon 2022-07-04 20:06:04 +01:00
d5ef68ce32
Style hero a bit more 2022-07-04 19:13:23 +01:00
03e9da57a1
Add anchor links to headers 2022-07-01 09:25:57 +01:00
a0ddf1c434
Show embedded blocks full width on mobile 2022-06-28 22:14:23 +01:00
e6c8546129
Constrain images to 16:9 2022-06-28 21:59:38 +01:00
f0239b40fc
Use lite-youtube-embed for YouTube embeds 2022-06-28 21:43:44 +01:00
b8edb525dc
Ensure all blocks have paragraph spacing in between
Besides the last
2022-06-27 23:30:47 +01:00
a1d72c122a
Add code block 2022-06-27 23:29:55 +01:00
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
72f9374c03
Add image figure block 2022-06-27 20:40:55 +01:00
bda2773b3d
Ensure listing item is full width without content 2022-06-27 19:44:28 +01:00
1a30ce54ff
Lighten navbar items on hover 2022-06-26 17:23:58 +01:00
7676cf7166
Ensure containers don't extend beyond the viewport when holding columns 2022-06-26 17:18:40 +01:00
6da155409c
Remove extra defined colours
Bulma defines these for us
2022-06-26 16:57:05 +01:00
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
b2582dda4d
Remove forced width on dropdown 2022-06-26 15:26:54 +01:00
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
d11c732ce3
Make hero image take up 50% of screen
Including navbar
2022-06-26 15:18:20 +01:00
b2df6aa7d2
Refactor content details to use tags 2022-06-26 15:13:51 +01:00
ed535626b5
Use bulma tags for tags 2022-06-26 12:55:20 +01:00
d3badf5339
Add spacing under content details in hero 2022-06-26 10:53:10 +01:00
8a8d09413e
Slightly reduce title spacing 2022-06-26 10:52:59 +01:00
206a2a7203
Add spacing between hero and content 2022-06-26 10:29:13 +01:00
70c9a986b4
Add elevator.js 2022-06-20 08:46:42 +01:00
a2e44a0a2e
More content details to generic location 2022-06-19 21:06:35 +01:00
29673c365f
Add tagging to blog post pages 2022-06-19 20:55:37 +01:00
9769d067bb
Add link to listing image 2022-06-19 17:28:48 +01:00
294d5bd656
Wire up scroll to top button 2022-06-19 17:10:35 +01:00
43bbb7fbcd
Add breadcrumbs 2022-06-19 16:56:47 +01:00
720557d2a6
Read child pages from DB 2022-06-19 16:35:56 +01:00
19c4944f79
Fix hero width 2022-06-19 16:29:59 +01:00
4685faa361
Ensure sticky hero is full width 2022-06-19 16:11:53 +01:00
dae91f9279
Add spacing between content and footer 2022-06-19 15:58:00 +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
122bf8dea2
Ensure footer always sticks to bottom 2022-06-19 14:46:45 +01:00
39a59b88db
Add skeleton listing page 2022-06-19 13:23:41 +01:00
8a9772bc21
Improve styling of homepage 2022-06-15 14:23:06 +01:00
8aea60da35
Add dynamic images to home and content pages 2022-06-15 09:27:20 +01:00
db6ca1ae8d
Show darkmode toggle on top of content 2022-06-14 21:23:24 +01:00
b1b6aeb818
Add basic content page 2022-06-14 20:57:43 +01:00
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
d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
a1aab90eb9
Add basic homepage layout 2022-06-12 21:08:11 +01:00
2fbb3b3c44
remove duplicate fontawesome styles 2022-06-12 20:01:27 +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