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
Tatiana Mac
878b474f32
⚠️ Add flag design for content warning ( #120 )
...
* ⚠️ Add flag design for content warning
* Fix build error
* Lol fix build error
* Added terms
2020-05-09 20:13:45 -07: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
EJ Mason
fa5ce187f0
⚒️ Add a pageStyles
block to base template ( #98 )
...
* Import typekit fonts as link
* Declare pageStyles block in base template
* Uninstall prism-themes package
2020-03-19 16:20:47 -07:00
Oscar
bd88c18fd0
📄 Add Detail Pages for Definitions ( #75 )
...
* fix: untrack definitions in dist
* feat(detail pages): update item link
* feat(detail pages): add layout
* feat(detail pages): render whole definition content
* feat(detail pages): remove definitons from homepage
* 🧹 def list component
* feat(layout): render site footer in all pages
* feat(detail pages): rename definition root class && move css into partials
* chore: abstract further css into own files
* feat(detail pages): update headling level of definition content
* feat(styles): set box sizing
* feat(styles): add margin bottom utility
* feat(styles): selection
* feat(components): sub page header own component
* feat(detail pages): add sections
* feat(style): mian headline
* feat(page layout): rename page content grid
* feat(page layout): add wide content class
* feat(detail pages): set document title
* feat(detail pages): set uniform document title for docs and definitions
* feat(page title): add comment
* feat(detail pages): add meta description
* feat(detail pages): wrap def header in article tag
* chore: set up ava
* feat(filters): move permalink function into file, add test
* chore: rename _temp to _util, remove creation script
* feat(detail pages): helper function to find additional definitions
* chore: move helpers to single directory
* feat(detail pages): create shortcode for further definition navigation
* feat(detail pages): fix find defs function
* feat(detail pages): shortcode for browse nav markup
* chore: fix collection mock data
* feat(detail pages): render browse nav
* feat(detail pages): style browse nav, style improvements
* feat(detail pages): test redirect
* feat(detail pages): client side redirect
* feat(homepage): set title
* 💅
* feat(detail pages): incorporate design changes
* feat(detail pages): hide browse headlines
* feat(detail pages): label lists
* feat(footer): add aria label
* feat(detail pages): redice heading level in md
* feat(detail pages): spacing in browse nav
* feat(detail pages): reduce line height
* feat(detail pages): set max width w/o breaking homepage
* feat(detail pages): replace in-definition definition links
* 🧹
* feat(detail pages): recover spacing utility
* 🧹
* chore(packages): update ava
* config: specify nvm version
* 💅
* 💅
2020-03-09 15:47:06 -07:00
Tatiana Mac
10843f2909
⚒️ Restructured Sass organisation ( #83 )
...
* 🌈 Organise colors with vars only
* ➕ New file structure
* File restructuring
* ⚒️ Fix build issue
* Rearranged files
2020-02-20 08:38:32 +11:00
Tatiana Mac
b21367fb9b
Merge pull request #43 from ovlb/feature/fix-break-in-table-of-content
...
👩🎨 Avoid Breaks in Table of Content Items
2020-02-11 21:38:30 -08:00
EJ Mason
47ae252bd7
Close orphaned <li>
2020-02-09 11:22:29 -08:00
EJ Mason
2e76d940c1
Close orphaned anchor around documentation link
2020-02-07 17:01:39 -08:00
Oscar
a0c65ee102
fix(table of content): avoid breaks inside of list items
2020-01-15 16:13:23 +01:00
Oscar
5d26c51acf
styles(table of content): use multi column layout
2019-11-29 17:45:38 +01:00
Oscar
0a2d6bf288
docs: fix headline breaking the layout
2019-11-18 21:36:10 +01:00
Oscar
82ca5c359f
feat(11ty): use flag text in template
2019-11-17 22:28:31 +01:00
Oscar
6ef759b5ef
feat(definitions): remove type of flag and always use text
2019-11-17 22:26:48 +01:00
Oscar
b615a4c11e
feat(11ty): add page layout
2019-11-17 22:25:36 +01:00
Oscar
fdc49636e3
feat(11ty): link sub terms in table of content
2019-11-17 19:50:10 +01:00
Oscar
6e087a9abe
feat(11ty): rename definitions collection to tableOfContent
2019-11-17 19:47:06 +01:00
Oscar
90666572b9
feat(11ty): render subterms in toc
2019-11-17 18:27:47 +01:00
Oscar
a83f278cee
feat(11ty): render flag outside link in toc
2019-11-17 18:27:28 +01:00
Oscar
017aef19fc
feat(11ty): render flags in defintions
2019-11-15 23:24:12 +01:00
Oscar
71de563b97
feat(eleventy): split table of content into sub sections
2019-11-15 22:19:37 +01:00
Oscar
fad87004ce
feat(11ty): only render flag in ToC if type is defined
...
some defintions might be flagged as avoid without being further specified, in this case no flag should be rendered in the table of content
2019-11-15 21:22:09 +01:00
Oscar
16132c7073
feat(11ty): spell alt words capitalised
2019-11-15 20:53:39 +01:00
Oscar
f5db4c110f
feat(11ty): add further reading section to definitions
2019-11-15 20:53:14 +01:00
Oscar
701ceaa964
feat(11ty): move table of content in partial file
2019-11-15 20:13:29 +01:00
Oscar
9dc5a142dc
feat(dictionary): link to defined alt words
2019-11-14 09:32:09 +01:00
Oscar
3399abf6da
feat(11ty): rename defined collection
2019-11-14 09:31:40 +01:00
Oscar
8307168459
feat(11ty): apply styles to markdown output
2019-11-12 20:46:38 +01:00
Oscar
415f2aba61
feat(11ty): use linkTarget filter && flag object structure
2019-11-12 15:19:12 +01:00
Oscar
c1389725c5
feat(11ty): output definition headline and content
2019-11-12 15:16:14 +01:00
Oscar
e8950ca3ab
feat(11ty): correctly apply grid
2019-11-12 15:11:47 +01:00
Oscar
125dfa5933
feat(11ty): load styles
2019-11-12 15:11:03 +01:00
Oscar
c41dc6763c
feat(11ty): abstract defintions list into own components
2019-11-12 01:17:50 +01:00
Oscar
fd910cb112
feat(11ty): base template
2019-11-11 23:53:11 +01:00