Wykres commitów

72 Commity (726584090c366241ad7ddbe5f1e3693ee6b3345c)

Autor SHA1 Wiadomość Data
LB (Ben Johnston) 726584090c
Upgrade to Node 20 & Upgrade npm packages (#463) Fix #462 2023-12-16 00:09:16 +00:00
Thibaud Colas b5291cd50d
Replace Open Sans with a system font stack 2023-07-06 10:54:34 +02:00
Thibaud Colas 7214cdad12 Replace FontAwesome font with SVG usage 2023-06-30 16:30:10 +01:00
Thibaud Colas 187d1e079d Remove the need for inline styles for hero images 2023-06-30 14:13:45 +01:00
gzark1 54165cea31
Fix iframe dimensions in rich text. Fix #417 (#418) 2023-06-21 09:41:40 +01:00
gzark1 3ad7187b1e Remove unnecessary underline from breadcrumb 2023-06-17 09:28:51 +10:00
Thibaud Colas 5951953628 Add demo content for RecipePage 2023-01-10 11:08:51 +00:00
Thibaud Colas f3754842d6 Convert demo StreamField pages to RecipePage data model 2023-01-10 11:08:51 +00:00
Sage Abdullah 7815be8ae0 Apply DraftStateMixin and RevisionMixin to BreadIngredient model 2022-10-20 15:00:43 +01:00
sag᠎e 8c38696092
Add styles for `EmbedBlock` (#362) 2022-10-19 14:48:32 +01:00
Sage Abdullah 591fab1bb7 Fix Stylelint issues 2022-08-18 12:51:17 +01:00
Sage Abdullah c02c9116a8 Format code with Stylelint 2022-08-18 12:51:17 +01:00
Sage Abdullah dfa2c511b1 Format code with Prettier 2022-08-18 12:51:17 +01:00
James Hancock 75eab056f0
Restyle CSS Across Site (#333)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-28 00:03:50 +01:00
Matt Westcott 2e3b59c8c4 Remove legacy rich text image styles
The `<div class="rich-text">` wrapper around rich text was disabled by default in Wagtail 2.10 (https://docs.wagtail.io/en/stable/releases/2.10.html#div-class-rich-text-wrappers-removed-from-rich-text) and we'd prefer not to enable the legacy handler, to encourage Wagtail developers to follow current best practice.

There is already a `width: 100%` rule in place for all img elements, and since an image with `width: 100%` but no `height: auto` would render with the wrong aspect ratio, it's reasonable to assume that no images on the site rely on `height: auto` being absent. Adding this to the `img` rule therefore makes the `rich-text` rule redundant.

The `width: 100%` also meant that the left/right-alignment options for rich text images had no effect - we add a `width: 50%` to those to make them meaningful again.

Finally, the responsive-object wrapper for media embeds was dropped in 2.9, so those rules are unused since then. Anyone who feels strongly about restoring responsive embeds is welcome to contribute a PR :-)
2020-08-26 10:20:36 +10:00
jonndoe 20fdd22226 height :auto, for displaying images without distortion. 2020-05-11 21:51:41 +01:00
Thibaud Colas 30dcfd4dfd Remove useless "content" styles 2020-05-07 21:33:44 +01:00
Thibaud Colas fa35309371 Remove unneeded style override for nav pills items 2020-05-07 21:33:44 +01:00
Thibaud Colas 40faa0a16d Remove unnecessary flex for no-gutters 2020-05-07 21:33:44 +01:00
Thibaud Colas 2ed2d9408c Reset form elements border regardless of viewport 2020-05-07 21:33:44 +01:00
Thibaud Colas 9490524008 Make whole bread list item a link 2020-05-07 21:33:44 +01:00
Thibaud Colas e2c6f3b09e Change selectors to make !important unnecessary 2020-05-07 21:33:44 +01:00
Thibaud Colas cf81da5db4 Clean up input width definitions 2020-05-07 21:33:44 +01:00
Thibaud Colas cb271fc3ae Fix off-by-one media utility media query 2020-05-07 21:33:44 +01:00
Edd Baldry a4f8d887ea Adds 1px border to form page input fields on mobile touch #139 2020-05-07 21:33:44 +01:00
Edd Baldry dd7bb19afe Amend mobile menu to not display child items 2020-05-07 21:33:44 +01:00
Edd Baldry 4760216ec8 Add global mobile menu style 2020-05-07 21:33:44 +01:00
Edd Baldry 6afa3127a1 Amend mobile styles for global hero, main menu, breads index, locations index and breads detail page 2020-05-07 21:33:44 +01:00
Edd Baldry 58852c4f70 Separate declarations for homepage featured-child list items to remove styling regression 2017-04-02 16:12:50 +01:00
Edd Baldry 00549bd506 Merge master. Resolve merge conflicts 2017-03-30 12:33:21 +01:00
Edd Baldry e5ded7b8d3 Explicitly sets list-style none for li items on homepage 2017-03-29 19:31:18 +01:00
Edd Baldry ddf89a1a56 Merge master. Resolve merge conflicts 2017-03-29 13:28:30 +01:00
Edd Baldry d7daf945b7 Override Boostrap CSS's blockquote footer:before attribute 2017-03-28 16:18:14 +01:00
Edd Baldry af33471f64 Better organise CSS file, including removal of unnecessary vendor prefixes, alphabetilising properties, giving index 2017-03-27 17:30:04 +01:00
Edd Baldry bd98f2bc02 Minor. Remove duplicate li.gallery declaration 2017-03-23 23:01:44 +01:00
Edd Baldry c72b6633d2 Stop pixel shift on hover in main navigation nav-pills 2017-03-23 22:57:27 +01:00
Edd Baldry 715b0d466e Include body on form page. Increase margin of form-page fieldWrapper elements 2017-03-23 22:38:05 +01:00
Edd Baldry 5bedb99bbf Merge branch 'master' into dutch-amendments 2017-03-23 22:30:31 +01:00
Edd Baldry dc4c6b1d33 Correcting alignment of main navigation 2017-03-23 14:57:59 +01:00
Edd Baldry 0733a0bee6 Account for multiple authors in styling 2017-03-23 14:46:46 +01:00
Edd Baldry 6dd68e1b22 Consolidate date published and author into single loop on blog. Style avatar 2017-03-23 14:42:17 +01:00
Scot Hacker 98c5c8a2ae Merge pull request #107 from wagtail/106-list-style-error
Specify li for form-page
2017-03-17 08:30:23 -07:00
Edd Baldry 964c1e3a2e Correctly specify li for form-page fixes #106 2017-03-17 10:42:44 +00:00
Edd Baldry 8e6c5e62c0 Aria roles and labels across templates. closes #72 2017-03-15 21:25:44 +00:00
Edd Baldry 118abaf170 Improved mobile styling for feature-2 and feature-3 blocks 2017-03-01 22:36:39 +00:00
Edd Baldry c3060a8736 Styling of feature-2 and feature-3 on homepage. Workson #58 2017-03-01 22:21:35 +00:00
Edd Baldry 5e3591aa98 Styling promo panel and featured articles 1. Workson #58 2017-03-01 21:53:46 +00:00
Edd Baldry 3e1a3632f4 Styling homepage hero section. Workson #58 2017-03-01 20:31:59 +00:00
Edd Baldry 1bd97ee2e1 Homepage template and initial styling. Workson #58. 2017-02-28 22:32:34 +00:00
Edd Baldry 1696ac1b1b Merge master with about page style. Workson #15 2017-02-28 07:50:35 +00:00