「MediaWiki:Common.css」の版間の差分
提供: 人狼wiki
| 16行目: | 16行目: | ||
width: 350px; | width: 350px; | ||
max-width: 100%; | max-width: 100%; | ||
| + | } | ||
| + | |||
| + | /* 一覧系のテンプレートのためのCSS */ | ||
| + | .list-box { | ||
| + | background-color: #eeeeee; | ||
| + | border: 2px solid #c9c9c9; | ||
| + | } | ||
| + | .list-box-title { | ||
| + | padding: 2px 0; | ||
| + | border-bottom: 1px solid #aaaaaa; | ||
| + | background-color: #d3d3d3; | ||
| + | |||
| + | text-align: center; | ||
| + | font-weight: bold; | ||
| + | color: #444444; | ||
| + | line-height: 1; | ||
| + | } | ||
| + | .list-box-content { | ||
| + | padding: 2px; | ||
| + | } | ||
| + | ul.list-box-list { | ||
| + | text-align: center; | ||
| + | } | ||
| + | ul.list-box-list li { | ||
| + | list-style-type: none; | ||
| + | display: inline-block; | ||
| + | margin: 4px 4em; | ||
} | } | ||
2016年9月6日 (火) 00:54時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* テンプレートでusageを書きたいときのpre */
pre.template-usage {
width: 35%;
}
/* メッセージボックス系のテンプレートのためのCSS */
.message-box {
background-color: #ffffe8;
border: 1px solid #ddddb3;
padding: 4px 4px 4px 1em;
line-height: 1;
font-size: 0.9em;
width: 350px;
max-width: 100%;
}
/* 一覧系のテンプレートのためのCSS */
.list-box {
background-color: #eeeeee;
border: 2px solid #c9c9c9;
}
.list-box-title {
padding: 2px 0;
border-bottom: 1px solid #aaaaaa;
background-color: #d3d3d3;
text-align: center;
font-weight: bold;
color: #444444;
line-height: 1;
}
.list-box-content {
padding: 2px;
}
ul.list-box-list {
text-align: center;
}
ul.list-box-list li {
list-style-type: none;
display: inline-block;
margin: 4px 4em;
}