Skip to content

Commit 43639f8

Browse files
committed
feat: replace boilerplate CSS with simpler styles
- remove unused classes/redundant wrapper divs - limit pagination to show fewer pages - apply minimal styling to 404 page - remove unused pagination classes - make default element styles less specific - replace normalize with more modern CSS reset - update element styles - update focus styles and colors - update width limiter - add skip-to-content link styles - push footer to bottom of page - give footer some space - add basic nav styles - support menu interactivity - remove/update outdated CSS info
1 parent 12994b6 commit 43639f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+297
-2015
lines changed

docs/css.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
CSS Class Reference
2-
======================
1+
# CSS Class Reference
32

43
The CSS is organized using [Harry Roberts’](https://csswizardry.com) [Inverted Triangle CSS][itcss] (ITCSS) organizational approach. This method is mixed with [Block Element Modifier][bem] (BEM) naming convention for class names throughout the Sass files.
54

6-
Partials
7-
--------
5+
## Partials
86

9-
We will use partials (a.k.a. components) via the Wordpress convention of a `template-parts` directory for all partials on the site. When creating a new partial keep these in mind:
7+
We will use partials (a.k.a. components) a `partials` directory for all partials on the site. When creating a new partial keep these in mind:
108

119
1. Partials should be broken down into the smallest manageable and reusable size.
1210
1. Partials should be styled with custom BEM classes or a collection of utility classes.
1311
1. Layout styles should not be done in the partial, but instead on the referencing page or partial.
1412

15-
CSS Classes
16-
-----------
13+
## CSS Classes
1714

1815
When creating new CSS classes, be sure to reference the [Sparkbox standard][sb-standard-sass] for best practices.
1916

20-
| Class and System References |
21-
|-----------------------------------------|
22-
| [Spacing System](css/spacing-system.md) |
23-
| [Grid System](css/grid-system.md) |
24-
| [Text and Fonts](css/utility-text.md) |
25-
2617
<!-- Links: -->
27-
[itcss]:https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/
28-
[bem]:http://getbem.com
29-
[sb-standard-sass]:https://github.com/sparkbox/standard/tree/main/code-style/scss
18+
19+
[itcss]: https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/
20+
[bem]: http://getbem.com
21+
[sb-standard-sass]: https://github.com/sparkbox/standard/tree/main/code-style/scss

docs/css/grid-system.md

Lines changed: 0 additions & 196 deletions
This file was deleted.

docs/css/spacing-system.md

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)