LLWiki正在建设中,欢迎加入我们

“Widget:Songposition”的版本间差异

来自LLWiki
跳转到导航 跳转到搜索
(//使用页面/文本对比查看器快速编辑)
 
(未显示同一用户的23个中间版本)
第1行: 第1行:
<noinclude>{{doc|content=用于生成角色小图标的tooltip。请使用{{tl|songposition}}调用。}}[[category:混合小部件]]
<noinclude>{{doc|content=用于{{tl|songposition}}的样式表。}}</noinclude><includeonly><!--{if !isset($wgWidgetSongposition) || !$wgWidgetSongposition}--><!--{assign var="wgWidgetSongposition" value=true scope="global"}--><script>
<p>JavaScript脚本:[[User:Bhsd/widget/songposition.js]]</p></noinclude><includeonly><!--{if !isset($wgWidgetSongposition) || !$wgWidgetSongposition}--><!--{assign var="wgWidgetSongposition" value=true scope="global"}--><script defer src='/zh?title=user:bhsd/widget/songposition.js&action=raw&ctype=text/javascript'></script><style>
// </includeonly>JavaScript脚本:<pre lang="js">
window.addEventListener('load', function () {
document.querySelectorAll( '.member-symbol' ).forEach(function(ele) {
ele.dataset.title = ele.title;
ele.removeAttribute('title');
});
});
// </pre>
<includeonly>
</script><style>
/* </includeonly>CSS样式表:<pre lang="css"> */
/* </includeonly>CSS样式表:<pre lang="css"> */
.member-symbol {
.member-symbol img {
width: 20px !important;
display: inline-block;
height: auto !important;
position: relative;
min-width: 0;
}
}
.member-symbol:hover::after {
.member-graph img {
width: 60px !important;
content: attr(data-title);
position: absolute;
white-space: nowrap;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 1px solid #a7d7f9;
z-index: 10;
background-color: #fff;
padding: 0 3px;
border-radius: 4px;
box-shadow: 1px 1px 1px #ccc;
}
}
@media screen and (min-width:720px) {
.member-symbol img {
.member-symbol-10 img {
width: 20px;
width: 18px !important;
}
}
.member-symbol-image {
display: none;
}
#member-symbol-popup img {
width: 50px;
height: 50px;
}
#member-graph-popup img {
width: 300px;
height: auto;
height: auto;
}
#member-symbol-popup span, #member-graph-popup span {
white-space: pre;
}
}
/* </pre><includeonly> */
/* </pre><includeonly> */

2022年12月3日 (六) 18:42的最新版本

Template-info.png 小部件文档
这个文档是内联文档。

用于生成角色小图标的tooltip。请使用{{songposition}}调用。

JavaScript脚本:User:Bhsd/widget/songposition.js

CSS样式表:

 */
.member-symbol img {
	width: 20px !important;
	height: auto !important;
	min-width: 0;
}
.member-graph img {
	width: 60px !important;
}
@media screen and (min-width:720px) {
	.member-symbol-10 img {
		width: 18px !important;
	}
}
.member-symbol-image {
	display: none;
}
#member-symbol-popup img {
	width: 50px;
	height: 50px;
}
#member-graph-popup img {
	width: 300px;
	height: auto;
}
#member-symbol-popup span, #member-graph-popup span {
	white-space: pre;
}
/*