Ming Di Leom
7d6ffd131e
fix(css): diff colour in light theme
2023-12-25 07:05:17 +00:00
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
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
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
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
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
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
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
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
MDLeom
0e2799edbf
fix(css): alternating colour rows
...
- https://www.textfixer.com/tutorials/css-table-alternating-rows.php
2020-03-06 07:32:53 +00:00
MDLeom
c020a300e1
fix(css): change link underline colour to logo's colour
2020-02-26 07:37:33 +00:00
MDLeom
b59dd4406a
fix: display badges in one line
2020-02-19 07:50:26 +00:00
curben
10d9ebd6b3
fix(css): remove background colour for codeblock
...
- inspired by https://sscaffold-css.com/
- fix copy button's hover colours
2020-01-04 02:42:15 +00:00
curben
e59bfdbca6
refactor(css): custom properties
...
- https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
- https://css-irl.info/7-uses-for-css-custom-properties/
2019-12-20 02:33:57 +00:00
curben
763f7dc008
fix(mobile-menu): background-color
2019-12-18 06:19:47 +00:00
curben
1df434b5e6
fix(font-color): compatibility with light theme
2019-12-18 01:22:38 +00:00
curben
1524f00c05
fix(css): header-hr set to straight line
2019-11-14 02:17:48 +00:00
curben
8f5ae5ee9d
fix(css): make blockquote more obvious
2019-11-14 02:11:14 +00:00