「MediaWiki:Common.css」の版間の差分
(同じ利用者による、間の1版が非表示) | |||
25行目: | 25行目: | ||
} | } | ||
DIV.amazonsearch UL { | DIV.amazonsearch UL { | ||
− | margin: auto | + | position:relative; |
+ | margin: 0; | ||
+ | top: auto; | ||
+ | bottom: 0; | ||
} | } | ||
DIV.amazonsearch UL LI { | DIV.amazonsearch UL LI { |
2024年1月18日 (木) 18:22時点における最新版
/* ここに記述した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 { position:relative; margin: 0; top: auto; bottom: 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; }