Commit graph

135 commits

Author SHA1 Message Date
Oliver Davies 855ae09f1b Pin the footer to the bottom of the page 2021-03-19 00:07:20 +00:00
Oliver Davies 80d46b411c Remove variants as they're all enabled 2021-03-16 01:07:54 +00:00
Oliver Davies 7f92da2854 Use @tailwindcss/jit 2021-03-16 01:07:54 +00:00
Oliver Davies 2e15ac3bc5 Remove square bracket classes 2021-03-16 01:07:42 +00:00
Oliver Davies e586eaae1f Update postcss.config.js structure 2021-03-15 23:12:54 +00:00
Oliver Davies 27b55afe8a Remove square brackets in class list 2021-03-15 22:22:40 +00:00
Oliver Davies a33685ced9 Group all npm dependencies into dev 2021-03-15 21:50:37 +00:00
Oliver Davies 177d001cfd Remove video classes variable 2021-03-12 17:38:48 +00:00
Oliver Davies 76de7f5d6c Fix input width for password form field 2021-03-12 17:36:46 +00:00
Oliver Davies 3832d7972d Use extends for extending variants 2021-03-12 17:30:25 +00:00
Oliver Davies a53900c8f0 Re-add dark version of the theme
Fixes #376
2021-03-12 17:28:28 +00:00
Oliver Davies 8e40f90807 Use Tailwind CSS aspect ratio plugin for videos 2021-03-12 08:57:37 +00:00
Oliver Davies d4dee13118 Add custom base form styles 2021-03-11 23:27:42 +00:00
Oliver Davies ac56bbc878 Add Tailwind CSS forms plugin 2021-03-11 20:59:00 +00:00
Oliver Davies 9b93979443 Remove duplicate attributes from block template 2021-03-06 12:12:10 +00:00
Oliver Davies ebacc4530f Update footer section styling 2021-03-06 10:59:27 +00:00
Oliver Davies 38cc716bb1 Remove unnecessary ARIA roles from templates 2021-03-06 10:59:27 +00:00
Oliver Davies 0b182e4d48 Change section to div
This is to avoid having sections with no title, such as the main page
body content as the page title is in its own block.
2021-03-06 01:17:15 +00:00
Oliver Davies b9b09b5719 Add additional classes to PurgeCSS safelist 2021-02-11 08:53:16 +00:00
Oliver Davies ab69190d8f Add Platform.sh required files 2021-02-11 08:53:16 +00:00
Oliver Davies 29d88893fa Add Docker and Docker Compose 2021-02-11 08:53:15 +00:00
Oliver Davies ffed78ef8b Change blue colour for prose links 2021-01-22 01:07:53 +00:00
Oliver Davies 55b2005b7d Change blue colour for links and backgrounds 2021-01-22 01:03:38 +00:00
Oliver Davies e716069022 Add list styling to related posts
References #3
2021-01-11 01:48:23 +00:00
Oliver Davies 59620f8a51 Add .theme file to the PurgeCSS config
Ensures that any classes in `opdavies.theme` are not purged in a
production CSS build.

References #341
2021-01-10 22:15:48 +00:00
Oliver Davies 3b6ad20486 Move padding from list items to links
So that the padding takes up the full space within the tab, move the
padding to the link element. This requires adding a preprocess function
to the theme file and removing the classes from the local task template.

References #341
2021-01-10 22:05:50 +00:00
Oliver Davies 9bcb8bb847 Add negative margins to re-align tabs
References #341
2021-01-10 22:05:46 +00:00
Oliver Davies b2641662d2 Add tab styling
References #341
2021-01-10 22:05:37 +00:00
Oliver Davies 654d0f65f7 Flex lists of local tasks
References #341
2021-01-10 22:05:22 +00:00
Oliver Davies bb2363457c Add templates for local tasks
References #341
2021-01-10 22:05:18 +00:00
Oliver Davies dad542a0ab Fix content overflowing on mobile 2021-01-04 18:15:11 +00:00
Oliver Davies 9aaf62fce3 Re-order imports 2020-12-20 01:45:58 +00:00
Oliver Davies 08657c9b14 Safelist branding block, fix logo size 2020-12-20 01:45:50 +00:00
Oliver Davies a142f073f2 Re-add colour overrides
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:31 +00:00
Oliver Davies 3f1f858c37 Import default colours from 1.x
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:21 +00:00
Oliver Davies 3a7465572f Rename focus visible plugin 2020-12-18 01:08:18 +00:00
Oliver Davies 6c6585abf8 Change whitelist to safelist
https://tailwindcss.com/docs/upgrading-to-v2#update-purge-options-to-match-purge-css-3-0
2020-12-18 01:08:05 +00:00
Oliver Davies dc70dd5e87 Move the typography plugin config into extend
https://tailwindcss.com/docs/upgrading-to-v2#update-typography-and-forms-plugins
https://github.com/tailwindlabs/tailwindcss-typography/releases/tag/v0.3.0
2020-12-18 01:07:55 +00:00
Oliver Davies 3b0b7d37e3 Remove experimental and future options from config
https://tailwindcss.com/docs/upgrading-to-v2#remove-future-and-experimental-configuration-options
2020-12-18 01:07:49 +00:00
Oliver Davies cbdb79a429 Update npm dependencies
https://tailwindcss.com/docs/upgrading-to-v2#install-tailwind-css-v2-0-and-post-css-8
2020-12-18 01:07:46 +00:00
Oliver Davies 4e427340df Increase padding in code blocks 2020-12-17 13:06:08 +00:00
Oliver Davies 2fb7b4cf44 Change syntax highlighting theme 2020-12-17 09:42:47 +00:00
Oliver Davies ebd9903bf6 Remove dark mode from theme 2020-12-17 09:42:41 +00:00
Oliver Davies 9fba0b7292 Wrap all custom components in layers 2020-12-17 01:53:58 +00:00
Oliver Davies 4cfc932f77 Import all libraries automatically 2020-12-17 01:33:15 +00:00
Oliver Davies a7dce26971 Split custom utilities into partials 2020-12-17 01:32:43 +00:00
Oliver Davies d7b39a18e9 Split custom base classes into partials 2020-12-17 01:32:43 +00:00
Oliver Davies f12da38a40 Use postcss-easy-import for easy importing 2020-12-17 01:32:43 +00:00
Oliver Davies 3df64325b8 Sort imports [ci skip] 2020-12-17 00:05:40 +00:00
Oliver Davies 265b6f17ca Improve syntax highlighting 2020-12-16 23:52:30 +00:00