2023年政策修订增补工作正在进行中,欢迎参与!
Template:Temple Song/style.css
跳转到导航
跳转到搜索
.famed-song-card {
max-width: calc(100% - 10px);
width: 361px;
min-height: 123px;
margin: 0 5px 5px;
display: inline-block;
vertical-align: top;
}
.famed-color {
width: 100%;
height: 20px;
}
.famed-song-1 {
display: flex;
align-items: center;
color: #333;
font-weight: bold;
font-size: 12px;
}
.famed-song-imgbox {
margin-right: 4px;
border: gray 2px solid;
}
.famed-song-2 {
flex: 1;
overflow: hidden;
}
.famed-song-info {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
/* 改自[[Template:LyricsKai/colors/styles.css]],用于处理移动端点触色带时的歌姬名提示 */
@media screen and (max-device-width: 720px){
.famed-color:hover {
position: relative;
}
.famed-color:hover::before {
content: attr(title);
position: absolute;
bottom: 100%;
left: 0;
background-color: white;
white-space: nowrap;
font-size: 13px;
text-shadow: none;
border: 1px #666 solid;
box-sizing: border-box;
padding: 1px 2px;
box-shadow: 1px 1px 1px #ccc;
color: black;
font-family: 'PingFang SC', 'Noto Sans', 'Microsoft YaHei', system-ui, -apple-system;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */