Commit Graph

81 Commits

Author SHA1 Message Date
Ming Di Leom 2735d10aaa
fix(css): highlight content only
previous setting may highlight partially on longer line
2023-12-25 06:49:55 +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 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 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 bfad7942d3
fix(css): remove <cite> underline 2021-03-15 06:58:48 +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
MDLeom 6b221e6531
fix(css): darker a:visited 2020-12-12 09:29:20 +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 e1dbedc2ce
fix(css): contrast on parts of codeblock 2020-11-10 03:19:03 +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 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
MDLeom bdfc32e449
fix(css): remove unused style
- continue b37693b142
2020-08-21 12:48:25 +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
MDLeom a8a23d535c
fix: move theme icons to theme's folder 2020-08-16 03:33:07 +00:00
MDLeom 75cc2a8dc9
fix(css): compatibility with hexojs/hexo-util#229
- https://github.com/hexojs/hexo-util/pull/229
2020-08-15 13:38:31 +00:00
MDLeom 9b3b9d569d
fix: move logos from theme to site 2020-08-15 13:28:30 +00:00
MDLeom 1e590c15af
chore: make css build to be optional 2020-08-15 13:26:27 +00:00
MDLeom 757534f5d4
fix(css): switch dracula to visual studio light+dark theme 2020-07-30 12:29:50 +01:00
MDLeom dc6535aa7e
fix(css): add margin to figcaption and copy-button 2020-05-24 06:57:44 +01:00
MDLeom e8a914d984
fix(layout): deduplicate class name 2020-05-09 09:54:36 +01:00
MDLeom 7bc2bb6a94
fix(css): remove code block padding 2020-05-06 02:13:02 +01:00
MDLeom c1c0d7abce
fix(css): increase font size of 'h4' element 2020-04-22 12:00:25 +01:00
MDLeom 3b4b06e64b
fix(css): use default style of 'em' element 2020-04-22 11:40:44 +01:00
MDLeom adb9d92218
fix(js): only show share button if web share API is supported 2020-04-22 11:38:30 +01:00
MDLeom 7ce52e381a
fix(mobile-menu): ignore click if mobile menu is hidden 2020-04-12 10:18:12 +01:00
MDLeom b36b898a17
feat(js): remove SRI since 3rd-party libs are now served locally 2020-04-08 01:05:33 +01:00
MDLeom 713a6ef730
feat: serve third-party libs locally 2020-04-08 01:02:42 +01:00
MDLeom 17c1ad06a0
feat(js): hide mobile menu when click outside
- https://htmldom.dev/detect-clicks-outside-of-an-element
2020-04-04 06:53:32 +01:00
MDLeom 4099637c84
fix(css): set svg icons hover colour 2020-03-25 01:50:47 +00:00
MDLeom 5debe1419d
docs(svg): add credit 2020-03-22 17:51:49 +00:00
MDLeom 92e89467da
chore(deps): update clipboard.js to 2.0.6 2020-03-20 07:53:40 +00:00
MDLeom 1cccb619a0
fix(search): consistent class name style 2020-03-20 05:37:09 +00:00
MDLeom 2284440a7d
fix(search): change search button colour to link 2020-03-20 05:22:49 +00:00
MDLeom 9b8498b791
feat: share button
- web share API
- https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
- https://web.dev/web-share/
- https://github.com/luruke/browser-2020
- move height property to css
- add left margin to headerlink button
2020-03-20 05:18:36 +00:00
MDLeom 5a79bf82a8
fix(css): reduce mobile header height
- disable line break for site title
- remove menu button label
- increase size of menu button
2020-03-20 04:21:29 +00:00