From 89328fe20611da1f34ac633de315a900254267c1 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 19 Jan 2019 00:50:06 -0500 Subject: Generate inline CSS for page header The idea here is to provide as little CSS as is sensible for the initial page load to be styled in a layout similar to the final layout. This initial styling may be briefly visible on a slow conection. Slow connections can happen for a variety of reasons. For example, I'm a Tor user, and connection speeds vary. Mobile connection speeds can also vary wildly. This adds a few hundred bytes, but I was able to cut it down quite a bit, and I don't find this to be unreasonable relative to the other data on each page. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 6aaf4b4..acc28df 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ /post/list !/docs/about/resume.html rss.xml +/inline.css /www-root /cgit-root /papers/*.pdf -- cgit v1.2.1