Skip to content

Commit

Permalink
Site updated: 2024-02-16 08:48:31
Browse files Browse the repository at this point in the history
  • Loading branch information
JustPureH2O committed Feb 16, 2024
1 parent f0501c0 commit 364b10d
Show file tree
Hide file tree
Showing 83 changed files with 282,300 additions and 0 deletions.
4,147 changes: 4,147 additions & 0 deletions 404.html

Large diffs are not rendered by default.

4,083 changes: 4,083 additions & 0 deletions about/index.html

Large diffs are not rendered by default.

4,296 changes: 4,296 additions & 0 deletions archives/2023/07/index.html

Large diffs are not rendered by default.

4,446 changes: 4,446 additions & 0 deletions archives/2023/10/index.html

Large diffs are not rendered by default.

4,589 changes: 4,589 additions & 0 deletions archives/2023/11/index.html

Large diffs are not rendered by default.

4,366 changes: 4,366 additions & 0 deletions archives/2023/12/index.html

Large diffs are not rendered by default.

4,960 changes: 4,960 additions & 0 deletions archives/2023/index.html

Large diffs are not rendered by default.

4,305 changes: 4,305 additions & 0 deletions archives/2023/page/2/index.html

Large diffs are not rendered by default.

4,303 changes: 4,303 additions & 0 deletions archives/2024/01/index.html

Large diffs are not rendered by default.

4,512 changes: 4,512 additions & 0 deletions archives/2024/02/index.html

Large diffs are not rendered by default.

4,587 changes: 4,587 additions & 0 deletions archives/2024/index.html

Large diffs are not rendered by default.

4,478 changes: 4,478 additions & 0 deletions archives/index.html

Large diffs are not rendered by default.

4,478 changes: 4,478 additions & 0 deletions archives/page/2/index.html

Large diffs are not rendered by default.

4,368 changes: 4,368 additions & 0 deletions biography-to-frc-delivery/index.html

Large diffs are not rendered by default.

4,045 changes: 4,045 additions & 0 deletions categories/index.html

Large diffs are not rendered by default.

4,626 changes: 4,626 additions & 0 deletions common-algo-templates/index.html

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions css/Readme.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<h1 id="样式文件说明">样式文件说明</h1>
<h2 id="样式拆分说明">样式拆分说明</h2>
<p>方案是对 https://blog.skk.moe/post/improve-fcp-for-my-blog/
的开源实现</p>
<h3 id="first.styl">first.styl</h3>
<p>首屏样式, 内含 首屏基础样式、 cover、 navbar、
首屏search、首屏暗黑模式、首屏字体 等样式,
首屏样式采用硬编码的方式写在HTML中.</p>
<p>内联硬编码自动化方案 see:scripts/helpers/first-style/index.js</p>
<h3 id="style.styl">style.styl</h3>
<p>异步加载样式, 除首屏样式外的其他样式, 最终生成 /css/style.css
异步加载.</p>
<h2 id="暗黑模式样式说明">暗黑模式样式说明</h2>
<p>暗黑模式样式被拆分为首屏暗黑模式样式和异步暗黑模式样式,其中在
source/css/ 文件夹下:</p>
<p>_first/dark_first.styl : 包含 首屏暗黑模式样式 的 暗黑模式 CSS 变量
和 强制覆盖样式</p>
<p>_style/_plugins/_dark : 异步暗黑模式样式文件夹</p>
<p>_style/_plugins/_dark/dark_async.styl : 包含 异步暗黑模式样式 的
暗黑模式 CSS 变量</p>
<p>_style/_plugins/_dark/dark_plugins.styl : 包含 异步暗黑模式样式 的
强制覆盖样式</p>
60 changes: 60 additions & 0 deletions css/collapsible.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.collapsible {
margin: 5px 0;
padding: 0 15px;
border: 1px solid #E5E5E5;
position: relative;
clear: both;
border-radius: 3px;
}

.collapsible .collapsible-title {
background: #E5E5E5;
margin: 0 -15px;
padding: 5px 15px;
color: #353535;
font-weight: bold;
font-size: 13px;
display: block;
cursor: pointer;
}

.collapsible .collapsible-title:before {
font-weight: bold;
}

.collapsible.collapsed .collapsible-title:before {
content: "展开 ";
}

.collapsible.expanded .collapsible-title:before {
content: "隐藏 ";
}

.collapsible .collapsible-content {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
-moz-transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
transition-duration: 0.3s;
-moz-transition-timing-function: ease-in-out;
-webkit-transition-timing-function: ease-in-out;
-o-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}

.collapsible.collapsed .collapsible-content {
overflow: hidden;
max-height: 0;
}

.collapsible.expanded .collapsible-content {
max-height: 3000px;
overflow: hidden;
}

.collapsible .collapsible-content p:first-child {
margin-top: 0 !important;
}
25 changes: 25 additions & 0 deletions css/first.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#safearea {
display: none
}

if hexo-config('content_visibility')
// https://web.dev/content-visibility/
// https://www.caniuse.com/?search=content-visibility
/*
* Workaround for Chrome bug, part 1
* Chunk rendering for all but the first article.
* /layout/_partial/scripts/content-visibility-scroll-fix.ejs
*/
.post-story + .post-story{
content-visibility: auto;
contain-intrinsic-size: 10px 500px;
}

@import '_defines/*'

// Project
@import '_first/*'

// Custom Files
for $injects_first in hexo-config('injects.first')
@import $injects_first;
13 changes: 13 additions & 0 deletions css/style.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#safearea{
display: block
}

@import '_defines/*'

// Project
@import '_style'

// Custom Files
for $injects_style in hexo-config('injects.style')
@import $injects_style;

Loading

0 comments on commit 364b10d

Please sign in to comment.