LLWiki正在建设中,欢迎加入我们!
“Widget:As-song”的版本间差异
跳转到导航
跳转到搜索
小 |
|||
第1行: | 第1行: | ||
<noinclude>{{doc|content=用於[[LoveLive!學園偶像祭ALL STARS歌曲列表]],請使用{{tl|AS song select}}調用。}}[[category:混合小部件]]</noinclude><includeonly><!--{if !isset($wgWidgetAsSong) || !$wgWidgetAsSong}--><!--{assign var="wgWidgetAsSong" value=true scope="global"}--><script defer src="/zh?title=</includeonly><noinclude><p>JavaScript脚本:[[</noinclude>User:Bhsd/widget/as-song.js<noinclude>]]</p></noinclude><includeonly>&action=raw&ctype=text/javascript"></script><style> |
<noinclude>{{doc|content=用於[[LoveLive!學園偶像祭ALL STARS歌曲列表]],請使用{{tl|AS song select}}調用。}}[[category:混合小部件]]</noinclude><includeonly><!--{if !isset($wgWidgetAsSong) || !$wgWidgetAsSong}--><!--{assign var="wgWidgetAsSong" value=true scope="global"}--><script defer src="/zh?title=</includeonly><noinclude><p>JavaScript脚本:[[</noinclude>User:Bhsd/widget/as-song.js<noinclude>]]</p></noinclude><includeonly>&action=raw&ctype=text/javascript"></script><style> |
||
/* </includeonly>CSS样式表:<pre lang=css> */ |
/* </includeonly>CSS样式表:<pre lang=css> */ |
||
.as-song-container |
.as-song-container .oo-ui-comboBoxInputWidget, .as-song-container .oo-ui-menuSelectWidget { |
||
⚫ | |||
font-size: 1em; |
|||
margin-right: 0; |
|||
display: block; |
|||
} |
} |
||
.as-song-container |
.as-song-container .oo-ui-comboBoxInputWidget-field { |
||
position: relative; |
|||
⚫ | |||
} |
|||
padding: 2px; |
|||
.as-song-container .indicator-clear { |
|||
display: block; |
|||
position: absolute; |
|||
top: 5px; |
|||
right: 40px; |
|||
color: #000; |
|||
} |
} |
||
@media only screen and (max-width:720px) { |
@media only screen and (max-width:720px) { |
||
.as-song-container |
.as-song-container .oo-ui-comboBoxInputWidget, .as-song-container .oo-ui-menuSelectWidget { |
||
width:100%; |
width:100% !important; |
||
box-sizing:border-box; |
box-sizing:border-box; |
||
} |
} |
2020年12月2日 (三) 11:14的版本
JavaScript脚本:User:Bhsd/widget/as-song.js
CSS样式表:
*/
.as-song-container .oo-ui-comboBoxInputWidget, .as-song-container .oo-ui-menuSelectWidget {
width: 360px !important;
margin-right: 0;
}
.as-song-container .oo-ui-comboBoxInputWidget-field {
position: relative;
}
.as-song-container .indicator-clear {
position: absolute;
top: 5px;
right: 40px;
color: #000;
}
@media only screen and (max-width:720px) {
.as-song-container .oo-ui-comboBoxInputWidget, .as-song-container .oo-ui-menuSelectWidget {
width:100% !important;
box-sizing:border-box;
}
}
.as-song-container > div {
display: inline-block;
}
.as-song-container .as-song {
display: none;
}
/*