Commit graph

184 commits

Author SHA1 Message Date
e83b5ec517 Only override the blog posts view lists
Prevent other views, such as the talks listing page, from being
overridden with the same changes as the blog post listing page.
2020-12-16 21:35:29 +00:00
52964e2eca Improve note styling in dark mode 2020-12-16 20:52:45 +00:00
c3b5763adf Fix colour for 'Posted' text in dark mode 2020-12-16 20:28:37 +00:00
290ab7098d Override view list, change heading to h2 2020-12-16 20:21:21 +00:00
f0039080e4 Display list of posts, grouped by year 2020-12-16 20:21:21 +00:00
acf91fb1a9 Always have a gap between main content and sidebar 2020-12-16 00:35:54 +00:00
ce374861ba Change role text colour in dark mode
References #293
2020-12-03 08:16:33 +00:00
352637b390 Enable lazy loading for recommendation images 2020-12-03 02:28:04 +00:00
f0b3cc30ec Update caniuse database [ci skip] 2020-12-01 21:52:31 +00:00
71294cb75e Re-add block background colour 2020-11-28 19:57:17 +00:00
3025ab0f68 Change table header colour in dark mode 2020-11-08 14:51:02 +00:00
097293fc3e Change input text colour in dark mode 2020-11-08 13:45:25 +00:00
a574e7e532 Change blockquote colour in dark mode 2020-11-08 13:36:16 +00:00
9ea86e6559 Set h3 heading colour in dark mode 2020-11-02 14:25:43 +00:00
a888430ef3 Integrate the typography plugin with dark mode
References #27
2020-10-29 01:43:33 +00:00
c0355a4e89 Override blue.500 colour
References #27
2020-10-29 01:41:57 +00:00
e996140f47 Add dark mode styles
References #27
2020-10-29 01:02:26 +00:00
530074f176 Override gray colours
Override the default Tailwind `gray` colours, and update anywhere that
the originals were used.

References #27
2020-10-29 00:50:09 +00:00
dacbfebc26 Enable the dark mode variant
References #27
2020-10-29 00:50:00 +00:00
623d1924b7 Show if an event is online
References #241
2020-10-24 20:32:20 +01:00
79445b8641 Refactor existing event paragraph template
References #241
2020-10-24 20:06:50 +01:00
0411285046 Override theme templates for blog and talks views
Override the theme templates for the `talks` and `blog_posts` views,
adding classes to the header wrapper and some spacing between the header
text and the view results.
2020-10-24 11:23:38 +01:00
3dd7608a87 Update PurgeCSS config 2020-09-24 12:42:53 +01:00
b70b30bc99 Refactor existing CSS
Fixes #190
2020-09-16 01:47:00 +01:00
390c3ba44d Enable the 'apply complex classes' feature
Enable the experimental feature to use `@apply` with complex classes
including interactive states. I tried this on the Rebuilding Symfony
demo project and it worked well.

This would mean that I could refactor some of my existing styles on this
project.

References #190
2020-09-16 01:39:06 +01:00
b8b1766429 Update tailwindcss to 1.8
References #190
2020-09-16 01:34:26 +01:00
61442ed74c Make opdavies theme Drupal 9 compatible
References #112
2020-09-06 11:57:41 +01:00
98fba9306f Fix PHPStan issues 2020-09-04 22:20:30 +01:00
87a9f28991 Update prose styling for code and pre elements
Fixes #210
2020-08-24 23:02:00 +01:00
70681df30f Update logo and favicon 2020-08-20 07:40:21 +01:00
f7b1e41977 Update lodash 2020-08-17 18:41:44 +01:00
e4595afc81 Update elliptic 2020-08-17 18:17:27 +01:00
4f18552c5a Organise tailwind.config.js 2020-08-15 20:46:13 +01:00
bed98b4f97 Increase font size in navbar 2020-08-15 14:31:20 +01:00
1b2cbc1a9b Add and use Tailwind CSS typography plugin
Replace custom markup styles with Tailwind CSS's typography/prose plugin
(https://github.com/tailwindlabs/tailwindcss-typography).
2020-08-11 00:59:40 +01:00
fe7142e1f1 Improve accessibility of the nav toggle button
Improve the accessibility for the nav toggle button by adding a border
around the button when it is focussed on.

I've added a custom Tailwind CSS variant to do this using a custom
`focus-visible` variant in tailwind.config.js, and using the
https://www.npmjs.com/package/focus-visible polyfill.
2020-07-23 13:57:41 +01:00
eafcb103b8 Set NODE_ENV in Encore config 2020-07-18 10:17:40 +01:00
533095d87f Fix photo position 2020-07-16 20:52:37 +01:00
ef500b5fd7 Change text colour for role 2020-07-16 20:43:59 +01:00
ebe5a7dbba Recommendation styling 2020-07-16 20:39:43 +01:00
dd42f3deac Fix missing edit links
Add the title prefix and suffix for recommendation block titles, which
fixes the missing edit links so the blocks are editable.

References #146
2020-07-16 13:12:30 +01:00
16350b02fc Remove grid gap on mobile 2020-07-16 09:26:17 +01:00
ff77296e4c Style the recommendations block
References #146
2020-07-15 21:06:51 +01:00
097f60411d Adjust page widths 2020-07-14 21:57:22 +01:00
86c3edbcaf Adjust page widths 2020-07-14 13:20:24 +01:00
58036c7ab9 Fix collapsing page widths
Fix inconsistent page widths on some pages such as blog and talks, by
adding a width (i.e. a `w-full` class) as well as a maximum width.
2020-07-02 18:13:05 +01:00
98ac66495f Set line heights for heaings 2020-06-27 11:24:20 +01:00
70ab7f56a0 Add spacing between footer and main content 2020-06-27 01:10:50 +01:00
3c814fca05 Use CSS Grid for page columns 2020-06-27 01:01:01 +01:00
2b061539d5 Fix spacing issues in various places 2020-06-27 00:25:55 +01:00