奥西里斯 发表于 2026-10-5 14:34:58

【Take My Mind】- WizTheMC / bees & honey

<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:70px;   /* 封面与右侧歌曲信息横向间距 */
--cover-top-bottom-gap:15px;/* 封面容器上下外边距 */
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;
}

/* 封面外层容器:留出右侧空间给黑胶露出 */
.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:205px;
height:205px;
border-radius:14px;
overflow:hidden;
z-index:3;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.music-cover img{
display:block;
width:100%;
height:100%;
object-fit:cover;
}

.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;
}

/* 歌名区域开启pre-line,粘贴回车自动换行,长文本自动折行 */
.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:16px;
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">
               
            </div>
      </div>
      <div class="music-info">
            <div class="music-name"><span class="vip-badge">VIP</span>Take My Mind</div>
            <div class="music-meta">
歌手:WizTheMC / bees & honey
所属专辑:Take My Mind

发行时间:2025-07-04
发行公司: Bamboo Artists
</div><div class="music-meta"><br></div><div class="music-meta"><br></div><div class="music-meta"><br></div><div class="music-meta"><br></div>
      </div>
    </div>

    <!-- 文本描述卡片 -->
    <div class="music-desc">这首歌是近年在短视频平台走红的英文流行曲目,旋律清新抓耳,节奏舒缓灵动。歌词核心围绕精神共鸣与情感牵引展开,“Take my mind to another place(把思绪转到其他地方)” 作为核心歌词,描绘出被人深深吸引、思绪跟随对方去往另一个精神世界的浪漫感受,用日落、雷电、雨水等自然意象,表达人与人之间强烈的情感共振。
整首歌没有强烈的情绪爆发,慵懒通透的人声搭配清爽编曲,很适合作为氛围感 BGM,常被用作短视频、公路向文案的配乐。
    </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=2716289657&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=2716289657" target="_blank" class="music-link">点击跳转至音乐链接页面</a>
            </div>
      </div>
    </div>
</div>

QQmcc-命硬 发表于 2026-10-5 14:36:02

适合日常循环,感谢分享

把歌言欢 发表于 2026-10-5 14:36:16

整个论坛就爱你的分享,亲亲~

织慌 发表于 2026-10-5 14:36:30

歌荒救星,感谢楼主推荐

怪你过分美丽 发表于 2026-10-5 14:36:42

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

清酒醉人间 发表于 2026-10-5 14:36:49

难得的好歌,感谢无私分享

摩尔曼斯克 发表于 2026-10-5 14:37:06

感谢分享,歌单音乐+1

喵了个汪 发表于 2026-10-5 14:37:13

前奏很喜欢,感谢分享~

山丘 发表于 2026-10-5 14:37:30

听觉享受,辛苦楼主搬运

养只温柔猫 发表于 2026-10-5 14:37:46

节奏舒服,辛苦楼主啦
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 【Take My Mind】- WizTheMC / bees & honey