9 Commits

Author SHA1 Message Date
Sophie Alpert
8c6a6ea74e
Fix typo in index.njk (#261) 2020-07-23 09:39:57 +02:00
jlealess
5789b3910a
⚒️ Adds alertbox to all definitions (#218)
* Adds alertbox to definition pages

* Fixes syntax of links and improves wording of callout links to contribute
2020-06-22 13:01:43 -07:00
Alex Chan
99bc214ebc
Fix link to CONTRIBUTING.md after the branch rename (#219) 2020-06-15 18:16:12 +02:00
Bashu Naimi-Roy
941403694a
Style fixes (#144)
* 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>
2020-05-28 10:01:04 +02:00
Sarah Higley
48ebe70b99
🐛 Add headings, label lists, remove aria-labels for a11y (#109)
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-01 19:12:17 -07:00
Ekaterina Mekhnetsova
c39fbd7af6
Updated "Ways to Help" section (#93)
* Updated Ways to Help section

* Update index.njk

* Update _grid.scss

* Update index.njk

Co-authored-by: Mekhnetsova, Ekaterina <ekaterina.mekhnetsova@intel.com>
2020-03-17 15:12:59 -07:00
Laura Kalbag
a4bc2a16f3 Remove div containing intro title and description.
This div is not used in any CSS, and is preventing the title and description from being positionable on the containing grid. I’ve moved the title ID attribute on to the title itself so we don’t lose the landmark.
2020-01-15 12:54:40 +00:00
Oscar
b615a4c11e feat(11ty): add page layout 2019-11-17 22:25:36 +01:00
Oscar
fd910cb112 feat(11ty): base template 2019-11-11 23:53:11 +01:00