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

編集の要約なし
({{ルビ}}用CSS)
編集の要約なし
 
(4人の利用者による、間の47版が非表示)
1行目: 1行目:
/* ここに記述したCSSはすべての外装に反映されます */
/* <nowiki> ここに記述したCSSはすべての外装に反映されます */
#bodyContent {
 
font-size: 94.4%;
/* メインページタイトル */
body.page-メインページ h1.firstHeading {
display: none;
}
 
/* [注釈 1]などで改行されないようにする */
sup.reference a {
white-space: nowrap;
font-weight: normal;
}
}
/*メインページタイトル*/
body.page-メインページ h1.firstHeading {display:none;}


/*印刷不可*/
/* 目次の深さ制限 */
@media print{
.toclimit-2 .toclevel-2 { display: none; }
  .printing_none{ display: none !important; }
.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%;
}
}


/*ルビ*/
/* [[テンプレート:メッセージボックス]] */
.ruby {
/* モバイル用スタイルを上書き */
  display: inline-table;
.message-box {
  vertical-align: bottom;
display: table;
  white-space: nowrap;
width: 80% !important;
margin: 0 10% !important;
padding: 0;
border: 1px solid #aaa;
border-collapse: collapse;
}
}
.ruby .rb {
.message-box + .message-box {
  display: table-row-group;
margin-top: -1px;
  text-align: center;
}
}
.ruby .rp { display: none; }
.message-box .message-box-image {
.ruby .rt {
display: table-cell !important;
  display: table-header-group;
padding: 0;
  line-height: 100%;
text-align: center;
  font-size: 0.7em;
vertical-align: middle;
  text-align: center;
}
.message-box .message-box-text {
display: table-cell;
padding: 0.25em 0.5em;
width: 100%;
vertical-align: middle;
font-size: inherit !important;
}
}


/*ページ・ナビゲーションの折り畳みボタン*/
/* [[テンプレート:タブ]] */
.navigation-box .mw-collapsible-toggle { font-weight: normal; }
.tab-list {
.navigation-box .mw-collapsible-toggle > a { color: inherit; }
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;
}
 
/* [[Widget:YouTube]] */
.video-container {
clear: right;
float: right;
}
.video-container iframe {
width: 300px;
height: 200px;
}


/*セットリスト用CSS*/
/* Edittools */
.setlist {
.mw-editTools a {
  counter-reset: setlist-item;
margin-left: 1ex;
white-space: nowrap;
}
}
.setlist ol, .setlist p {
 
  margin: 0;
/* デスクトップ版で非表示 */
  padding: 0;
.nodesktop {
display: none;
}
}
.setlist li {
 
  list-style-type: none;
/* Display nested lists inline and allow them to wrap */
  counter-increment: setlist-item;
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
}
.setlist li:before {
 
  content: "M" counters(setlist-item, "", decimal-leading-zero) ":";
/* 特定場所での改行を防ぐ:
  margin-right: 0.3em;
  1) 個別に指定した場所
  2) リンク途中
  3) そのページ自身へのリンク(太字部分)
  4) グループ名付きの ref タグ <ref group=""> --> "[注 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
}
.setlist.encore li:before {
/* 以下のクラスを指定した場所では解除する: */
  content: "EN" counters(setlist-item, "") ":";
.wrap,
.wraplinks a {
    white-space: normal;
}
}
/*ここまで、セットリスト用CSS*/
9,577

回編集