feat: release Terminal-Witcher 3.1.17 and project handoff

Ship responsive navigation, configurable profile and four-section homepage, article/life category separation, natural-ratio book covers, and independent border settings. Include release history and complete context handoff documentation.
This commit is contained in:
2026-11-16 18:30:36 +08:00
parent 0859e49946
commit ca00daddf6
30 changed files with 2415 additions and 498 deletions
+25 -3
View File
@@ -53,6 +53,21 @@
--width-theme-border: [(${theme.config.global_style.border_width})];
}
</style>
<style data-no-pjax th:if="${not #strings.isEmpty(theme.config.global_style?.border_width_px)}" th:inline="css">
:root {
--width-theme-border: [(${theme.config.global_style.border_width_px})]px;
}
</style>
<style data-no-pjax th:if="${not #strings.isEmpty(theme.config.post_page?.toc_border_width_px)}" th:inline="css">
:root {
--width-theme-toc-border: [(${theme.config.post_page.toc_border_width_px})]px;
}
</style>
<style data-no-pjax th:if="${not #strings.isEmpty(theme.config.post_page?.toc_border_color)}" th:inline="css">
:root {
--color-theme-toc-border: [(${theme.config.post_page.toc_border_color})];
}
</style>
<style data-no-pjax th:if="${not #strings.isEmpty(theme.config.global_style.border_style)}" th:inline="css">
:root {
--style-theme-border: [(${theme.config.global_style.border_style})];
@@ -116,6 +131,10 @@
--color-theme-navigation: [(${#strings.isEmpty(scheme.navigation) ? scheme.menu : scheme.navigation})];
[/]
[# th:if="${not #strings.isEmpty(scheme.navigation_background)}"]
--color-theme-navigation-background: [(${scheme.navigation_background})];
[/]
[# th:if="${not #strings.isEmpty(scheme.control) or not #strings.isEmpty(scheme.header)}"]
--color-theme-control: [(${#strings.isEmpty(scheme.control) ? scheme.header : scheme.control})];
[/]
@@ -229,11 +248,14 @@
<body th:attr="data-layout-mode=${theme.config.layout.fullscreen_layout ? 'fullscreen' : 'normal'},
data-table-full-width=${theme.config.layout.table_full_width ? 'true' : 'false'}">
<div class="wrapper">
<header class="header">
<div class="header-container"
th:attr="style=${theme.config.layout.fullscreen_layout or #strings.isEmpty(theme.config.layout.max_width) ? null : 'max-width:' + theme.config.layout.max_width}">
<th:block th:replace="~{modules/header :: header}"/>
</div>
</header>
<div class="container"
th:attr="style=${theme.config.layout.fullscreen_layout or #strings.isEmpty(theme.config.layout.max_width) ? null : 'max-width:' + theme.config.layout.max_width}">
<header class="header">
<th:block th:replace="~{modules/header :: header}"/>
</header>
<main class="content">
<th:block th:replace="${content}"/>
</main>