LLWiki正在建設中,歡迎加入我們

「Widget:首页/愚人节」修訂間的差異

出自LLWiki
跳至導覽 跳至搜尋
標籤行動版網頁編輯 行動版編輯
(撤销Bhsd讨论)的版本35530)
標籤復原 行動版網頁編輯 行動版編輯
 
(未顯示同一使用者於中間所作的 3 次修訂)
第1行: 第1行:
<noinclude>{{doc|content=只用于[[LLWiki:首页/2021年04月01日|2021年愚人节的首页]]样式。}}[[category:混合小部件]]<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>
<noinclude>{{doc|content=只用于[[LLWiki:首页/2021年04月01日|2021年愚人节的首页]]样式。}}[[category:纯CSS小部件]]</noinclude><includeonly><!--{if !isset($wgWidgetMainpage) || !$wgWidgetMainpage}--><!--{assign var="wgWidgetMainpage" value=true scope="global"}--><style>
/* </includeonly>CSS样式表:<pre lang="css"> */
/* </includeonly>CSS样式表:<pre lang="css"> */
h1 { /* 手机版首页会自动处理.pre-content */
h1 { /* 手机版首页会自动处理.pre-content */
第17行: 第17行:
.skin-minerva .gallery img {
.skin-minerva .gallery img {
width: 100% !important;
width: 100% !important;
}
.gallerytext > p {
margin: 0.5em 0;
}
}
@media screen and (min-width:720px) and (max-width:1000px) {
@media screen and (min-width:720px) and (max-width:1000px) {

於 2021年11月27日 (六) 02:58 的最新修訂

Template-info.png 小部件文檔
這個文檔是內聯文檔。

只用於2021年愚人節的首頁樣式。

CSS樣式表:

 */
h1 { /* 手机版首页会自动处理.pre-content */
	display: none;
}
.floatnone img {
	max-width: 100%;
	height: auto;
}
.skin-minerva ul.gallery,
.skin-minerva .gallery .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;
}
.skin-minerva .gallery img {
	width: 100% !important;
}
@media screen and (min-width:720px) and (max-width:1000px) {
	.skin-minerva .gallerybox {
		width: calc(48.5vw - 3.35em) !important;
	}
	.skin-minerva .gallerybox > div, .skin-minerva .gallerybox .thumb {
		width: auto !important;
	}
}
/*