Explorar o código

Update 3 files

- /_data/other_repo_list.csv
- /_data/proxylist.yml
- /assets/css/feed.css
mayx hai 1 semana
pai
achega
6630ba964b
Modificáronse 3 ficheiros con 71 adicións e 47 borrados
  1. 0 10
      _data/other_repo_list.csv
  2. 0 1
      _data/proxylist.yml
  3. 71 36
      assets/css/feed.css

+ 0 - 10
_data/other_repo_list.csv

@@ -99,7 +99,6 @@ https://saga.iao.ru:3043/mayx/blog
 https://git.sayndone.ru/mayx/blog
 https://gitea.hintsight.com/mayx/blog
 https://anzsco.co.nz/mayx/blog
-https://git.simbarbet.com/mayx/blog
 https://git.saintdoggie.org/mayx/blog
 http://blackobelisk.xyz:3000/mayx/blog
 https://git.dushes.keenetic.pro/mayx/blog
@@ -130,7 +129,6 @@ https://git.paulll.cc/mayx/blog
 https://gitea.reimann.ee/mayx/blog
 http://109.74.197.189/mayx/blog
 http://94.224.160.69:7990/mayx/blog
-https://git.hxps.ru/mayx/blog
 https://gitea.ekjeong.synology.me/mayx/blog
 https://git.stit.tech/mayx/blog
 https://www.9miao.fun:6839/mayx/blog
@@ -164,7 +162,6 @@ http://120.26.116.243:3000/mayx/blog
 http://123.57.16.111:3000/mayx/blog
 http://115.159.107.117:3000/mayx/blog
 http://116.62.115.84:3000/mayx/blog
-https://Cagit.Cacode.net/mayx/blog
 http://wingsing.net:3000/mayx/blog
 http://hgngit.ipdz.me/mayx/blog
 http://185.163.116.39:49153/mayx/blog
@@ -222,13 +219,11 @@ http://47.112.118.149:10082/mayx/blog
 https://gitea.jobiglo.com/mayx/blog
 http://begild.top:8418/mayx/blog
 http://58.221.13.198:30010/mayx/blog
-https://git.tbaer.de/mayx/blog
 https://git.d-popov.com/mayx/blog
 https://git.liliyamol.cn/mayx/blog
 http://8.138.90.28:3000/mayx/blog
 https://gitea.theaken.com/mayx/blog
 https://git.ja-schwarz.de/mayx/blog
-https://git.xemo-net.de/mayx/blog
 https://git.23cm.cn/mayx/blog
 https://gitea.oio.cat/mayx/blog
 http://59.110.17.86:3000/mayx/blog
@@ -259,7 +254,6 @@ http://106.14.189.125:3000/mayx/blog
 http://gitea.coderpath.com/mayx/blog
 https://gitea.thanh0x.com/mayx/blog
 http://175.198.180.19:3000/mayx/blog
-https://gitea.albanmary.com/mayx/blog
 http://ngtools.cn:53000/mayx/blog
 https://git.hantify.ru/mayx/blog
 http://43.136.169.169:3000/mayx/blog
@@ -298,7 +292,6 @@ https://git.ctx.dev/mayx/blog
 https://nas.szwyll.com:3000/mayx/blog
 https://git.koppa.pro/mayx/blog
 http://202.65.194.19:3000/mayx/blog
-http://www.bzturbo.com.br/mayx/blog
 https://git.maiasoft.jp/mayx/blog
 https://gitea.xala.dev/mayx/blog
 http://101.201.34.43:3000/mayx/blog
@@ -312,7 +305,6 @@ http://47.108.217.75:3000/mayx/blog
 https://git.jakubzabski.pl/mayx/blog
 https://www.git.omezaldama.xyz/mayx/blog
 https://vila.go.ro/mayx/blog
-https://git.olyntec.com/mayx/blog
 http://8.134.218.17:8013/mayx/blog
 http://124.223.89.168:8080/mayx/blog
 http://139.129.21.166:3000/mayx/blog
@@ -370,7 +362,6 @@ http://8.141.91.86:3000/mayx/blog
 http://8.138.187.132:3000/mayx/blog
 http://117.72.15.187:3000/mayx/blog
 http://81.70.30.91:3000/mayx/blog
-https://gitea.kisechan.space/mayx/blog
 http://140.238.9.133:3007/mayx/blog
 https://git.mwapp.com.br/mayx/blog
 http://yidaima.cn:6008/mayx/blog
@@ -511,7 +502,6 @@ https://scm.bcorex.e3labs.net/mayx/blog
 http://167.172.88.190:3000/mayx/blog
 http://58.17.14.95:8001/mayx/blog
 https://hero-cloud-stg-code.cnbita.com/mayx/blog
-https://git.darkmattergame.net/mayx/blog
 http://101.37.69.204:3000/mayx/blog
 http://jacksonhampton.com:3000/mayx/blog
 https://git.jaronnie.com/mayx/blog

+ 0 - 1
_data/proxylist.yml

@@ -63,4 +63,3 @@ others:
 - https://mayx.home.blog/
 - https://unmayx.medium.com/
 - https://mayx.cnblogs.com/
-- https://mayx.xlog.app/

+ 71 - 36
assets/css/feed.css

