メニューを切り替える
Toggle preferences menu
個人設定を切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。

「MediaWiki:Common.css」の版間の差分

MediaWikiインターフェイスページ
編集の要約なし
test
3行目: 3行目:
.infobox {
.infobox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
color: black;
/* color: black;*/
padding: 0.2em;
padding: 0.2em;
font-size: 88%;
font-size: 88%;
13行目: 13行目:
.portable-infobox,
.portable-infobox,
.infobox {
.infobox {
background-color: #f8f9fa;
/*background-color: #f8f9fa;*/
     }
     }
}
}

2025年9月7日 (日) 03:38時点における版

/* Infoboxes */
.portable-infobox,
.infobox {
	border: 1px solid #a2a9b1;
	/* color: black;*/
	padding: 0.2em;
	font-size: 88%;
	line-height: 1.5em;
	border-spacing: 3px;
}

@media screen {
	.portable-infobox,
	.infobox {
		/*background-color: #f8f9fa;*/
    }
}

@media (max-width: 640px) {
	.portable-infobox,
	.infobox {
		width: 100%;
	}
    
	.portable-infobox .nowrap,
	.infobox .nowrap {
		white-space: normal;
	}
}

@media (min-width: 640px) {
	.portable-infobox,
	.infobox {
		/* @noflip */
		margin: 0.5em 0 0.5em 1em;
		/* @noflip */
		float: right;
		/* @noflip */
		clear: right;
		width: 22em;
	}
}

.infobox-header,.pi-header,
.infobox-label,.pi-label,
.infobox-data,.pi-data,
.infobox-above,.pi-above,
.infobox-full-data,.pi-full-data,
.infobox-below,.pi-below,
.infobox-subheader,.pi-subheader,
.infobox-image,.pi-image,
.infobox-navbar,.pi-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,.portable-infobox th,
.infobox td,.portable-infobox td {
	vertical-align: top;
}

.infobox-label,.pi-label,
.infobox-data,.pi-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,.pi-th,
.infobox td,.pi-td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,.portable-infobox .pi-above,
.infobox .infobox-title,.portable-infobox .pi-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption,.portable-infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,.pi-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption,.portable-infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,.portable-infobox .pi-header,
.infobox .infobox-subheader,.portable-infobox .pi-subheader,
.infobox .infobox-image,.portable-infobox .pi-image,
.infobox .infobox-full-data,.portable-infobox .pi-full-data,
.infobox .infobox-below,.portable-infobox .pi-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar,.portable-infobox .pi-navbar {
	/* @noflip */
	text-align: right;
}