「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
Administrator (トーク | 投稿記録) |
Administrator (トーク | 投稿記録) |
||
117行目: | 117行目: | ||
DIV.amazonsearch UL LI.shoplinkamazon { | DIV.amazonsearch UL LI.shoplinkamazon { | ||
background-color: #f90; | background-color: #f90; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* wikitable */ | ||
+ | .wikitable { | ||
+ | width: 100%; | ||
} | } |
2024年2月14日 (水) 03:45時点における最新版
/* ここに記述したCSSはすべての外装に反映されます */
.mw-body-content {
position: relative;
font-size: 1em;
z-index: 0;
width: 40em;
line-height: 2.0em;
}
.mw-body-content p {
line-height: inherit;
margin: 1.5em 0 1.5em 0;
}
.mw-body-content li {
margin-bottom: 0.6em;
}
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
margin-bottom: 0.5em;
}
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
font-size: 1.0em;
font-weight: normal;
border-bottom: 0 !important;
}
.mw-body-content h3 {
border-bottom: 1px dashed #a2a9b1 !important;
}
a.new, #p-personal a.new {
color: #440000;
}
#mw-panel {
width: 12em;
}
#mw-panel .portal .body li {
line-height: 2em;
}
.mw-body, #mw-head-base, #left-navigation, #footer {
margin-left: 13em;
}
/* syntax highlight */
.mw-highlight pre {
font-family: Consolas, Menlo, 'Liberation Mono', Courier, monospace;
white-space: pre !important;
overflow: scroll !important;
}
/* 2021.05.31 */
ol.special {
margin: initial;
}
/* amazon search */
/* Extension:AmazonSearch */
DIV.amazonsearch {
clear: both;
width: 100%;
margin: 0 auto;
padding: 0.5em;
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.amazonsearchname::before {
background-color: #bbb;
border-radius: 10%;
color: #fff;
font-size: smaller;
padding: 0 0.5em 0 0.5em;
margin-right: 0.5em;
content: "Ad";
}
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;
}
/* wikitable */
.wikitable {
width: 100%;
}