Bump minimal-mistakes to 4.28.0 (#418)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
neveler 2026-04-02 08:47:21 +08:00 committed by GitHub
parent b022b6c741
commit b12add2489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 55 additions and 33 deletions

View File

@ -8,7 +8,7 @@ source "https://rubygems.org"
# This will help ensure the proper Jekyll version is running. # This will help ensure the proper Jekyll version is running.
# Happy Jekylling! # Happy Jekylling!
gem "jekyll", "4.4.1" gem "jekyll", "4.4.1"
gem "minimal-mistakes-jekyll", "4.27.3" gem "minimal-mistakes-jekyll", "4.28.0"
group :jekyll_plugins do group :jekyll_plugins do
gem "jekyll-paginate", "1.1.0" gem "jekyll-paginate", "1.1.0"

View File

@ -19,6 +19,8 @@ appearance_skin_light:
- mint - mint
- plum - plum
- sunrise - sunrise
- catppuccin_latte
- catppuccin_mocha
appearance_skin_dark: appearance_skin_dark:
type: radio type: radio
default: dark default: dark
@ -33,3 +35,5 @@ appearance_skin_dark:
- mint - mint
- plum - plum
- sunrise - sunrise
- catppuccin_latte
- catppuccin_mocha

View File

@ -1,6 +1,7 @@
{% assign locale = include.locale | default: site.locale %}
<meta charset="utf-8"> <meta charset="utf-8">
{% include seo.html %} {% include seo.html locale=locale %}
{% unless site.atom_feed.hide %} {% unless site.atom_feed.hide %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">

View File

@ -1,12 +1,13 @@
--- ---
layout: compress layout: compress
--- ---
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
<!doctype html> <!doctype html>
{% include copyright.html %} {% include copyright.html %}
<html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js"> <html lang="{{ locale | replace: "_", "-" | default: "en" }}" class="no-js">
<head> <head>
{% include head.html %} {% include head.html locale=locale %}
{% include head/custom.html %} {% include head/custom.html %}
</head> </head>
@ -15,8 +16,8 @@ layout: compress
<div class="notice--warning text-center m0" style="position: sticky; top: 0; z-index: 999; padding: 0.4em;">当前站点为预览构建而非官方文档。如需反馈问题,请前往 <a href="https://github.com/HMCL-dev/HMCL-docs/pull/{{ site.preview.pr-number }}">#{{ site.preview.pr-number }}</a> 留言。</div> <div class="notice--warning text-center m0" style="position: sticky; top: 0; z-index: 999; padding: 0.4em;">当前站点为预览构建而非官方文档。如需反馈问题,请前往 <a href="https://github.com/HMCL-dev/HMCL-docs/pull/{{ site.preview.pr-number }}">#{{ site.preview.pr-number }}</a> 留言。</div>
{% endif %} {% endif %}
{% include_cached skip-links.html %} {% include_cached skip-links.html locale=locale %}
{% include_cached masthead.html %} {% include_cached masthead.html locale=locale %}
<div class="initial-content"> <div class="initial-content">
{{ content }} {{ content }}
@ -25,17 +26,17 @@ layout: compress
{% if site.search == true %} {% if site.search == true %}
<div class="search-content"> <div class="search-content">
{% include_cached search/search_form.html %} {% include_cached search/search_form.html locale=locale %}
</div> </div>
{% endif %} {% endif %}
<div id="footer" class="page__footer"> <div id="footer" class="page__footer">
<footer> <footer>
{% include footer/custom.html %} {% include footer/custom.html %}
{% include_cached footer.html %} {% include_cached footer.html locale=locale %}
</footer> </footer>
</div> </div>
{% include scripts.html %} {% include scripts.html locale=locale %}
</body> </body>
</html> </html>

View File

@ -11,10 +11,6 @@ blockquote {
word-break: break-word; word-break: break-word;
} }
.notice ul:first-child {
margin-top: 0;
}
.task-list-item label { .task-list-item label {
display: inline display: inline
} }

View File

@ -0,0 +1,8 @@
---
---
@charset "utf-8";
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
@import "minimal-mistakes/skins/catppuccin_latte";
@import "minimal-mistakes-plus";

View File

@ -0,0 +1,8 @@
---
---
@charset "utf-8";
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
@import "minimal-mistakes/skins/catppuccin_mocha";
@import "minimal-mistakes-plus";

View File

@ -16,28 +16,32 @@ data:
title: 亮色皮肤 title: 亮色皮肤
description: 亮色模式下应用的皮肤。 description: 亮色模式下应用的皮肤。
options: options:
default: 默认 default: 默认 (Default)
air: 天空 air: 天空 (Air)
aqua: 水蓝 aqua: 水蓝 (Aque)
contrast: 高对比 contrast: 高对比 (Contrast)
dark: 暗色 dark: 暗色 (Dark)
dirt: 泥土 dirt: 泥土 (Dirt)
neon: 霓虹 neon: 霓虹 (Neno)
mint: 薄荷 mint: 薄荷 (Mint)
plum: 梅紫 plum: 梅紫 (Plum)
sunrise: 日出 sunrise: 日出 (Sunrise)
catppuccin_latte: Catppuccin Latte
catppuccin_mocha: Catppuccin Mocha
appearance_skin_dark: appearance_skin_dark:
title: 暗色皮肤 title: 暗色皮肤
description: 暗色模式下应用的皮肤。 description: 暗色模式下应用的皮肤。
options: options:
default: 默认 default: 默认 (Default)
air: 天空 air: 天空 (Air)
aqua: 水蓝 aqua: 水蓝 (Aque)
contrast: 高对比 contrast: 高对比 (Contrast)
dark: 暗色 dark: 暗色 (Dark)
dirt: 泥土 dirt: 泥土 (Dirt)
neon: 霓虹 neon: 霓虹 (Neno)
mint: 薄荷 mint: 薄荷 (Mint)
plum: 梅紫 plum: 梅紫 (Plum)
sunrise: 日出 sunrise: 日出 (Sunrise)
catppuccin_latte: Catppuccin Latte
catppuccin_mocha: Catppuccin Mocha
--- ---