Skip to content

Commit

Permalink
Rebuild HTML on Bootstrap 5
Browse files Browse the repository at this point in the history
The new HTML does not exactly match the old HTML, but it is close in
style. The largest differences are:

- The TOC is available via a fixed dropdown at the top of the screen. I
 think this is much more usable.

- Blue is used as a accent color, instead of green. I prefer the blue,
but it doesn't match the illustrations. This may be revisited in the
future.

Other changes:

- CSS built from SCSS (Sass) instead of Less
- TOC depth limited to 2, which I think is much more usable
  • Loading branch information
noelwelsh committed Feb 5, 2024
1 parent ca178d9 commit 5ee4f3f
Show file tree
Hide file tree
Showing 16 changed files with 742 additions and 1,627 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pdfSetup := {
htmlSetup := {
"mkdir -p dist src/temp".!
"npm install".!
"npx lessc --include-path=node_modules --strict-imports src/less/html.less src/temp/html.css".!
"npx sass --load-path=node_modules src/scss/html.scss src/temp/html.css".!
"npx browserify src/js/html.js --outfile src/temp/html.js".!
}

Expand Down
Loading

0 comments on commit 5ee4f3f

Please sign in to comment.