「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「→ここに記述したCSSはすべての外装に反映されます: →メインページ: #home_recent_wrapper { width:100%; margin: 0; padding: 10px 0; overflow:...」) |
|||
| 46行目: | 46行目: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
| + | } | ||
| + | /* サイドバー */ | ||
| + | li#"n-.E7.9F.B3.E8.A6.8B.E9.8A.80.E5.B1.B1.E9.A0.9833.E3.83.B5.E5.AF.BA { | ||
| + | display:block; | ||
| + | width:135px; | ||
| + | height:270px; | ||
| + | background-image:url("http://sakurae-komonjo.sakura.ne.jp/mw/skins/common/images/banner_iwamiginzan33.jpg") no-repeat; | ||
} | } | ||
2022年2月20日 (日) 04:25時点における版
/* ここに記述した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;
}
/* サイドバー */
li#"n-.E7.9F.B3.E8.A6.8B.E9.8A.80.E5.B1.B1.E9.A0.9833.E3.83.B5.E5.AF.BA {
display:block;
width:135px;
height:270px;
background-image:url("http://sakurae-komonjo.sakura.ne.jp/mw/skins/common/images/banner_iwamiginzan33.jpg") no-repeat;
}