fixed 样式bug

This commit is contained in:
Vaica committed 2026-02-01 17:00:25 +08:00
1 parent d65d6d94c7
commit 62e547b2ee
6 files changed
+588 -307

No files matched your search

+15 -1
View File
@@ -6,7 +6,21 @@
<div class="searchable-header-container">
<h2 class="section-header normal-mode" id="essay-header" onclick="toggleSearchMode(true)" uk-scrollspy="cls: uk-animation-slide-left-small; delay: 200">
随笔<i class="ri-quill-pen-line"></i>
<span class="search-hint">点击随笔,开始搜索</span>
<div class="search-hint-wrapper">
{{ if .Site.Params.home_search.mascot }}
<img src="{{ .Site.Params.home_search.mascot | relURL }}" class="search-mascot">
{{ else }}
<img src="{{ "emotion/aru/cheer.png" | relURL }}" class="search-mascot">
{{ end }}
<span class="search-hint"></span>
</div>
{{ if .Site.Params.home_search.hint }}
<script>
window.searchHintText = "{{ .Site.Params.home_search.hint }}";
window.searchGreetings = {{ .Site.Params.home_search.greetings | jsonify | safeJS }};
window.searchHolidays = {{ .Site.Params.home_search.holidays | jsonify | safeJS }};
</script>
{{ end }}
</h2>
<div class="search-mode" id="search-container" style="display: none;">
<div class="search-input-group">