大乱闘スマッシュブラザーズWikiで記事を編集するにはアカウントの作成ログインが必要です。編集方法や方針などについては、大乱闘スマッシュブラザーズWiki:編集ガイドライン‎をご覧ください。

「MediaWiki:Common.css」の版間の差分

提供: 大乱闘スマッシュブラザーズWiki
ナビゲーションに移動 検索に移動
86行目: 86行目:
 
キャラセレ風表
 
キャラセレ風表
 
--------------------------------------------------*/
 
--------------------------------------------------*/
.char_table td { border: 1px #333 solid; }
+
.char_table {
 +
max-width:900px;
 +
margin:5px auto 5px;
 +
}
 +
 
 +
.char_table > div {
 +
display:inline-block;
 +
width:60px;
 +
letter-spacing:-0.5px;
 +
font-size:0.7em;
 +
white-space: nowrap;
 +
text-align:center;
 +
border:1px #333 solid;
 +
}

2016年5月20日 (金) 07:09時点における版

/*--------------------------------------------------
ここに記述したCSSはすべての外装に反映されます
モバイル用ページ用のCSSはMediaWiki:Mobile.cssで
--------------------------------------------------*/

/*--------------------------------------------------
メインページのh1を非表示
--------------------------------------------------*/
body.page-メインページ h1.firstHeading {display:none;}
body.page-メインページ #contentSub {display:none;}

/*--------------------------------------------------
見出し
--------------------------------------------------*/
h2 { font-size: 155%; }
h2 { font-weight: bold; }
h2 { border-bottom: medium double; }

h3 { font-size: 145%; }
h3 { border-left: 6px solid #BABABA; }
h3 { border-bottom: 2px solid #BABABA; }

h4 { border-left: 10px double #BABABA; }

div#content h3, div#content h4, div#content h5, div#content h6 { margin-top: 1em; padding: 0.05em 0.2em;}
h2, h3, h4, h5 { letter-spacing: 0.5em;}
h4 ,h5 { border-bottom: 1px solid #BABABA; }

/*--------------------------------------------------
本文スタイル
--------------------------------------------------*/
div#content p {
    line-height: inherit;
    margin: 0.5em 0 1em;
}

li {
    margin-bottom: 0.3em;
}
.mw-content-ltr ul {
    margin: 0.2em 0 0.2em 1.6em;
    padding: 0;
}

/*--------------------------------------------------
メインページの「案内」用
--------------------------------------------------*/
.mainmenu_h {
	list-style-type:none; list-style-image:none; width:33%; padding:0.4em; border: solid #F7F7F7 5px; text-align:center; font-weight: bold; font-size: 23px; color:#fff;
}

.mainmenu_l {
	margin:4px;
}

/*--------------------------------------------------
リンク色変更
--------------------------------------------------*/
/* 白 */
.link_white a { text-decoration: none;}/* デフォでは下線無し */
.link_white a:hover{ text-decoration: underline;}/* マウスオーバーで下線 */
.link_white a:link { color: #FFF; }
.link_white a:visited { color: #FFF; }/* すでに踏んだリンク色 */

/*--------------------------------------------------
テンプレート:TOC limit
--------------------------------------------------*/
.toclimit-2 .toclevel-2 {display: none;}
.toclimit-3 .toclevel-3 {display: none;}
.toclimit-4 .toclevel-4 {display: none;}
.toclimit-5 .toclevel-5 {display: none;}
.toclimit-6 .toclevel-6 {display: none;}
.toclimit-7 .toclevel-7 {display: none;}

/*--------------------------------------------------
テーブルの奇数行に着色 表にclass="odd"
--------------------------------------------------*/
.odd tr:nth-child(2n-1) {
 background: #e0f7ff;
}
.odd tr:nth-child(2n) {
 background: #fff;
}

/*--------------------------------------------------
キャラセレ風表
--------------------------------------------------*/
.char_table {
 max-width:900px;
 margin:5px auto 5px;
}

.char_table > div {
 display:inline-block;
 width:60px;
 letter-spacing:-0.5px;
 font-size:0.7em;
 white-space: nowrap;
 text-align:center;
 border:1px #333 solid;
}