MediaWiki:Vector-2022.css:修订间差异
| 小无编辑摘要 | 小无编辑摘要 | ||
| (未显示同一用户的2个中间版本) | |||
| 第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 { | ||
| 第7行: | 第11行: | ||
| /* 窄屏幕图片排版修正 */ | /* 窄屏幕图片排版修正 */ | ||
| @media only screen and not (min-width:  | @media only screen and not (min-width: 720px) { | ||
|      figure[typeof |      figure[typeof*='mw:File'][typeof*='mw:File'] { | ||
|          margin: auto; |          margin: auto; | ||
|          float: none; |          float: none; | ||
| 第16行: | 第19行: | ||
| figure[typeof*='mw:File'] img { | figure[typeof*='mw:File'] img { | ||
|      max-width: calc(100vw -  |      max-width: calc(100vw - 4.5rem); | ||
|      height: auto; |      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;
}