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

提供:エケペディア
ナビゲーションに移動 検索に移動
(NMB48のヒョウ柄背景を導入)
編集の要約なし
 
(4人の利用者による、間の39版が非表示)
1行目: 1行目:
/* ここに記述したCSSはすべての外装に反映されます */
/* <nowiki> ここに記述したCSSはすべての外装に反映されます */
#bodyContent {
 
font-size: 94.4%;
/* メインページタイトル */
body.page-メインページ h1.firstHeading {
display: none;
}
}
/*メインページタイトル*/
body.page-メインページ h1.firstHeading {display:none;}


/*印刷不可*/
/* [注釈 1]などで改行されないようにする */
@media print{
sup.reference a {
  .printing_none{ display: none !important; }
white-space: nowrap;
font-weight: normal;
}
}


/*ルビ*/
/* 目次の深さ制限 */
.ruby {
.toclimit-2 .toclevel-2 { display: none; }
  display: inline-table;
.toclimit-3 .toclevel-3 { display: none; }
  vertical-align: bottom;
.toclimit-4 .toclevel-4 { display: none; }
  white-space: nowrap;
.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 .rb {
 
  display: table-row-group;
/* [[テンプレート:メッセージボックス]] */
  text-align: center;
/* モバイル用スタイルを上書き */
.message-box {
display: table;
width: 80% !important;
margin: 0 10% !important;
padding: 0;
border: 1px solid #aaa;
border-collapse: collapse;
}
}
.ruby .rp { display: none; }
.message-box + .message-box {
.ruby .rt {
margin-top: -1px;
  display: table-header-group;
  line-height: 100%;
  font-size: 0.7em;
  text-align: center;
}
}
 
.message-box .message-box-image {
/*情報ボックス*/
display: table-cell !important;
.infobox-title {
padding: 0;
  background-color: #999;
text-align: center;
  color: #fff;
vertical-align: middle;
}
}
 
.message-box .message-box-text {
/*折り畳みボックス*/
display: table-cell;
.navbox-title,
padding: 0.25em 0.5em;
.navbox-group {
width: 100%;
    text-align: center;
vertical-align: middle;
    font-weight: bold;
font-size: inherit !important;
    background-color: #ddd;
    color: #333;
}
}


.navbox-title a,
/* [[テンプレート:タブ]] */
.navbox-group a {
.tab-list {
    color: #333;
float: left;
width: 100%;
border-bottom: 1px solid #c0c0c0;
}
}
 
.tab-list ul {
.navbox-title .mw-collapsible-toggle { font-weight: normal; }
float: left;
 
margin-left: 4px;
.navbox-group {
border-top: 1px solid #c0c0c0;
    padding: 1px 10px;
border-left: 1px solid #c0c0c0;
    white-space: nowrap;
cursor: pointer;
}
}
 
.tab-list li {
/*セットリスト用CSS*/
float: left;
.setlist {
position: relative;
  counter-reset: setlist-item;
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;
}
}
.setlist ol, .setlist p {
/* .hlistによるcontent指定を無効化 */
  margin: 0;
#content .hlist .tab-list li:before { content: none; }
  padding: 0;
.tab-list li.current-tab {
background-color: #fff;
border-bottom: 1px solid #fff;
}
}
.setlist li {
.tab-list li:hover {
  list-style-type: none;
text-decoration: underline;
  counter-increment: setlist-item;
}
}
.setlist li:before {
.tab-list li.current-tab:hover {
  content: "M" counters(setlist-item, "", decimal-leading-zero) ".";
text-decoration: none;
  margin-right: 0.3em;
}
}
.encore li:before {
.tab-content {
  content: "EN" counters(setlist-item, "") ".";
clear: both;
}
}
.with-overture {
 
  counter-reset: setlist-item -1;
/* ライブプレビューですべて展開されてしまう折り畳みボックスを非表示 */
.ns-0 .wikiEditor-ui-view-preview .collapsible-navbox[data-collapse="autocollapse"] tr + tr {
display: none;
}
}
/*ここまで、セットリスト用CSS*/


/*チームカラー背景CSS*/
/* [[Widget:YouTube]] */
.bgcolor { background-color: #555; }
.video-container {
.bgcolor, .bgcolor a { color: #fff; }
clear: right;
float: right;
}
.video-container iframe {
width: 300px;
height: 200px;
}


.bgcolor-AKB48, .bgcolor-AKB { background-color: #fc60aa; }
/* Edittools */
.bgcolor-チームA, .bgcolor-A { background-color: #f576a3; }
.mw-editTools a {
.bgcolor-チームK, .bgcolor-K { background-color: #77b800; }
margin-left: 1ex;
.bgcolor-チームB, .bgcolor-B { background-color: #34b6e4; }
white-space: nowrap;
.bgcolor-チーム4, .bgcolor-4 { background-color: #fcd116; }
}
.bgcolor-研究生, .bgcolor-研 { background-color: #ff0000; }


.bgcolor-SKE48, .bgcolor-SKE,
/* デスクトップ版で非表示 */
.bgcolor-チームS, .bgcolor-S { background-color: #f8b600; }
.nodesktop {
.bgcolor-チームKII, .bgcolor-KII { background-color: #e70142; }
display: none;
.bgcolor-チームE, .bgcolor-E { background-color: #016b67; }
}
.bgcolor-SKE48研究生, .bgcolor-S研 { background-color: #5cc4e9; }


.bgcolor-NMB48, .bgcolor-NMB { background: url(/images/a/ae/Leopard.jpg) #219ddd; }
/* Display nested lists inline and allow them to wrap */
.bgcolor-チームN, .bgcolor-N { background-color: #f0c018; }
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.bgcolor-チームM, .bgcolor-M { background-color: #d04088; }
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.bgcolor-チームBII, .bgcolor-BII { background-color: #169ece; }
.hlist ul dl, .hlist ul ol, .hlist ul ul {
.bgcolor-NMB48研究生, .bgcolor-N研 { background-color: #c781bf; }
    display: inline;
    white-space: normal;
}


.bgcolor-HKT48, .bgcolor-HKT { background-color: #000000; }
/* 特定場所での改行を防ぐ:
.bgcolor-チームH, .bgcolor-H { background-color: #000000; }
  1) 個別に指定した場所
.bgcolor-HKT48研究生, .bgcolor-H研 { background-color: #3f3f3f; }
  2) リンク途中
 
  3) そのページ自身へのリンク(太字部分)
.bgcolor-JKT48, .bgcolor-JKT { background-color: #e70012; }
  4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */
.bgcolor-チームJ, .bgcolor-J { background-color: #e70012; }
.nowrap,
.bgcolor-チームKIII, .bgcolor-KIII { background-color: #bd000e; }
.nowraplinks a,
.bgcolor-JKT48研究生, .bgcolor-J研 { background-color: #93000b; }
.nowraplinks .selflink,
 
sup.reference a {
.bgcolor-SNH48, .bgcolor-SNH { background-color: #8fd3f6; }
    white-space: nowrap;
.bgcolor-チームSII, .bgcolor-SII { background-color: #9ed9f7; }
}
.bgcolor-チームNII, .bgcolor-NII { background-color: #ae86ba; }
/* 以下のクラスを指定した場所では解除する: */
.bgcolor-SNH48研究生, .bgcolor-SNH研 { background-color: #68c2f2; }
.wrap,
 
.wraplinks a {
.bgcolor-乃木坂46, .bgcolor-乃木坂 { background-color: #7e0f85; }
    white-space: normal;
.bgcolor-乃木坂46研究生, .bgcolor-乃研 { background-color: #5b0b60; }
}
 
.bgcolor-SDN48, .bgcolor-SDN { background-color: #bfbfbf; }
/*ここまで、チームカラー背景CSS*/

2019年10月16日 (水) 09:47時点における最新版

/* <nowiki> ここに記述したCSSはすべての外装に反映されます */

/* メインページタイトル */
body.page-メインページ h1.firstHeading {
	display: none;
}

/* [注釈 1]などで改行されないようにする */
sup.reference a {
	white-space: nowrap;
	font-weight: normal;
}

/* 目次の深さ制限 */
.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%;
}

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

/* [[テンプレート:タブ]] */
.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;
}

/* [[Widget: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;
}

/* Display nested lists inline and allow them to wrap */
.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;
}

/* 特定場所での改行を防ぐ:
   1) 個別に指定した場所
   2) リンク途中
   3) そのページ自身へのリンク(太字部分)
   4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
/* 以下のクラスを指定した場所では解除する: */
.wrap,
.wraplinks a {
    white-space: normal;
}