“Template:LyricsKai/colors/styles.css”的版本间差异
(创建页面,内容为“Lyrics-gradient ruby, .Lyrics-gradient rb, .Lyrics-gradient rt { background: inherit; } @media screen and (max-device-width: 720px){ .Lyrics-original span[title]:not(.NoTitlebox):hover, .Lyrics-translated span[title]:not(.NoTitlebox):hover { position: relative; } →title="全员"自带class="NoTitlebox": .Lyrics-original span[title]:not(.NoTitlebox):hover::before, .Lyrics-translated span[title]:not(.NoTitlebox):hover::before { content: attr(tit…”) |
(没有差异)
|
2022年7月20日 (三) 23:21的版本
Lyrics-gradient ruby, .Lyrics-gradient rb, .Lyrics-gradient rt { background: inherit; }
@media screen and (max-device-width: 720px){ .Lyrics-original span[title]:not(.NoTitlebox):hover, .Lyrics-translated span[title]:not(.NoTitlebox):hover { position: relative; } /* title="全员"自带class="NoTitlebox" */ .Lyrics-original span[title]:not(.NoTitlebox):hover::before, .Lyrics-translated span[title]:not(.NoTitlebox):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; } } /* */