Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

codefordurham/code-for-durham-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ec0731 · Jan 23, 2019

History

58 Commits
Jan 23, 2019
Jan 9, 2019
Aug 24, 2018
Aug 24, 2018
Aug 24, 2018
Jan 23, 2019
Jan 23, 2019
Jan 15, 2019
Jan 8, 2019
Jan 7, 2019
Jan 9, 2019
Oct 25, 2018
Jan 7, 2019
Jan 7, 2019
Oct 25, 2018
Jan 15, 2019
Aug 24, 2018
Aug 24, 2018
Jan 15, 2019
Jan 23, 2019

Repository files navigation

Code for Durham Website

This is the WordPress theme for the new Code for Durham website.

In a WordPress site, put this folder into the wp-content/themes folder.

Setup style automation

Install packages

You will need to have NPM installed. Then run this command in the terminal:

$ npm install

Build style.css

Make sure all your css files are imported in the css/style.css file. Then in the terminal, run:

$ npm run gulpstyles

This will bundle all the styles into style.css in the root folder.

Watch styles

Make sure all your css files are imported in the css/style.css file. Then in the terminal, run:

$ npm run gulpwatch

Now on each save of a css file, the styles will be bundled into style.css in the root folder, and the browser will automatically be updated.