* Add definition for blacklist/whitelist
* Code review updates
* Yaml fix
* Organized alt words and fix blockquote styling
* Refined the wording
* Update summary
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* Update excerpt
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* Apply suggestions from code review
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* Minor wording improvements
* Fixed a contradiction about the origin of the terms
Co-authored-by: Maxime Preaux <maxime@boundless.com>
Co-authored-by: Tatiana Mac <github@tatianamac.com>
Without this change, `ul`s get compressed to a single grid column if they're direct children of `.definition-content__content`.
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* feat(dark mode): set up first set of colors
* feat(dark mode): define state colours
* 🧹
* feat(dark mode): variablify all teh wordz
* feat(dark mode): set colors on body
* feat(dark mode): replace hard coded color value
* feat(dark mode): 🌑
* feat(a11y): update link focus styles
- restores visible focus in windows high contrast mode
- increases visibility in boxes with bg colour
* feat(dark mode): enable postcss
* 💅
* feat(dark mode): add user control
* chore: use generic headline name
* feat(dark mode): hide switch until script loads
* feat(dark mode): increase link contrast
* add content warning to footer nav partial
* feat(dark mode): replace hard coded colour value in alertbox
* feat(dark mode): tone down text colour
* feat(dark mode): properly invert code elements
* 🧹 move box styles into own partial
* feat(dark mode): use darker colour as background for links
* installed @11ty/eleventy-plugin-rss package and added it to the config
* adding default rss template from the 11ty documentation
* using 'definedWords' as a collection, not 'posts'
* added a link to the feed in the html head, on the homepage so it's co-located with the other means of engagement, and in the feed itself (permalink is now part of metadata too)
* metadata.description is what we want to show as the feed subtitle, and made the author name safe as part of the metadata json; can't use the safe filter otherwise xml blows up
* removed redundant --- from right below the frontmatter, which md turns into a <hr>, which makes xml blow up
* made indentation consistent
* removing subscribe link from the CTA box, adding it to the footer next to Documentation link with bullet delimiter; updated site footer's ul style to show list items as display-block elements
* on definition pages, the footer is constrained to have the max width of the sidebar (160px). set grid-column: 1 / -1 to give it the full width to match the home/toc page
* created a new collection for sorting only defined words via their .date value (should be created date unless otherwise specified)
* RSS feed now shows posts in the order used by new definedWordsChronological collection
* reversed sort order as requested
* re-prettier-ifying eleventy.js
Co-authored-by: Oscar <ovlb@users.noreply.github.com>
* Move speech definition into main template
* Remove speech definition from definition-content.njk
* add margin top helper
* add content flag components
* Add selection styling to .box class
* Change content warning flag styling
* Add additional content warning guidance and change styling
* Expand examples list
* reworded topic[s] after testing in screen reader
* Also adjust wording on avoid content guidelines block
* Output title into content warning example
* Update 11ty/_includes/components/content-warning.njk
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* Update 11ty/_includes/components/content-warning-flag.njk
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* Update 11ty/_includes/components/content-warning.njk
Co-authored-by: Tatiana Mac <github@tatianamac.com>
Co-authored-by: Tatiana Mac <github@tatianamac.com>
* change "title__thicc" classname to "title--thicc" to reflect BEM naming convention
* fix indentation in index.njk
* add vertical spacing between homepage sections
* convert ".help" class to ".box__list" class
CSS classes generally shouldn't be related to content
* remove duplicate code for .page
* change auto-grid class to "auto-fit", from "auto-fill"
This reduces unused negative space on screens between 800-1200px wide
* use proper BEM practice - block, then modifier class
* refactor .flag styles to be more BEM
* add BEM block-level class to h1
* refactor box__list to simply "list"
* It will be its own component rather than element of the "box" block
* Remove duplicate (older) thicc styles from _header.scss
* rename .title--thicc to .thicc-headline to be more consistent with other "headline" heading classes
* rename another .title--thicc -> .thicc-headline
* refactor CSS selector from adjacent to class
* refactor the whole header to separate grid layout and typography
* remove unneeded grid style
* it's not a grid item
* remove sub-headline typography from _header.scss and add it to _typography.scss
* remove horizontal margin from box below tablet size
* noticed that the .box class, which is already squished on 320px wide screens, is more squished because of its margins.
* allow headings to wrap if necessary
noticed that headings (e.g. "development and build") were blowing out the grid on small screens and causing horizontal scroll
* rename subtitle to "sub-headline"
* convert <section> to <header>
makes more semantic sense for a screen-reader, since this really is the header of the document.
* discard heading wrapper element in favour of having just the heading element
Co-authored-by: Oscar <ovlb@users.noreply.github.com>
* Fix red flag splitting across two lines
Added white-space: nowrap to .flag_red and added new properties to link within toc to compensate for nowrap.
* Reverting back to original state.
* Revisited line wrap issue.
Co-authored-by: Tatiana Mac <github@tatianamac.com>