Commit Graph

143 Commits

Author SHA1 Message Date
Cell 56836eb077 feat: add tabs and tab shortcodes support (#634)
* feat: add tabs and tab shortcodes support

Powered by https://github.com/github/tab-container-element

* fix: adjust tab-container styles for improved layout and responsiveness

- [x] Underline Style (Default)
- [x] Pill Style
- [x] Card Style
- [x] Segment Style

* test: add tabs comprehensive test cases

* style: code optimization

* fix: add tabs support in home scope

* docs: add `<tab-container>` element reference to README files

* feat: enhance tab-container with loading mixin and simplify code

* refactor: update variable references to use root prefix in styles

* docs: add tabs shortcode support to README files

* fix: ensure shortcode is enclosed within a tabs block

* feat: add responsive design for tab-container on smaller screens

* test: remove unnecessary placement attribute for segment tabs

* refactor: remove unused vertical attribute from tabs shortcode

* fix: set default tab type to 'underline' for consistency

* refactor: update tab-button and tab-panel selectors for improved specificity
2025-09-11 22:59:33 +08:00
Cell e9366b5ab2 feat: add height transitions for detail content and code block content (#628)
- [interpolate-size](https://developer.mozilla.org/en-US/docs/Web/CSS/interpolate-size)
- [calc-size()](https://developer.mozilla.org/en-US/docs/Web/CSS/calc-size)
2025-08-24 16:08:06 +08:00
Cell 08d3c62b31 🐛 Fix: ZenUML intersection height error 2025-08-13 17:53:55 +08:00
Cell 59bea1e518 ♻️ Refactor: update CSS variable prefixes to use rootPrefix for consistency 2025-08-13 12:58:59 +08:00
Cell 45f101a456 ♻️ Refactor: update layout and media styles to use fi-container class, improve Mermaid script handling (#614)
docs: https://fixit.lruihao.cn/documentation/content-management/diagrams-support/mermaid/#cdn
2025-08-12 12:04:15 +08:00
ych817 7788eded58 💄 Style: update code element style for headings and toc items 2025-05-25 22:04:41 +08:00
ych817 0cf0d4f4e7 💄 Style: hide scrollbar in print media (#594)
Make sure that the scrollbar will not appear in the printed PDF
确保打印出的 PDF 中没有 scrollbar
2025-04-29 09:43:06 +08:00
Cell f7a9c52aac ♻️ Refactor: taxonomy templates lookup order 2025-04-27 15:32:31 +08:00
Cell d41e53bba4 Feat: add related content list in aside (#591) 2025-04-25 17:15:58 +08:00
Cell 8212d6fd02 ♻️ Refactor: image rendering aaa~again (#575) 2025-03-07 12:18:40 +08:00
Cell c3d63475b8 💄 Style: update sub menu overflow to auto scroll 2024-12-03 17:30:10 +08:00
Cell 4886c05395 💄 Style: update search layout page style 2024-11-27 17:02:06 +08:00
Cell 9913731705 💄 Style: update summary delimiter style 2024-11-15 19:51:18 +08:00
Cell 8fa3538725 🚧 WIP: add six extended formats to the task lists 2024-11-01 15:02:01 +08:00
Cell 8d10880b35 Feat: menu link support empty url
Close #531
2024-10-31 14:39:08 +08:00
Cell ed8cf316a5 Feat: add separator and capitalize options for breadcrumb config 2024-10-01 14:59:29 +08:00
Cell c36d87fd84 ♻️ Refactor: color scheme checking and move data-theme to document element 2024-09-27 12:52:29 +08:00
Cell 9a1b4570a7 💄 Style: update common style 2024-08-05 15:48:47 +08:00
Cell ed2f5f6d10 ♻️ Refactor: refactor page style with CSS round function
Resolved #482
2024-07-29 20:10:40 +08:00
Cell 16c903fac9 🐛 Fix: fix rendering errors caused by decimal points in page width styles
Closes giscus/giscus#1426
2024-07-28 16:18:23 +08:00
Cell f9a09e4610 Feat: add submenu param divided and change submenu border color 2024-07-11 22:06:45 +08:00
Cell ca73ca2066 💄 Style: scrollbar styles compatible with modern and legacy browsers 2024-06-25 12:23:21 +08:00
Cell 851b8e48cb 💄 Style: refactor common text color classes 2024-04-29 22:28:43 +08:00
Cell 89beb8fe4f 💄 Style: refactor hr tag style and add awesome hr style 2024-04-29 22:19:45 +08:00
Cell 90032a4471 🐛 Fix: fix collection aside style 2023-12-29 23:06:09 +08:00
Cell 714a656ca8 ♻️ Refactor: refactor site footer and params.footer.powered config 2023-12-29 21:26:10 +08:00
Cell da54fef151 Feat: add pin icon in home post list and add repost icon in section .etc. 2023-12-27 16:30:36 +08:00
Cell 928fba19a8 🐛 Fix: set breadcrumb height to 0px if breadcrumb is disabled 2023-12-26 15:14:41 +08:00
Cell 9894cf6263 💄 Style: optimize menu icon style 2023-12-22 10:54:33 +08:00
Cell 4b2ff9e773 🔥 Feat: internalize watermark option appendTo 2023-12-13 17:16:52 +08:00
Cell 95612e33f5 💄 Style: add sticky style for collection aside (#359) 2023-12-13 14:57:07 +08:00
Cell 4bfe3962a9 🐛 Fix: unable to get pages from a collection cause of Chinese url (contains spaces) decode error (#359)
By the way fixed collection nav css
2023-12-11 11:42:07 +08:00
Cell c783ced12f Feat: add collection navigation support at the end of the article 2023-12-08 00:13:45 +08:00
Cell d484414e20 🐛 Fix: fix toc active error when breadcrumb is enabled and set sticky to true (Fixed #368) 2023-11-03 12:36:56 +08:00
Cell 901f47bac9 Perf: switch mermaid theme before print 2023-03-29 13:50:16 +08:00
Cell f2b0bd5aca 🎨 Style: optimize box-shadow style in dark mode 2023-03-26 00:04:32 +08:00
Cell 869b4f5798 🐛 Fix: add author data patch (#288) 2023-03-25 20:21:29 +08:00
Cell 68849f644f 🎨 Style: systematically control z-index value 2023-03-25 11:24:53 +08:00
Cell 0f5e60274a 🎉 Feat: add breadcrumb navigation (#309)
⬆️ Required Hugo versions above 0.109.0
2023-03-24 17:02:38 +08:00
Cell 2fdb240b2c 🎨 Style: adjust some styles of mobile header 2023-03-17 15:03:38 +08:00
Cell cbcb9c53cb ♻️ Refactor: language switch in desktop header (#306) 2023-03-13 14:21:31 +08:00
Cell d90b51c02d 🎨 Perf: optimize the scroll bar style of body and toc-auto elements 2023-03-11 14:46:01 +08:00
Cell a7bb6cf835 🎨 Style: adjust the mobile header style and fix the bug that scrolling is invalid when there are too many menus on mobile (#289)
Closes #289
2023-03-11 11:39:21 +08:00
Cell d441e8487e 🐛 Fix: resolve style conflicts between valine and animate.css (#304) 2023-03-10 17:49:45 +08:00
Cell 7376238567 🎨 Style: optimize transform compatibility 2023-03-10 17:46:40 +08:00
Cell 19396e7e5f 🐛 Fix: toc fails when the toc aside is on the left 2023-03-03 12:43:16 +08:00
Cell 3195fc5d62 🎨 Style: fix #comments css style conflict (#269)
Closes #269
2023-02-10 10:42:17 +08:00
Cell 7e2ae88187 Feat: add parameter params.footer.order to order footer lines 2022-12-18 23:13:27 +08:00
Cell aca8809ea5 Feat: refactor parameter params.footer.siteTime 2022-12-18 16:57:12 +08:00
Cell ad93d92043 💄 Style: refactor css style 2022-11-14 12:26:42 +08:00