1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 14:36:22 -04:00

18 Commits

Author SHA1 Message Date
f345256921
fix page CSS parsing on amp pages
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhkIIhADIhBzdHlsZSBhbXAtY3VzdG9tKKVO&hl=en&sharing_key=ozvLdt6NrwXwjyC3ZJCWPA
2021-05-29 09:18:14 -04:00
80ea194c74
fix new header on /previously 2021-05-27 11:33:03 -04:00
9543aaa5b0
process SCSS @import rules with postcss-import 2020-10-03 19:24:27 -04:00
5123b8831a
organize config.toml params, and stop treating frontmattered CSS as SCSS unnecessarily -- it appears to cause some weird race condition with temporary files every once in a while...? not the intended use anyways though. 2020-07-12 19:51:19 -04:00
d970c031a5
run initial SCSS refactoring through percy 2020-07-07 08:57:26 -04:00
f3198e0235
clean up a bunch of layouts, especially social-images function
also made even more config.toml parameters optional, will help when finally releasing theme
2020-06-25 10:35:59 -04:00
0a48ce296f
make twemoji cursor the same as unicode emojis when hovered
and clean up /uses
2020-06-24 19:35:37 -04:00
0ad9d54347
remove HTML comments by default during minify 2020-05-14 20:51:49 -04:00
8219c611a4
inline frontmatter styles in HTML rather than a bunch of baby CSS files 2020-05-14 13:37:33 -04:00
b0893ff52f
bundle simple analytics script locally & minify everything with terser 2020-04-27 20:49:20 -04:00
6360e58f60
dark mode octocat icon on COVID post (and fix AMP errors)
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhUIIhADIgNpbWciB2FtcC1pbWcolk4&hl=en&sharing_key=jrQsA5DhNhUqwYxUooGbfw
2020-04-26 12:16:25 -04:00
adfa73b5fc
fingerprint CSS and JS, set one week browser cache
...and LOTS of tidying partials
2020-04-25 11:15:31 -04:00
8ba0a887bc
treat ALL images as assets (as they should have been all along...) 2020-04-21 14:34:55 -04:00
b13da8e05b
dark mode 😎 (#112)
* prepare dark mode stuffs

* themed all global colors

* store preference in local storage

* toggle styling

* lightbulb position

* minify bundled script with uglify-js instead of hugo

* detect whether user has an OS-wide dark mode preference and use that by default

* two different colors for each homepage link

* inline bulb SVGs into stylesheet

* fingerprint and cache styles for a year

* fix lightbulb positioning with weird magic numbers, will come back to that

* themed syntax highlighting

* use terser instead of uglify-js (b/c of ES6)
2020-04-20 15:04:30 -04:00
124d55a99e
extract inline page styles into a separate CSS file, and scope to content via SCSS
styles on AMP pages still won't be scoped to div#content like vanilla pages, though
2020-04-12 12:02:58 -04:00
20c32eaeb3
*much* smarter way of setting page-specific CSS
via front matter instead of flaky shortcode/page scratch
2020-04-09 13:59:49 -04:00
bc3e1f9309
set max width of pages in Hugo config.toml, retrieve value from SCSS
https://gohugo.io/hugo-pipes/resource-from-template/
2020-03-27 20:58:52 -04:00
6c44b7d44d
re-organize a bunch of partials 2020-01-14 18:08:42 -05:00