-
Notifications
You must be signed in to change notification settings - Fork 0
docs: customize the 404 not found page #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| {% extends "main.html" %} {% block left_sidebar %} {% endblock %} {% block | ||
| right_sidebar %} {% endblock %} {% block content %} | ||
| <div class="md-content" style="text-align: center; margin: 4rem auto"> | ||
| <article class="md-content__inner md-typeset"> | ||
| <div style="margin-bottom: 2rem"> | ||
| <span | ||
| style=" | ||
| font-size: 6rem; | ||
| font-weight: 700; | ||
| opacity: 0.1; | ||
| line-height: 1; | ||
| display: block; | ||
| font-family: "JetBrains Mono", monospace; | ||
| " | ||
| >404</span | ||
| > | ||
| <h1 | ||
| style=" | ||
| margin-top: -2.5rem; | ||
| border-bottom: none; | ||
| color: var(--md-primary-fg-color); | ||
| " | ||
| > | ||
| 此页面处于“不可观察”状态 | ||
| </h1> | ||
| </div> | ||
|
|
||
| <div | ||
| style=" | ||
| max-width: 32rem; | ||
| margin: 0 auto; | ||
| color: var(--md-default-fg-color--light); | ||
| " | ||
| > | ||
| <p style="font-size: 1.1rem; line-height: 1.8"> | ||
| 正如一个未定义的模型,你所寻找的参数已经由于显著性不足而被剔除。 | ||
| </p> | ||
|
|
||
| <p style="font-style: italic; opacity: 0.8; margin: 1.5rem 0"> | ||
| 该页面当前的 p-value 远大于 0.05,<br />我们无法拒绝“它不存在”这一虚无假设。 | ||
| </p> | ||
|
|
||
| <div style="font-size: 3rem; margin: 2rem 0; filter: grayscale(0.5)"> | ||
| 🍃 | ||
| </div> | ||
| </div> | ||
|
|
||
| <a | ||
| href="{{ config.site_url | default(base_url ~ '/../') }}" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
| class="md-button md-button--primary" | ||
| style=" | ||
| border-radius: 100px; | ||
| padding: 0.6rem 2.5rem; | ||
| text-decoration: none; | ||
| " | ||
| > | ||
| 重置观察位 | ||
| </a> | ||
| </article> | ||
| </div> | ||
|
|
||
| <style> | ||
| /* 适配 Zensical 的居中逻辑 */ | ||
| [data-md-component="content"] { | ||
| margin-left: 0 !important; | ||
| width: 100% !important; | ||
| } | ||
| .md-sidebar--primary, | ||
| .md-sidebar--secondary { | ||
| display: none !important; | ||
| } | ||
|
Comment on lines
+64
to
+71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The use of |
||
| /* 确保公式美观 */ | ||
| .md-typeset p { | ||
| margin-bottom: 1em; | ||
| } | ||
| </style> | ||
| {% endblock %} | ||
Uh oh!
There was an error while loading. Please reload this page.