Commit graph

8 commits

Author SHA1 Message Date
294fa8343b Get all the fingerprinting done!
- Add partials in the resources folder for each of the major resources of my site
- Consolidate .css and .js files via resources.Concat where possible
2022-11-08 17:45:41 -08:00
84c7c714ed Use JS to show/hide railroad diagrams based on page width (thanks @hober!) 2022-10-21 11:06:13 -07:00
d0f1100682 Create a monospace font family stack 2022-10-03 19:54:55 -07:00
d862251a8f Define all color vars as triples, and create semantic colors that convert the triples to rgb colors 2022-10-03 19:54:14 -07:00
fbacdb6694 Fix the railroad diagram labels 2022-08-21 17:36:26 -07:00
2c919735c3 Tweak the railroad js and CSS files 2022-08-20 17:30:00 -07:00
a897f476e6 Include Railroad.js files in <head> 2022-08-18 20:18:05 -07:00
9ffa94f8af Add Tab's railroad.js to the blog
- Include railroad.js from http://tabatkins.github.io/railroad-diagrams/
- Include railroad.css from the same, and tweak it to match my style a bit
  better
- Add a railroad-utils.js file that declares a railroadDiagram function. It
  takes a builder function and an element ID, calls the builder and adds the
  resulting diagram to the element with the given ID.
- Add a railroad_diagram shortcode that wraps that all up so you can write a
  diagram inline with a post.
- Add script includes if the railroad_diagram shortcode is used. The shortcut
  sets a variable in the page's .Scratch that is looked up in the head partial
  template to determine whether to include these scripts.
2022-08-16 09:12:13 -07:00