Commit Graph

1211 Commits

Author SHA1 Message Date
curben b4dd405a5a
style: array destructuring
https://github.com/airbnb/javascript#destructuring--array
2019-09-03 03:48:42 +01:00
curben 3b4e5e2240 fix(css): de-duplicate rule 2019-08-30 20:12:32 +01:00
curben 2fa38ae0ed fix(css): drop sanitize/typography to simplify font 2019-08-30 20:12:28 +01:00
curben b5d2790081
fix(css): center the search icon 2019-08-30 19:40:29 +01:00
curben 5f473b6253
fix(css): put search box to center in mobile view 2019-08-30 19:33:27 +01:00
curben f86c829d78
fix(css): add margin between lines 2019-08-30 19:32:35 +01:00
curben 570754d1d5
fix(css): use relative length (em) 2019-08-30 19:31:03 +01:00
curben ab18204496
fix(css): consistent appearance on published/updated dates and tags 2019-08-30 19:02:42 +01:00
curben 1a7f5a9693
fix(css): use relative length (em) 2019-08-30 18:51:33 +01:00
curben 73d7028e36
refactor(css): remove duplicate color rules 2019-08-30 18:46:41 +01:00
curben 06c10c36d8
style(css): ordering 2019-08-30 18:31:30 +01:00
curben 1e72e7db77
refactor(css): remove unused rules 2019-08-30 18:29:18 +01:00
curben cf59e6df8b
fix(css): set codeblock margin consistent with img 2019-08-30 18:28:42 +01:00
curben 2abffc6977
style(css): ordering 2019-08-30 18:19:30 +01:00
curben c8e9d0d0b4
fix(css): remove unused css rules 2019-08-30 18:16:03 +01:00
curben 64b7c25ce7
fix(css): use sanitize/typography font 2019-08-30 18:13:02 +01:00
curben e6969c729e
style(layout): spacing 2019-08-30 18:00:31 +01:00
curben a33601013b
fix(theme): unify language config 2019-08-30 17:18:23 +01:00
curben 83067c6d5d
fix(rss): add rss link to header links and /about 2019-08-30 17:16:38 +01:00
curben 0da56daf5d
fix(js): defer clipboard.min.js
- https://stackoverflow.com/a/32413638
2019-08-30 11:20:40 +01:00
curben 2cde665dbb
fix(css): remove top margin of <hr> outside of article
- compatibility with Dark Reader
2019-08-30 09:10:55 +01:00
curben 96cccd5633
fix: reverse bracket 2019-08-30 08:34:41 +01:00
curben be8b693ce1 Revert "fix(hexo-yam): temporarily disable to debug SRI"
This reverts commit dd9d45ebb1.
2019-08-30 08:31:57 +01:00
curben b6acf222e2
feat(lazy_loading): remove loading-attribute-polyfill due to requirement of inline script
* it requires 'unsafe-inline' for script-src policy
2019-08-30 08:23:06 +01:00
curben dd9d45ebb1
fix(hexo-yam): temporarily disable to debug SRI 2019-08-30 07:48:45 +01:00
curben c282f06c76
refactor(addJs & addCss): forEach() 2019-08-30 07:40:29 +01:00
curben 503584a543
fix(cloudinary): Statically not support animated webp 2019-08-30 07:24:07 +01:00
curben bde71fd644
fix(cloudinary): <noscript> should have class attribute 2019-08-30 06:29:19 +01:00
curben 1b29dac14b
fix(css): override input padding in sanitize/forms
* conflict with padding-left of .searchBox
2019-08-30 06:05:49 +01:00
curben f39bab62de
refactor(cloudinary): combine variables 2019-08-30 05:52:16 +01:00
curben 020ba39fff
fix(head): meta generator tag should be after <title>
- so that browser can parse <title> asap
2019-08-30 05:50:48 +01:00
curben 63a8fccc48 Revert "fix(head): meta generator tag should be after <title>"
This reverts commit 710b9b25a1.
2019-08-30 05:50:10 +01:00
curben 9740be51ae
fix(css): Restrict sizing to the page width in all browsers
* especially in mobile browsers
2019-08-30 05:48:26 +01:00
curben 710b9b25a1
fix(head): meta generator tag should be after <title>
- so that browser can parse <title> asap
2019-08-30 05:43:20 +01:00
curben 2207579d19 feat(metaGenerator): restore metaGenerator
* hexo's meta_generator also append to <title> of <svg>
Revert "feat(metaGenerator): drop metaGenerator in favor of Hexo's"
This reverts commit afb4741be6.
2019-08-30 05:40:35 +01:00
curben 156c10460a
fix(css): increase margin between .article-tag-list-item
* also use relative length (em)
2019-08-30 05:36:54 +01:00
curben 9649e13b1d
fix(css): remove margin and padding for .article-meta 2019-08-30 05:34:54 +01:00
curben 0c5735f7b6
fix(cloudinary): fileName should be let 2019-08-30 04:34:33 +01:00
curben e6637dcef3
refactor(cloudinary): use Statically Imgpx image resize function
- https://developers.marsble.com/docs/imgpx
2019-08-30 04:31:44 +01:00
curben e4593d3f87
fix(css): remove sanitize/page 2019-08-30 04:04:07 +01:00
curben b258744c18
post: add git commands 2019-08-29 10:29:03 +01:00
curben 3187b18bef
docs(openGraph): og:image is now derived from <a> 2019-08-26 21:00:24 +09:30
curben baa5e896ad
style(sri-fallback): add credit 2019-08-26 20:57:00 +09:30
curben a36be09d24
feat(listTags): drop listTags in favor of official list_tags
- Hexo has added microformat and schema
  * https://github.com/hexojs/hexo/pull/3678
2019-08-26 20:52:24 +09:30
curben afb4741be6
feat(metaGenerator): drop metaGenerator in favor of Hexo's
* https://github.com/hexojs/hexo/pull/3671
2019-08-26 20:49:16 +09:30
curben 4b77924e2d
refactor(cssFilter): replace micromatch with String.endsWith() 2019-08-26 13:55:45 +09:30
curben 8292e31140
refactor(cssFilter): remove exclude variable 2019-08-26 13:49:03 +09:30
curben 03e82cfb2c
refactor(cssFilter): promise-fy 2019-08-26 13:48:10 +09:30
curben 0dee19bfdf
refactor: direct call without using function() 2019-08-26 13:33:23 +09:30
curben 0cc5bbb017
fix(cssFilter): use renderer
* instead of filter due to conflict with hexo-yam
2019-08-26 13:16:47 +09:30