池鹤 发表于 2026-10-6 22:03:05

【Beauty And A Beat】- MOONLGHT / Mr. Moon

<style>
/* 音乐卡片容器 DZ内页适配 */
.music-card{
--w:600px;
--r:16px;
--shadow-light:rgba(0,0,0,0.12);
--shadow-dark:rgba(0,0,0,0.35);
/* 间距变量,直接在这里修改距离 */
--cover-info-gap:75px;      /* 封面与右侧歌曲信息横向间距 */
--cover-top-bottom-gap:15px;/* 封面容器上下外边距 */
--row-desc-gap:30px;      /* 封面行 和 下方简介卡片 上下间距 */
width:var(--w);
max-width:100%;
margin:20px auto;
padding:18px;
border-radius:var(--r);
box-sizing:border-box;
font-family:system-ui,Microsoft Yahei,sans-serif;
transition:background .3s,color .3s;
}

/* 亮色主题变量 */
.music-card{
--bg:#fff;
--text-1:#222;
--text-2:#555;
--fold-card-bg:#f1f1f1;
--fold-card-text:#000;
--btn-bg:#2ecc71;
--btn-text:#ffffff;
--desc-bg:#f7f7f7;
--desc-text:#444;
background:var(--bg);
box-shadow:0 3px 12px var(--shadow-light);
}

/* 深色主题变量 */
#theme-switch:checked ~ .music-card{
--bg:#1f1f1f;
--text-1:#ffffff;
--text-2:#ffffff;
--fold-card-bg:#2d2d2d;
--fold-card-text:#ffffff;
--btn-bg:#27ae60;
--btn-text:#ffffff;
--desc-bg:#2d2d2d;
--desc-text:#ffffff;
box-shadow:0 3px 12px var(--shadow-dark);
}

.theme-checkbox{display:none;}
.theme-label{display:block;text-align:right;margin-bottom:12px;cursor:pointer;user-select:none;}
.theme-icon{width:22px;height:22px;display:block;}

/* ========== 左右两栏布局 顶部对齐 ========== */
.music-row{
display:flex;
gap:var(--cover-info-gap);
align-items:flex-start;
margin:var(--cover-top-bottom-gap) 0;
margin-bottom:var(--row-desc-gap);
}

/* 封面外层容器 */
.music-cover-wrap{
position:relative;
width:200px;
height:200px;
flex-shrink:0;
}

/* 黑胶唱片:右后方 */
.vinyl-record{
position:absolute;
top:50%;
right:-30px;
transform:translateY(-50%);
width:200px;
height:200px;
border-radius:50%;
background-color:#111;
background-image:
    radial-gradient(circle at center,
      #111 0 18%,
      #2a2a2a 19% 22%,
      #111 23% 32%,
      #2a2a2a 33% 36%,
      #111 37% 46%,
      #2a2a2a 47% 50%,
      #111 51% 60%,
      #2a2a2a 61% 70%,
      #111 71% 100%);
box-shadow:0 4px 14px rgba(0,0,0,0.4);
z-index:1;
}
.vinyl-record::before{
content:"";
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:26px;
height:26px;
border-radius:50%;
background:linear-gradient(135deg,#ffd166,#ff9f43);
box-shadow:inset 0 0 0 3px #111;
}
.vinyl-record::after{
content:"";
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:5px;
height:5px;
border-radius:50%;
background:#111;
z-index:3;
}

/* 专辑封面:圆角 + 反光折射层 */
.music-cover{
position:absolute;
top:0;
left:0;
width:200px;
height:200px;
border-radius:14px;
overflow:hidden;
z-index:2;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.music-cover img{
display:block;
width:100%;
height:100%;
object-fit:cover;
}

/* 封面反光折射效果 */
.cover-reflection{
position:absolute;
inset:0;
border-radius:14px;
z-index:3;
pointer-events:none;
background:
    linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0) 50%),
    linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.18) 55%, rgba(255,255,255,0) 70%);
mix-blend-mode:screen;
opacity:0.55;
}

/* 折射高光条 */
.cover-reflection::before{
content:"";
position:absolute;
top:-20%;
left:-10%;
width:65%;
height:140%;
background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.25) 55%, rgba(255,255,255,0) 100%);
transform:skewX(-12deg);
filter:blur(0.6px);
}

/* 底部轻微折射暗边,增强玻璃感 */
.cover-reflection::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:30%;
background:linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0));
pointer-events:none;
}

.music-info{flex:1;}