@@ -1,6 +1,6 @@
-@namespace atom "http://www.w3.org/2005/Atom";
-@namespace content "http://purl.org/rss/1.0/modules/content/";
-@namespace dc "http://purl.org/dc/elements/1.1/";
+@namespace atom url("http://www.w3.org/2005/Atom");
+@namespace content url("http://purl.org/rss/1.0/modules/content/");
+@namespace dc url("http://purl.org/dc/elements/1.1/");
 
 :root {
     --bg-color: #f4f5f7;
@@ -11,7 +11,6 @@
     --max-width: 780px;
 }
 
-/* 深色模式适配 */
 @media (prefers-color-scheme: dark) {
     :root {
         --bg-color: #1a1a1c;
@@ -28,25 +27,23 @@ atom|feed {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
     background: var(--bg-color);
     color: var(--text-main);
-    margin: 0 auto; /* 合并 margin */
+    margin: 0px auto;
     padding: 2rem 1rem;
-    font-size: 16px; /* 稍微调大基础字号提升阅读感 */
+    font-size: 16px;
     line-height: 1.6;
     max-width: var(--max-width);
 }
 
-/* 标题样式优化 */
-channel > title,
-atom|feed > atom|title {
+channel>title,
+atom|feed>atom|title {
     display: block;
     font-size: 2rem;
     font-weight: 800;
     text-align: center;
-    margin: 0 0 0.5rem 0;
+    margin: 0px 0px 0.5rem;
     letter-spacing: -0.02em;
 }
 
-/* 列表卡片 */
 item,
 atom|entry {
     display: block;
@@ -54,17 +51,17 @@ atom|entry {
     padding: 1.5rem;
     margin-bottom: 1.25rem;
     border-radius: 16px;
-    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
-    transition: transform 0.2s ease;
+    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px;
+    transition: transform 0.2s;
 }
 
 item:hover,
 atom|entry:hover {
-    transform: translateY(-2px); /* 轻微悬停效果 */
+    transform: translateY(-2px);
 }
 
-item > title,
-atom|entry > atom|title {
+item>title,
+atom|entry>atom|title {
     display: block;
     font-size: 1.25rem;
     font-weight: 600;
@@ -72,39 +69,49 @@ atom|entry > atom|title {
     color: var(--text-main);
 }
 
-/* 多行省略号优化 */
-item > description,
-atom|entry > atom|summary {
+item>description,
+atom|entry>atom|summary {
     display: -webkit-box;
     -webkit-box-orient: vertical;
-    -webkit-line-clamp: 4; /* 最多显示4行,自动加省略号 */
+    -webkit-line-clamp: 4;
     overflow: hidden;
     color: var(--text-muted);
     font-size: 0.95rem;
     line-height: 1.6;
 }
 
-/* 元数据(日期) */
-item > pubDate,
-atom|entry > atom|updated {
+item>pubDate,
+atom|entry>atom|updated {
     display: block;
     color: var(--text-light);
     font-size: 0.85rem;
     margin-top: 0.75rem;
 }
 
-/* 隐藏不需要的元素 */
-link, guid, author, category, comments, source, enclosure, 
-content|encoded, dc|creator, lastBuildDate, 
-atom|id, atom|link, atom|updated, atom|published, atom|author, 
-atom|category, atom|rights, atom|content, 
-language, generator {
+link,
+guid,
+author,
+category,
+comments,
+source,
+enclosure,
+content|encoded,
+dc|creator,
+atom|id,
+atom|link,
+atom|updated,
+atom|published,
+atom|author,
+atom|category,
+atom|rights,
+atom|content,
+language,
+generator {
     display: none;
 }
 
-/* 副标题与说明文字 */
-channel > description,
-atom|feed > atom|subtitle {
+channel>description,
+atom|feed>atom|subtitle {
     display: block;
     text-align: center;
     color: var(--text-muted);
@@ -112,14 +119,42 @@ atom|feed > atom|subtitle {
     margin-bottom: 2rem;
 }
 
-channel > description::after,
-atom|feed > atom|subtitle::after {
-    content: "这是一个订阅源(Feed)。复制当前URL到任何支持 Atom/RSS 的阅读器,即可订阅本博客的最新文章。\A以下展示了此订阅源包含的最新文章:";
+channel>description::after,
+atom|feed>atom|subtitle::after {
+    content: "这是一个订阅源(Feed)。复制当前URL到任何支持 Atom/RSS 的阅读器,即可订阅本博客的最新文章。\a 以下展示了此订阅源包含的最新文章:";
     display: block;
     white-space: pre-wrap;
     font-size: 0.875rem;
     color: var(--text-light);
     margin-top: 1rem;
     padding: 1rem;
-    border-top: 1px solid rgba(128, 128, 128, 0.2);
+    border-top-width: 1px;
+    border-top-style: solid;
+    border-top-color: rgba(128, 128, 128, 0.2);
+}
+
+rss,
+channel,
+atom|feed {
+    display: flex;
+    flex-direction: column;
+}
+
+channel>lastBuildDate,
+atom|feed>atom|updated:not(atom|entry atom|updated) {
+    order: 999;
+    text-align: center;
+    margin-top: 3rem;
+    padding-top: 1.5rem;
+    border-top-width: 1px;
+    border-top-style: solid;
+    border-top-color: rgba(128, 128, 128, 0.2);
+    color: var(--text-light);
+    font-size: 0.85rem;
+    display: block !important;
+}
+
+channel>lastBuildDate::before,
+atom|feed>atom|updated:not(atom|entry atom|updated)::before {
+    content: "更新于 ";
 }