「MediaWiki:Mobile.css」の版間の差分
ナビゲーションに移動
検索に移動
(モバイルビューで「 表・話・編・歴」を非表示に(幅が狭いので)) |
細編集の要約なし |
||
2行目: | 2行目: | ||
/* 情報ボックス */ | /* 情報ボックス */ | ||
.content table.infobox { | .content table.infobox { /* .content table を上書き */ | ||
display: table; | display: table; | ||
width: auto | width: auto; | ||
} | } | ||
.infobox table td { | table.infobox table td { /* table.infobox td を上書き */ | ||
border: 0; | border: 0; | ||
} | } | ||
/* 折り畳みボックス */ | /* 折り畳みボックス */ | ||
.content table.collapsible { | .content table.collapsible { /* .content table を上書き */ | ||
display: table; | display: table; | ||
margin: 0; | margin: 0; | ||
width: 100% | width: 100%; | ||
} | } | ||
.navboxLinks { | .navboxLinks { | ||
display: none; | display: none; | ||
} | } | ||
.collapseButton { | div.collapseButton { /* .collapseBotton を上書き */ | ||
width: auto | width: auto; | ||
} | } | ||
2015年2月14日 (土) 23:10時点における版
/* ここに記述したCSSは携帯機器版サイトの利用者のみに影響します */
/* 情報ボックス */
.content table.infobox { /* .content table を上書き */
display: table;
width: auto;
}
table.infobox table td { /* table.infobox td を上書き */
border: 0;
}
/* 折り畳みボックス */
.content table.collapsible { /* .content table を上書き */
display: table;
margin: 0;
width: 100%;
}
.navboxLinks {
display: none;
}
div.collapseButton { /* .collapseBotton を上書き */
width: auto;
}
/* タブ */
#content div.tab-list ul {
display: none;
}
.tab-content {
clear: both;
}
/* YouTube */
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}