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

提供:MonoBook
編集の要約なし
編集の要約なし
6行目: 6行目:
clear: both;
clear: both;
width: 95%;
width: 95%;
min-height: 180px;
min-height: 90px;
margin: 1em auto;
margin: 1em auto;
padding: 1em;
padding: 1em;

2024年10月4日 (金) 02:58時点における版

/* ここに記述したCSSはすべての外装に反映されます */
body { font-size: larger; }

/* Extension:AmazonSearch */
DIV.amazonsearch {
	clear: both;
	width: 95%;
	min-height: 90px;
	margin: 1em auto;
	padding: 1em;
	border: 1px solid #444;
	overflow: hidden;
}
DIV.amazonsearch IMG.amazonsearchimg {
	float: left;
	margin: 0.1em 1em 0.1em 0.1em;
}
DIV.amazonsearch P.amazonsearchname {
	margin: 0;
	font-size: 90%;
	text-indent: 0;
}
DIV.amazonsearch P.amazonsearchauthor::before {
	background-color: #bbb;
	border-radius: 10%;
	color: #fff;
	font-size: smaller;
	padding: 0 0.5em 0 0.5em;
	margin-right: 0.5em;
	content: "広告";
}
DIV.amazonsearch P.amazonsearchauthor {
	margin: 0;
	font-size: 80%;
	text-indent: 0;
}
DIV.amazonsearch UL {
	margin: 0;
}
DIV.amazonsearch UL LI {
	display: inline-block;
	text-align: center;
	list-style: none;
	font-size: 90%;
	width: 12em;
	margin: 0.2em;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border-radius: 0.5em;
	white-space: nowrap;
}
DIV.amazonsearch UL LI A {
	color: #fff;
}
DIV.amazonsearch UL LI.shoplinkamazon {
	background-color: #f90;
}