This is the source repository for John Feminella's site.
- tasks: This Trello board tracks the site's evolution.
Ideas are liberally taken from:
Install Yarn: https://yarnpkg.com/lang/en/docs/install/
brew install yarn
Install Hugo: https://gohugo.io/overview/installing/
brew install hugo
Install Dependencies
yarn
Run server
gulp serve
- When using semantic class names (i.e.
home-list
instead ofg-r-c-6-12
), extend any necessary unsemantic classes via Sass@extends
, to avoid duplicating code.
.home-list {
@extend .p1;
@extend .mx1;
@extend .g-r-c-6-12;
}
- Loosely uses BEM methodology to write and manage class names: http://getbem.com/introduction/
.block {}
.block-element {}
.block-element__sub-element {}
.block-element--modifier {}
-
How CSS files are organized:
base
: Reset styles, base styles like typography, layout, colors,blockquote
s. Any styles for tags likepre
components
: Modular components like.list
,.hero
utilities
: Reusable utilities like text and responsive utilities