「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
| 46行目: | 46行目: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
2022年2月20日 (日) 04:51時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* メインページ */
#home_recent_wrapper {
width:100%;
margin: 0;
padding: 10px 0;
overflow: hidden;
}
#home_recent_wrapper:after {
content: "";
display: block;
clear: both;
height: 1px;
overflow: hidden;
}
/*\*/
* html #home_recent_wrapper {
height: 1em;
overflow: visible;
}
/**/
#home_recent_left {
width:49%;
float:left;
}
#home_recent_right {
width:49%;
float:right;
}
/* テーブル */
table.wikitable{
background: #f9f9f9;
border: 1px solid #aaa;
border-collapse: collapse;
}
table.wikitable th,
table.wikitable td{
border: 1px solid #aaa;
padding: 0.2em;
}
table.wikitable th{
background: #f2f2f2;
text-align: center;
}
table.wikitable caption{
margin-left: inherit;
margin-right: inherit;
}