Commit Graph

20 Commits

Author SHA1 Message Date
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 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 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 e060a41acd
fix: change site title 2021-02-28 05:45:01 +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 f9889702b7
feat(theme-nav): remove nav link for current page 2021-02-22 07:00:28 +00:00
MDLeom e1cdcf5f33
fix(layout): add default mobile menu 2020-08-16 03:46:16 +00:00
MDLeom f28c920fad
fix(layout): add default menu 2020-08-16 03:41:50 +00:00
MDLeom 93c5ad783e
fix(theme): check dependencies 2020-08-10 08:29:36 +00: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 1cccb619a0
fix(search): consistent class name style 2020-03-20 05:37:09 +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
MDLeom 397eadae2a
fix(footer): propagate footer links from config 2020-03-06 11:05:51 +00:00
curben 6bb55a6bde Revert "feat(search): use duckduckgo lite/no-js"
This reverts commit 159960da02.
Only usable as a browser search engine, otherwise shows "forbidden" error message
2020-01-18 05:46:01 +00:00
curben 159960da02
feat(search): use duckduckgo lite/no-js 2020-01-18 05:32:52 +00:00
curben 5cd412bda6
fix(css): add homepage link to mobile-nav
- mistakenly removed in 78397dad37
2019-11-14 02:22:14 +00:00
curben 8bfbe48148
fix(search): use config.url instead of hardcoded url 2019-11-12 10:19:27 +00:00
curben 78397dad37
fix(search): do not send referrer
- https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
- https://github.com/whatwg/html/issues/2983
- https://github.com/whatwg/html/pull/4332
2019-11-12 10:10:30 +00:00
curben 5a381f7032
fix: rename typing to chameleon theme 2019-09-11 06:48:43 +01:00
Renamed from themes/typing/layout/_partial/header.ejs (Browse further)