「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
モバイルビューでのみ表示させるために追加 |
blockquoteに枠を設定、sup・subへのスタイル指定を解除(vector外装本体に同様のコードが追加されたため) |
||
| 2行目: | 2行目: | ||
/* メインページタイトル */ | /* メインページタイトル */ | ||
body.page-メインページ h1.firstHeading {display:none;} | body.page-メインページ h1.firstHeading { display: none; } | ||
/* 印刷不可 */ | /* 印刷不可 */ | ||
@media print{ | @media print { | ||
.printing_none{ display: none !important; } | .printing_none { display: none !important; } | ||
} | } | ||
/* 目次の深さ制限 */ | /* 目次の深さ制限 */ | ||
| 31行目: | 19行目: | ||
/* 目次のセクション番号を表示しない */ | /* 目次のセクション番号を表示しない */ | ||
.notocnumber .tocnumber { display: none; } | .notocnumber .tocnumber { display: none; } | ||
/* 引用 */ | |||
blockquote { | |||
/* .toccolours と同じスタイル */ | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
padding: 5px; | |||
font-size: 95%; | |||
} | |||
/* タブ */ | /* タブ */ | ||
| 80行目: | 77行目: | ||
/* YouTube */ | /* YouTube */ | ||
.video-container { | .video-container { | ||
clear:right; | clear: right; | ||
float:right; | float: right; | ||
} | } | ||
.video-container iframe { | .video-container iframe { | ||
| 94行目: | 91行目: | ||
} | } | ||
/* デスクトップ版で非表示 */ | /* デスクトップ版で非表示 */ | ||
.nodesktop{ | .nodesktop { | ||
display:none; | display: none; | ||
} | } | ||
2016年1月18日 (月) 18:50時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* メインページタイトル */
body.page-メインページ h1.firstHeading { display: none; }
/* 印刷不可 */
@media print {
.printing_none { display: none !important; }
}
/* 目次の深さ制限 */
.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; }
/* 目次のセクション番号を表示しない */
.notocnumber .tocnumber { display: none; }
/* 引用 */
blockquote {
/* .toccolours と同じスタイル */
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
font-size: 95%;
}
/* タブ */
.tab-list {
float: left;
width: 100%;
border-bottom: 1px solid #c0c0c0;
}
.tab-list ul {
float: left;
margin-left: 4px;
border-top: 1px solid #c0c0c0;
border-left: 1px solid #c0c0c0;
cursor: pointer;
}
.tab-list li {
float: left;
position: relative;
list-style: none;
bottom: -1px;
margin: -1px 0 0 0;
padding: 0.15em 0.75em;
background-color: #f3f3f3;
border-right: 1px solid #c0c0c0;
border-bottom-width: 0;
border-bottom: 1px solid #c0c0c0;
}
/* .hlistによるcontent指定を無効化 */
#content .hlist .tab-list li:before { content: none; }
.tab-list li.current-tab {
background-color: #fff;
border-bottom: 1px solid #fff;
}
.tab-list li:hover {
text-decoration: underline;
}
.tab-list li.current-tab:hover {
text-decoration: none;
}
.tab-content {
clear: both;
}
/* ライブプレビューですべて展開されてしまう折り畳みボックスを非表示 */
.ns-0 .wikiEditor-ui-view-preview .collapsible-navbox[data-collapse="autocollapse"] tr + tr {
display: none;
}
/* YouTube */
.video-container {
clear: right;
float: right;
}
.video-container iframe {
width: 300px;
height: 200px;
}
/* Edittools */
.mw-editTools a {
margin-left: 1ex;
white-space: nowrap;
}
/* デスクトップ版で非表示 */
.nodesktop {
display: none;
}