/* VIP椭圆标识 */
.vip-badge{
display:inline-block;
vertical-align:middle;
margin-right:8px;
margin-bottom:4px;
padding:2px 8px;
border-radius:999px;
background:linear-gradient(135deg,#ffd166,#ff9f43);
color:#fff;
font-size:12px;
font-weight:700;
letter-spacing:1px;
white-space:nowrap;
}

/* 歌名区域 */
.music-name{
font-size:18px;
font-weight:600;
color:var(--text-1);
margin-bottom:6px;
white-space:pre-line;
}
.music-meta{
font-size:14px;
color:var(--text-2);
line-height:1.6;
white-space:pre-line;
}

/* 文本描述卡片 */
.music-desc{
width:100%;
margin-top:0;
padding:12px 14px;
border-radius:10px;
background:var(--desc-bg);
color:var(--desc-text);
font-size:14px;
line-height:1.7;
box-sizing:border-box;
white-space:pre-line;
}

/* 播放器区域 */
.music-player{
width:100%;
height:62px;
border-radius:8px;
overflow:hidden;
margin-top:16px;
box-shadow:none !important;
}
.music-player iframe{
width:100%;
height:100%;
border:0 !important;
margin:0;
padding:0;
aspect-ratio:unset !important;
box-shadow:none !important;
}

/* 底部查看链接 */
.music-fold{margin-top:12px;}
.music-fold-card{
width:100%;
box-sizing:border-box;
border-radius:10px;
background:var(--fold-card-bg);
padding:10px 14px;
}
.music-check{display:none;}
.music-label{
display:block;
width:100%;
cursor:pointer;
color:var(--fold-card-text);
font-size:13px;
transition:background .3s,color .3s;
}
.music-content{
max-height:0;
overflow:hidden;
transition:max-height .3s ease;
text-align:center;
}
.music-check:checked ~ .music-content{
max-height:140px;
margin-top:10px;
}

.music-link{
display:inline-block;
padding:8px 24px;
background:var(--btn-bg);
color:var(--btn-text);
text-decoration:none !important;
border-radius:999px;
font-size:15px;
font-weight:500;
transition:opacity 0.2s;
}
.music-link:hover{opacity:0.85;color:var(--btn-text);text-decoration:none !important;}

.theme-icon-light{display:inline-block;}
.theme-icon-dark{display:none;}
#theme-switch:checked ~ .music-card .theme-icon-light{display:none;}
#theme-switch:checked ~ .music-card .theme-icon-dark{display:inline-block;}
</style>

<input type="checkbox" class="theme-checkbox" id="theme-switch">

<div class="music-card">
    <label for="theme-switch" class="theme-label">
      <img src="https://www.qqmcc.net/data/attachment/album/202610/04/105259it7jschytcc1tly0.png" class="theme-icon theme-icon-light" alt="亮色">
      <img src="https://www.qqmcc.net/data/attachment/album/202610/04/105259qmuz7tpnvbua6tuu.png" class="theme-icon theme-icon-dark" alt="深色">
    </label>

    <div class="music-row">
      <div class="music-cover-wrap">
            <!-- 黑胶唱片 -->
            <div class="vinyl-record"></div>

            <!-- 专辑封面 -->
            <div class="music-cover">
               
               <span class="cover-reflection"></span>
            </div>
      </div>

      <div class="music-info">
            <div class="music-name"><span class="vip-badge">VIP</span>Beauty And A Beat</div>
            <div class="music-meta">
歌手:MOONLGHT / Mr. Moon
所属专辑:Beauty And A Beat

发行时间:2025-10-17
发行公司: Uncharted Territory
</div>
      </div>
    </div>

    <div class="music-desc">音乐特点
整首歌充满夏日泳池派对的鲜活氛围感,动感抓耳的鼓点搭配流畅的电子合成器音色,节奏轻快明亮。人声清爽松弛,旋律简单洗脑,氛围感热烈,很适合派对、夜场场景,听感轻松元气。

创作主题
歌曲围绕派对、狂欢与自由热烈的氛围展开,描绘一场热闹的夜晚聚会,传递随性尽情享受当下的快乐,美丽与动感节拍相融,是一首氛围感极强的派对向电子单曲。
    </div>

    <div class="music-player">
      <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="//music.163.com/outchain/player?type=2&id=2756250624&auto=1&height=32"></iframe>
    </div>

    <div class="music-fold">
      <div class="music-fold-card">
            <input type="checkbox" class="music-check" id="m-fold">
            <label for="m-fold" class="music-label">查看歌曲链接</label>
            <div class="music-content">
                <a href="https://music.163.com/#/song?id=2756250624" target="_blank" class="music-link">点击跳转至音乐链接页面</a>
            </div>
      </div>
    </div>
</div>

可爱包 发表于 2026-10-7 11:08:31

曲风很棒,感谢楼主分享!

无常 发表于 2026-10-7 11:08:43

静下心聆听,很治愈,谢谢

微笑的小丑 发表于 2026-10-7 11:08:51

前奏无敌,秒接~

梦里有只粉鲸 发表于 2026-10-7 11:09:01

歌单新增成员,谢谢楼主

南辞清欢 发表于 2026-10-7 11:09:14

前奏很喜欢,感谢分享~

温柔尽散 发表于 2026-10-7 11:09:22

第一次听,直接爱上,谢谢

王桦啊 发表于 2026-10-7 11:09:27

曲风很棒,感谢楼主分享!

SUPERMAN 发表于 2026-10-7 11:09:33

歌单新增成员,谢谢楼主

五彩 发表于 2026-10-7 11:09:36

难得的好歌,感谢无私分享
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 【Beauty And A Beat】- MOONLGHT / Mr. Moon