元旦节皮肤

This commit is contained in:
eafonyang
2026-10-09 13:56:57 +08:00
parent 7d62f3ec70
commit 365f3afc49
16 changed files with 476 additions and 10 deletions
+152
View File
@@ -0,0 +1,152 @@
/* 元旦视觉层:保留滑轨尺寸、青色音量反馈与所有交互热区。 */
.newyear-volume-thumb {
display: block;
width: 44px;
height: 44px;
max-width: none;
object-fit: contain;
pointer-events: none;
user-select: none;
filter: drop-shadow(0 2px 4px #000) drop-shadow(0 0 3px rgba(242, 196, 98, 0.35));
}
.newyear-volume-icon-slot {
display: block;
position: relative;
width: 24px;
height: 24px;
pointer-events: none;
}
.newyear-volume-icon {
position: absolute;
left: 50%;
top: 50%;
width: 32px;
height: 32px;
max-width: none;
transform: translate(-50%, -50%);
filter: drop-shadow(0 0 3px rgba(242, 196, 98, 0.3));
pointer-events: none;
user-select: none;
}
.newyear-volume-icon--dim {
width: 27px;
height: 27px;
opacity: 0.75;
}
.newyear-card-decoration {
position: absolute;
inset: 0 0 auto;
height: 20px;
z-index: 1;
overflow: hidden;
pointer-events: none;
user-select: none;
}
.newyear-card-decoration * {
pointer-events: none;
}
.newyear-card-decoration > svg {
width: 100%;
height: 20px;
}
.newyear-card-star {
position: absolute;
color: #e7bd6b;
opacity: 0.75;
font-size: 9px;
line-height: 1;
}
.festival-greeting--newyear {
background: #071221;
}
.festival-greeting--newyear .festival-greeting-art {
opacity: 0.75;
}
.festival-greeting--newyear .festival-greeting-shade {
background: linear-gradient(90deg, transparent, rgba(3, 9, 20, 0.3) 40%, rgba(3, 9, 20, 0.3) 60%, transparent);
}
/* 标题整体仍由共享组件测量缩放,窄屏按三行排列,宽屏增加副标题。 */
.festival-greeting.festival-greeting--newyear[data-layout] .newyear-greeting-text {
flex-direction: column;
color: #ffe8ae;
text-shadow: 0 1px 1px #71390d, 0 0 8px rgba(236, 145, 52, 0.6);
}
.newyear-greeting-heading,
.newyear-greeting-words {
display: flex;
flex-direction: column;
align-items: center;
}
.newyear-greeting-words {
font-family: "Snell Roundhand", "Apple Chancery", "URW Chancery L", Georgia, cursive;
font-size: 36px;
font-style: italic;
line-height: 1.05;
}
.newyear-greeting-year {
font-family: Georgia, "Times New Roman", serif;
font-size: 43px;
font-style: italic;
font-weight: 700;
letter-spacing: 0.03em;
line-height: 1;
color: #ffd57a;
}
.newyear-greeting-tagline {
display: none;
font-family: Georgia, "Times New Roman", serif;
font-size: 8px;
line-height: 1.6;
letter-spacing: 2px;
color: #f5da9b;
text-shadow: 0 1px 3px #000;
}
.newyear-greeting-calendar {
display: none;
position: absolute;
width: 48px;
height: 48px;
left: 22px;
bottom: 4px;
transform: rotate(-9deg);
filter: drop-shadow(0 2px 4px #000);
}
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-calendar {
display: block;
}
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-heading,
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-words {
flex-direction: row;
}
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-words > span + span {
margin-left: 0.22em;
}
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-year {
margin-left: 18px;
font-size: 54px;
}
.festival-greeting--newyear[data-layout="wide"] .newyear-greeting-tagline {
display: block;
margin-top: 4px;
}