Skip to content

Commit 8b69364

Browse files
committed
Integrate and document building the stylesheet
1 parent 25203a5 commit 8b69364

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ _site
22
vendor
33
.bundle
44
Gemfile.lock
5+
node_modules
6+
package-lock.json

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,12 @@ The pages are rendered with Jekyll and kindly hosted by github.
1212
```
1313
docker run -it -p 4000:4000 -v $(pwd):/site -w /site library/ruby bash -c 'bundle install && bundle exec jekyll serve -H 0.0.0.0'
1414
```
15+
16+
## Build CSS
17+
18+
To build the stylesheets run this:
19+
20+
```
21+
npm install
22+
npx less --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css
23+
```

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"dependencies": {
3+
"less": "^4.4.0",
4+
"less-plugin-clean-css": "^1.6.0"
5+
}
6+
}

0 commit comments

Comments
 (0)