比较提交
5 次代码提交
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "theme-terminal",
|
"name": "theme-terminal",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.2.2",
|
"version": "1.2.7",
|
||||||
"description": "A terminal like theme for Halo.",
|
"description": "A terminal like theme for Halo.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite build --watch",
|
"dev": "vite build --watch",
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -30%;
|
left: -5%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
width: 30%;
|
width: 30%;
|
||||||
@@ -81,24 +81,19 @@
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
--dash-spacing: 6px;
|
--dash-spacing: 6px;
|
||||||
--dash-width: 2px;
|
--dash-width: 2px;
|
||||||
background: var(--background);
|
background-color: color-mix(in srgb, var(--background) 90%, transparent);
|
||||||
opacity: 0.8;
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
/* 进入动画:透明度由0到1,宽度由中间到100% */
|
// 进入动画:透明度由0到1
|
||||||
animation: sticky-in 0.5s ease-in-out forwards;
|
animation: sticky-in 0.5s ease-in-out forwards;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
animation: line-flow 1.5s linear infinite;
|
|
||||||
mask-image: none;
|
|
||||||
-webkit-mask-image: none;
|
|
||||||
top: calc(50% - 1px);
|
top: calc(50% - 1px);
|
||||||
height: 2px;
|
height: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
animation: scan-line 2.5s ease-in-out infinite;
|
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
filter: blur(3px);
|
filter: blur(3px);
|
||||||
// 调整扫描线高度以适应 5px 容器
|
// 调整扫描线高度以适应 5px 容器
|
||||||
@@ -121,10 +116,12 @@
|
|||||||
// 扫描线动画 - 模拟终端扫描效果
|
// 扫描线动画 - 模拟终端扫描效果
|
||||||
@keyframes scan-line {
|
@keyframes scan-line {
|
||||||
0% {
|
0% {
|
||||||
left: -20%;
|
left: -5%;
|
||||||
|
width: 5%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
30% {
|
30% {
|
||||||
|
width: 30%;
|
||||||
opacity: .3;
|
opacity: .3;
|
||||||
}
|
}
|
||||||
70% {
|
70% {
|
||||||
|
|||||||
+7
-1
@@ -64,6 +64,7 @@
|
|||||||
grid-template-rows: repeat(2, 3px);
|
grid-template-rows: repeat(2, 3px);
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
margin: 0 6px;
|
margin: 0 6px;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
width: 2px;
|
width: 2px;
|
||||||
@@ -78,6 +79,11 @@
|
|||||||
span:nth-child(2) { animation: dot-blink-2 2.2s ease-in-out infinite 0.4s; }
|
span:nth-child(2) { animation: dot-blink-2 2.2s ease-in-out infinite 0.4s; }
|
||||||
span:nth-child(3) { animation: dot-blink-3 3.4s ease-in-out infinite 1s; }
|
span:nth-child(3) { animation: dot-blink-3 3.4s ease-in-out infinite 1s; }
|
||||||
span:nth-child(4) { animation: dot-blink-4 2.6s ease-in-out infinite 0.2s; }
|
span:nth-child(4) { animation: dot-blink-4 2.6s ease-in-out infinite 0.2s; }
|
||||||
|
span:nth-child(5) { animation: dot-blink-2 3s ease-in-out infinite 0.6s; }
|
||||||
|
span:nth-child(6) { animation: dot-blink-1 2.4 ease-in-out infinite 0.8s; }
|
||||||
|
span:nth-child(7) { animation: dot-blink-4 3.2s ease-in-out infinite 0.3s; }
|
||||||
|
span:nth-child(8) { animation: dot-blink-3 2.7s ease-in-out infinite 0.5s; }
|
||||||
|
span:nth-child(9) { animation: dot-blink-1 2.9s ease-in-out infinite 0.1s; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&-title {
|
&-title {
|
||||||
@@ -105,7 +111,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
%tags {
|
%tags {
|
||||||
margin-bottom: 20px;
|
margin-left: 10px;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+13
-2
@@ -15,9 +15,20 @@
|
|||||||
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
||||||
>发布时间</span
|
>发布时间</span
|
||||||
>
|
>
|
||||||
:: <span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
|
<span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
||||||
<span class="post-tags-inline">
|
<span class="post-tags-inline">
|
||||||
::
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
<span th:each="tag : ${post.tags}">
|
<span th:each="tag : ${post.tags}">
|
||||||
<a
|
<a
|
||||||
th:href="${tag.status.permalink}"
|
th:href="${tag.status.permalink}"
|
||||||
|
|||||||
+13
-2
@@ -19,9 +19,20 @@
|
|||||||
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
||||||
>发布时间</span
|
>发布时间</span
|
||||||
>
|
>
|
||||||
:: <span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
|
<span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
||||||
<span class="post-tags-inline">
|
<span class="post-tags-inline">
|
||||||
::
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
<span th:each="tag : ${post.tags}">
|
<span th:each="tag : ${post.tags}">
|
||||||
<a
|
<a
|
||||||
th:href="${tag.status.permalink}"
|
th:href="${tag.status.permalink}"
|
||||||
|
|||||||
+2
-3
@@ -27,16 +27,15 @@
|
|||||||
<span class="post-author" th:with="contributor = ${post.contributors[0]}" th:text="${contributor.displayName}">
|
<span class="post-author" th:with="contributor = ${post.contributors[0]}" th:text="${contributor.displayName}">
|
||||||
Author
|
Author
|
||||||
</span>
|
</span>
|
||||||
</div>
|
|
||||||
<span class="post-tags-inline" th:each="tag : ${post.tags}">
|
<span class="post-tags-inline" th:each="tag : ${post.tags}">
|
||||||
<a
|
<a th:href="${tag.status.permalink}"
|
||||||
th:href="${tag.status.permalink}"
|
|
||||||
th:title="${tag.spec.displayName}"
|
th:title="${tag.spec.displayName}"
|
||||||
th:text="'#'+${tag.spec.displayName}"
|
th:text="'#'+${tag.spec.displayName}"
|
||||||
class="post-tag"
|
class="post-tag"
|
||||||
>#Tag
|
>#Tag
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
<div class="post-content" th:text="${post.status.excerpt}">Post Excerpt...</div>
|
<div class="post-content" th:text="${post.status.excerpt}">Post Excerpt...</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
+8
-2
@@ -18,8 +18,14 @@
|
|||||||
<span class="post-date" th:text="${#dates.format(moment.spec.releaseTime,'yyyy-MM-dd')}">
|
<span class="post-date" th:text="${#dates.format(moment.spec.releaseTime,'yyyy-MM-dd')}">
|
||||||
Moment CreateTime
|
Moment CreateTime
|
||||||
</span>
|
</span>
|
||||||
<span class="post-author" th:with="owner = ${moment.owner}" th:text="${':: '+owner.displayName}">
|
<span class="post-separator">
|
||||||
:: Author
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
|
<span class="post-author" th:with="owner = ${moment.owner}" th:text="${owner.displayName}">
|
||||||
|
Author
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="post-content" th:utext="${content.html}">Moment Content...</div>
|
<div class="post-content" th:utext="${content.html}">Moment Content...</div>
|
||||||
|
|||||||
+7
-1
@@ -10,7 +10,13 @@
|
|||||||
<span class="post-date" th:text="${#dates.format(singlePage.spec.publishTime,'yyyy-MM-dd')}">
|
<span class="post-date" th:text="${#dates.format(singlePage.spec.publishTime,'yyyy-MM-dd')}">
|
||||||
publishTime
|
publishTime
|
||||||
</span>
|
</span>
|
||||||
<span class="post-author" th:text="${':: '+singlePage.owner.displayName}">:: Author</span>
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
|
<span class="post-author" th:text="${singlePage.owner.displayName}">Author</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<div th:utext="${singlePage.content.content}">Post Content</div>
|
<div th:utext="${singlePage.content.content}">Post Content</div>
|
||||||
|
|||||||
+4
-5
@@ -37,16 +37,15 @@
|
|||||||
<span></span>
|
<span></span>
|
||||||
</span>
|
</span>
|
||||||
<span class="post-author" th:text="${post.owner.displayName}">Author</span>
|
<span class="post-author" th:text="${post.owner.displayName}">Author</span>
|
||||||
</div>
|
|
||||||
<span class="post-tags-inline" th:each="tag : ${post.tags}">
|
<span class="post-tags-inline" th:each="tag : ${post.tags}">
|
||||||
<a
|
<a th:href="${tag.status.permalink}"
|
||||||
th:href="${tag.status.permalink}"
|
|
||||||
th:title="${tag.spec.displayName}"
|
th:title="${tag.spec.displayName}"
|
||||||
th:text="'#'+${tag.spec.displayName}"
|
th:text="'#'+${tag.spec.displayName}"
|
||||||
class="post-tag"
|
class="post-tag"
|
||||||
>#Tag</a
|
>#Tag
|
||||||
>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
<div class="post-body">
|
<div class="post-body">
|
||||||
<!-- 行数组件 -->
|
<!-- 行数组件 -->
|
||||||
<div class="post-line-gutter"></div>
|
<div class="post-line-gutter"></div>
|
||||||
|
|||||||
+13
-2
@@ -21,9 +21,20 @@
|
|||||||
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
<span class="post-date" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
||||||
>发布时间</span
|
>发布时间</span
|
||||||
>
|
>
|
||||||
:: <span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
|
<span class="post-list-title" th:text="${post.spec.title}">文章标题</span></a>
|
||||||
<span class="post-tags-inline">
|
<span class="post-tags-inline">
|
||||||
::
|
<span class="post-separator">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</span>
|
||||||
<span th:each="tag : ${post.tags}">
|
<span th:each="tag : ${post.tags}">
|
||||||
<a
|
<a
|
||||||
th:href="@{${post.status.permalink}}"
|
th:href="@{${post.status.permalink}}"
|
||||||
|
|||||||
+1
-1
@@ -13,5 +13,5 @@ spec:
|
|||||||
repo: https://git.dev.cm/theme-terminal
|
repo: https://git.dev.cm/theme-terminal
|
||||||
settingName: "theme-terminal-setting"
|
settingName: "theme-terminal-setting"
|
||||||
configMapName: "theme-terminal-configMap"
|
configMapName: "theme-terminal-configMap"
|
||||||
version: 1.2.3
|
version: 1.2.7
|
||||||
require: ">=2.22.0"
|
require: ">=2.22.0"
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户