January 21st, 2023 Previous / Next

Views & Transitions

View Counts
  • For each blog post, next to the date, is the number of views
  • The Blog+ page also shows views next to the date
  • A view is added for each visit to a post
Hover Transitions {EXPERIMENTAL - please send feedback}
  • Regular links (background fade-in)
  • Black-box links (underline fade-in)
  • Navbar links (fade to colour)
  • Navbar links - mobile (fade to colour)
Other
  • The blog page looks better on screen sizes between 950px and 1200px
  • Navbar links on movile have colour on hover
  • Lots of bug fixes
In Development Other Other
  • Automatic footer spacing (doesn’t work properly, see picture, please help)
footer.js (2023/01/21)

For example, the post “I made a crossword.”’s content height (which getBoundingClientRect().bottom should get) should be 392.67px (height of .content + navbar-space of 120px), but it shows up as 370.67px, so the footer is placed just off the screen. This post is fine because its height is greater than the screen. If you have any ideas for how to solve this, send me a message on Discord.
Nevermind, it seems to work just fine on the deployed version of my website. Too bad I spent so long trying to fix it...

LAST UPDATED: January 22nd, 2023