LLWiki正在建设中,欢迎加入我们!
“Widget:Songposition”的版本间差异
跳转到导航
跳转到搜索
小 |
小 |
||
第6行: | 第6行: | ||
position: relative; |
position: relative; |
||
} |
} |
||
.member-symbol:hover::after { |
.skin-minerva .member-symbol:hover::after { |
||
content: attr(title); |
content: attr(title); |
||
position: absolute; |
position: absolute; |
2020年9月30日 (三) 06:10的版本
CSS样式表:
*/
.member-symbol {
display: inline-block;
position: relative;
}
.skin-minerva .member-symbol:hover::after {
content: attr(title);
position: absolute;
white-space: nowrap;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 1px solid #a7d7f9;
font-size: 0.8em;
z-index: 10;
background-color: #fff;
padding: 0 3px;
border-radius: 4px;
box-shadow: 1px 1px 1px #ccc;
}
.member-symbol img {
width: 20px;
height: auto;
}
/*