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

“Widget:首页/愚人节”的版本间差异

跳转到导航 跳转到搜索
删除11字节 、​ 2021年4月3日 (六) 04:19
//使用页面/文本对比查看器快速编辑
(//使用页面/文本对比查看器快速编辑)
(//使用页面/文本对比查看器快速编辑)
<noinclude>{{doc|content=只用于[[LLWiki:首页/2021年04月01日|2021年愚人节的首页]]样式。}}[[category:纯CSS混合小部件]]<p>JavaScript脚本:[[User:Bhsd/widget/packed-hover.js]]</p></noinclude><includeonly><!--{if !isset($wgWidgetMainpage) || !$wgWidgetMainpage}--><!--{assign var="wgWidgetMainpage" value=true scope="global"}--><!--<script defer src='//cdn.jsdelivr.net/gh/bhsd-harry/LLWiki@1.7/widget/packed-hover.min.js'>--><script defer src='/zh?title=user:bhsd/widget/packed-hover.js&action=raw&ctype=text/javascript'></script><style>
/* </includeonly>CSS样式表:<pre lang="css"> */
h1, { /* 手机版首页会自动处理.pre-content {*/
display: none;
}
height: auto;
}
.skin-minerva ul.mw-gallery-packed-hover {,
padding: 0;
margin: 2px 0;
}
.skin-minerva .mw-gallery-packed-hover .thumb,
.skin-minerva .mw-gallery-packed-hover .gallerybox.mw-gallery-focused .gallerytextwrapper,
.skin-minerva .mw-gallery-packed-hover .gallerybox:hover .gallerytextwrapper {
padding: 0;
margin: 2px 0;
}
}
/* </pre><includeonly> */
</style><script!--{/if}--></includeonly>
"use strict";
(() => {
const main = () => {
if (matchMedia( '(hover: hover)' ).matches) { return; }
$('.gallerybox').addClass( 'mw-gallery-focused' );
};
if (window.jQuery) { main(); }
else { window.addEventListener('jquery', main); }
}) ();
</script><!--{/if}--></includeonly>
16,874

个编辑

导航菜单