fix: 删除 article-cover 的固定 height:240px,纯用 aspect-ratio
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Theme Name: 空笺未寄
|
Theme Name: 空笺未寄
|
||||||
Version: 0.16.1
|
Version: 0.16.2
|
||||||
Requires at least: 6.0
|
Requires at least: 6.0
|
||||||
Requires PHP: 7.4
|
Requires PHP: 7.4
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -70,7 +70,6 @@ Text Domain: kj-weji
|
|||||||
-webkit-backdrop-filter: blur(12px);
|
-webkit-backdrop-filter: blur(12px);
|
||||||
border-bottom: 1px solid var(--border-light);
|
border-bottom: 1px solid var(--border-light);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
||||||
box-shadow: 0 1px 8px rgba(44,36,22,0.04);
|
box-shadow: 0 1px 8px rgba(44,36,22,0.04);
|
||||||
}
|
}
|
||||||
.logo-area { display:flex; align-items:baseline; gap:10px; cursor:pointer; }
|
.logo-area { display:flex; align-items:baseline; gap:10px; cursor:pointer; }
|
||||||
@@ -130,7 +129,7 @@ Text Domain: kj-weji
|
|||||||
.article-full { max-width:680px; margin:0 auto; }
|
.article-full { max-width:680px; margin:0 auto; }
|
||||||
.article-full .back-link { font-size:13px; color:var(--ink-lighter); text-decoration:none; margin-bottom:32px; display:inline-block; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; cursor:pointer; }
|
.article-full .back-link { font-size:13px; color:var(--ink-lighter); text-decoration:none; margin-bottom:32px; display:inline-block; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; cursor:pointer; }
|
||||||
.article-full .back-link:hover { color:var(--cinnabar); }
|
.article-full .back-link:hover { color:var(--cinnabar); }
|
||||||
.article-full .article-cover { width:100%; height:240px; border-radius:var(--radius); background:linear-gradient(135deg, #ede4d3 0%, #d5c4aa 100%); display:flex; align-items:center; justify-content:center; font-size:64px; margin-bottom:28px; }
|
.article-full .article-cover { width:100%; border-radius:var(--radius); background:linear-gradient(135deg, #ede4d3 0%, #d5c4aa 100%); display:flex; align-items:center; justify-content:center; font-size:64px; margin-bottom:28px; }
|
||||||
.article-full h1 { font-size:28px; font-weight:600; letter-spacing:0.08em; margin-bottom:10px; line-height:1.5; }
|
.article-full h1 { font-size:28px; font-weight:600; letter-spacing:0.08em; margin-bottom:10px; line-height:1.5; }
|
||||||
.article-full .article-byline { font-size:13px; color:var(--ink-lighter); margin-bottom:36px; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; display:flex; justify-content:space-between; align-items:center; }
|
.article-full .article-byline { font-size:13px; color:var(--ink-lighter); margin-bottom:36px; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; display:flex; justify-content:space-between; align-items:center; }
|
||||||
.article-full .article-byline a { color:var(--cinnabar); text-decoration:none; cursor:pointer; }
|
.article-full .article-byline a { color:var(--cinnabar); text-decoration:none; cursor:pointer; }
|
||||||
@@ -152,7 +151,7 @@ Text Domain: kj-weji
|
|||||||
.comment-form button:hover { background:#a03a32; }
|
.comment-form button:hover { background:#a03a32; }
|
||||||
|
|
||||||
/* 吐槽 */
|
/* 吐槽 */
|
||||||
.tucao-item { padding:20px 0; border-bottom:1px solid var(--border-light); }
|
.tucao-item { padding:15px 0; border-bottom:1px solid var(--border-light); }
|
||||||
.tucao-item .tucao-header { display:flex; align-items:center; gap:4px; margin-bottom:6px; }
|
.tucao-item .tucao-header { display:flex; align-items:center; gap:4px; margin-bottom:6px; }
|
||||||
.tucao-item .tucao-author { font-weight:600; font-size:14px; }
|
.tucao-item .tucao-author { font-weight:600; font-size:14px; }
|
||||||
.tucao-item .tucao-time { font-size:11px; color:var(--ink-lighter); }
|
.tucao-item .tucao-time { font-size:11px; color:var(--ink-lighter); }
|
||||||
|
|||||||
Reference in New Issue
Block a user