Commit Graph

439 Commits

Author SHA1 Message Date
Ming Di Leom 77cf4e4801
chore(theme): require node 16+
- node 14 EOL 2023-04-30
2023-05-06 05:57:30 +00:00
Ming Di Leom e07800b485
fix(css): set style for toc level 2023-04-23 10:42:28 +00:00
Ming Di Leom 6ae6c9dacc
fix(js): avoid removing homepage link
- to avoid removing .onion from homepage
2022-06-27 12:48:17 +00:00
Ming Di Leom ca70fc857b
chore(theme): require node 14+
- BREAKING CHANGE
- necessary due to use of optional chaining
  * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
2022-04-05 06:48:21 +00:00
Ming Di Leom d8c745dcf7
feat(theme): support for series hint
- https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#attr-next
2022-04-05 06:46:58 +00:00
Ming Di Leom f56b7c176c
fix(template): remove null-checking for post.prev.title 2022-04-05 06:01:28 +00:00
Ming Di Leom b687cd6666
fix(search): "search" icon as enterkey
- https://www.smashingmagazine.com/2022/03/html-attributes-you-never-use/
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
2022-04-05 04:51:58 +00:00
Ming Di Leom 834a75bba0
feat(css): add border to <kbd>
- inspired by https://github.com/alvaromontoro/almond.css
2022-03-01 08:46:10 +00:00
Ming Di Leom 3ef2918a74
fix(page): replace section svg with sign
- https://en.wikipedia.org/wiki/Section_sign
2021-11-30 08:18:07 +00:00
Ming Di Leom 2154d9658d
fix(form): avoid opening new window
- https://community.atlassian.com/t5/Jira-Core-Server-questions/How-to-set-permission-of-allow-popups/qaq-p/1674406
- https://teddit.net/r/techsupport/comments/brnb90/what_is_blocked_opening_in_a_new_window_because/
2021-11-18 10:53:12 +00:00
Ming Di Leom b72ffb1c39
fix(css): hide share button by default 2021-11-18 10:32:54 +00:00
Ming Di Leom ed521ca896
fix(css): hide share button by default 2021-11-18 10:25:41 +00:00
Ming Di Leom 875d3b0540
fix(svg): <use> element no longer allows path
somehow path is considered as cross-origin resource,
though not mentioned in the doc
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
perhaps full URL (with protocol & domain) must be used?
but that will break mirror sites if used
2021-11-18 08:31:04 +00:00
Ming Di Leom b0d92d3524
chore(deps): update sanitize.css to v13
- Closes !28
2021-09-28 08:02:37 +00:00
Ming Di Leom 588f65f6d4
fix: update duckduckgo v3 onion
https://teddit.net/r/duckduckgo/comments/oc07wj/news_duckduckgo_search_now_available_via_tor/
2021-07-07 11:32:52 +00:00
Ming Di Leom 2d153b7c33
chore(dev-deps): update postcss-normalize to v10
- replaces and closes !27
2021-05-29 02:43:46 +00:00
Ming Di Leom 9cafaed12b
chore(theme): require Node 12
- BREAKING CHANGE: drop Node 10
2021-05-29 02:40:13 +00:00
Ming Di Leom bfad7942d3
fix(css): remove <cite> underline 2021-03-15 06:58:48 +00:00
Ming Di Leom e060a41acd
fix: change site title 2021-02-28 05:45:01 +00:00
Ming Di Leom 966db53823
build: add mirror to yandex
- to request url removal from yandex
2021-02-26 21:29:18 +00:00
Ming Di Leom 2379cd6672
fix(layout): remove incorrect <h1> 2021-02-26 09:13:21 +00:00
Ming Di Leom 056d4389ab
feat(theme-nav): remove nav link for current page
- reimplement in js, avoid disabling hexo layout caching
- revert f9889702b7
2021-02-23 07:48:56 +00:00
Ming Di Leom 748fec2f1d
refactor: consistent spacing in <body> 2021-02-22 07:02:44 +00:00
Ming Di Leom f9889702b7
feat(theme-nav): remove nav link for current page 2021-02-22 07:00:28 +00:00
MDLeom 7bb2a520f0
fix(favicon): remove legacy attributes
- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
2020-12-23 22:32:52 +00:00
MDLeom 6b221e6531
fix(css): darker a:visited 2020-12-12 09:29:20 +00:00
MDLeom 005c3419d4
fix(layout): move 'Newer'/'Older' out of <a> 2020-12-06 11:57:22 +00:00
MDLeom 5a2994cff1
fix(css): consistent <a> color
- inspired by wikipedia
2020-12-06 11:42:39 +00:00
MDLeom 914cba20b2
refactor(css): dedup 2020-12-05 11:54:15 +00:00
MDLeom ffa9a39ca8
fix(css): increase front-page 'recent posts' & 'tags' font-size
- especially on tablet
2020-12-05 11:47:57 +00:00
MDLeom 520cafa35c
fix(css): consistent font-size across phone screen
- avoid reducing font size in smaller screen
2020-12-05 11:42:01 +00:00
MDLeom c01dd395b1
fix(layout): enable zoom
- https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#Viewport_width_and_screen_width
2020-12-03 22:23:30 +00:00
MDLeom d9077aaf1c
fix(assets): remove cache-buster 2020-11-13 05:17:23 +00:00
MDLeom e1dbedc2ce
fix(css): contrast on parts of codeblock 2020-11-10 03:19:03 +00:00
MDLeom 62ebd35ae1
feat(theme): add post's source 2020-11-08 11:37:21 +00:00
MDLeom a6a13ffac8
fix(theme): alias default language to en-GB 2020-11-08 11:22:27 +00:00
MDLeom 3617597281
fix(css): underline site links when hover 2020-10-22 05:14:22 +00:00
MDLeom 97929bb41d
fix(css): remove 'ul' 'ol' left margin 2020-10-21 09:02:55 +00:00
MDLeom 4d0398a04f
fix(css): unset colour of 'mark'-ed line 2020-10-21 05:57:51 +00:00
MDLeom c6d0369b95
chore(dev-deps): update autoprefixer from 9.6.1 to 10.0.0
- add postcss as devDep due to new requirement
- Closes !26
2020-09-21 09:07:52 +00:00
MDLeom 4f69beea5f
fix(css): set background colour of inline codeblock highlight 2020-08-30 09:53:08 +00:00
MDLeom df475584ae
fix(css): update to sanitize.css v12.0.1 2020-08-24 00:58:14 +00:00
curben-bot 457da8603e chore(deps): update dependency sanitize.css to v12 2020-08-23 04:06:59 +00:00
MDLeom bdfc32e449
fix(css): remove unused style
- continue b37693b142
2020-08-21 12:48:25 +00:00
MDLeom c422ff91ee
refactor: utilise full_url_for()
- https://github.com/hexojs/hexo-generator-feed/pull/149
2020-08-21 12:37:10 +00:00
MDLeom 25aab0be28
refactor(titleCase): String index & String.substring()
- String.substr() is a deprecated API
- Convert the rest to lowercase
2020-08-19 08:41:57 +00:00
MDLeom 9490884b5a
feat(helper): titleCase
- simpler version of https://github.com/rvagg/titlecase
  * no exceptions
2020-08-19 03:29:17 +00:00
MDLeom b37693b142
fix(css): caption class
- 23372e0f11
2020-08-17 08:42:11 +00:00
MDLeom 2bbca77471
fix(css): caption class
- 23372e0f11
2020-08-17 08:40:45 +00:00
MDLeom cdb8dc5c28
fix(css): make permalink icon appears centre 2020-08-16 06:34:21 +00:00