MediaWiki:Vector-2022.css:修订间差异
| 无编辑摘要 | 小无编辑摘要 | ||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
| #siteNotice { | |||
| 	margin: 0; | |||
| } | |||
| @media only screen and not (min-width: 720px) { | @media only screen and not (min-width: 720px) { | ||
| 	.mw-logo { | 	.mw-logo { | ||
|      	min-width: 0; |      	min-width: 0; | ||
| 	} | 	} | ||
| } | |||
| /* 窄屏幕图片排版修正 */ | |||
| @media only screen and not (min-width: 720px) { | |||
|     figure[typeof*='mw:File'][typeof*='mw:File'] { | |||
|         margin: auto; | |||
|         float: none; | |||
|     } | |||
| } | |||
| figure[typeof*='mw:File'] img { | |||
|     max-width: calc(100vw - 4.5rem); | |||
|     height: auto; | |||
| } | } | ||
2025年9月8日 (一) 16:30的最新版本
#siteNotice {
	margin: 0;
}
@media only screen and not (min-width: 720px) {
	.mw-logo {
    	min-width: 0;
	}
}
/* 窄屏幕图片排版修正 */
@media only screen and not (min-width: 720px) {
    figure[typeof*='mw:File'][typeof*='mw:File'] {
        margin: auto;
        float: none;
    }
}
figure[typeof*='mw:File'] img {
    max-width: calc(100vw - 4.5rem);
    height: auto;
}