Commit graph

11 commits

Author SHA1 Message Date
9493b94691 Use position fixed for header animation; then position sticky once animation completes 2022-10-15 10:17:35 -07:00
06819504c2 Catch an exception if document.referrer is empty 2022-10-09 17:34:22 -07:00
d0f1100682 Create a monospace font family stack 2022-10-03 19:54:55 -07:00
93006dadcb Add some JS to run at DOMContentLoaded that animates the header in
The header animates in when the UA navigates from the home page or from another site,
but not when navigating from other pages on the site.
2022-09-25 07:47:09 -07:00
e05ad9372b Remove the dark-mode thing 2022-09-18 14:01:47 -07:00
c3bf9b61dd Move dark mode script to site.js 2022-09-18 13:41:29 -07:00
2c919735c3 Tweak the railroad js and CSS files 2022-08-20 17:30:00 -07:00
6a1182886d Add sketch-utils.js 2022-08-18 20:22:01 -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
7ea35388ee Add p5.js v1.4.1 2022-03-24 23:13:44 -07:00
be432a8999 Reorganize styles a bit 2021-10-15 16:39:31 -07:00