「MediaWiki:Common.css」の版間の差分
提供: Kusupedia
25行目: | 25行目: | ||
} | } | ||
DIV.amazonsearch UL { | DIV.amazonsearch UL { | ||
− | margin: 0; | + | margin: auto 0 0; |
} | } | ||
DIV.amazonsearch UL LI { | DIV.amazonsearch UL LI { | ||
37行目: | 37行目: | ||
border-radius: 0.5em; | border-radius: 0.5em; | ||
white-space: nowrap; | white-space: nowrap; | ||
− | |||
− | |||
} | } | ||
DIV.amazonsearch UL LI A { | DIV.amazonsearch UL LI A { |
2024年1月18日 (木) 18:20時点における版
/* ここに記述したCSSはすべての外装に反映されます */ /* Extension:AmazonSearch */ 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: auto 0 0; } DIV.amazonsearch UL LI { display: block; text-align: center; list-style: none; font-size: 90%; width: auto; margin: 0.2em auto; 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; }