|
|
(4人の利用者による、間の32版が非表示) |
1行目: |
1行目: |
| /* ここに記述したCSSはすべての外装に反映されます */ | | /* <nowiki> ここに記述したCSSはすべての外装に反映されます */ |
| #bodyContent {
| |
| font-size: 94.4%;
| |
| }
| |
| /*メインページタイトル*/
| |
| body.page-メインページ h1.firstHeading {display:none;}
| |
|
| |
|
| /*印刷不可*/ | | /* メインページタイトル */ |
| @media print{
| | body.page-メインページ h1.firstHeading { |
| .printing_none{ display: none !important; }
| | display: none; |
| } | | } |
|
| |
|
| /*[[テンプレート:要出典]]*/ | | /* [注釈 1]などで改行されないようにする */ |
| @media screen {
| | sup.reference a { |
| .fix-domain { border-bottom: dashed 1px; }
| | 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; } |
| .ruby .rb { | | .toclimit-7 .toclevel-7 { display: none; } |
| display: table-row-group;
| |
| text-align: center;
| |
| } | |
| .ruby .rp { | |
| display: table-row-group;
| |
| font-size: 0;
| |
| line-height: 0;
| |
| } | |
| .ruby .rt { | |
| display: table-header-group;
| |
| line-height: 100%;
| |
| font-size: 0.7em;
| |
| text-align: center;
| |
| } | |
|
| |
|
| /*メッセージボックス*/ | | /* 目次のセクション番号を表示しない */ |
| .ambox { | | .notocnumber .tocnumber { display: none; } |
| width: 80%;
| |
| margin: 0 10%;
| |
| padding: 0;
| |
| border: 1px solid #aaa;
| |
| border-collapse: collapse;
| |
| }
| |
| .ambox + .ambox {
| |
| margin-top: -1px;
| |
| }
| |
| .ambox .mbox-image {
| |
| padding: 0;
| |
| text-align: center;
| |
| }
| |
| .ambox .mbox-text { | |
| padding: 0.25em 0.5em;
| |
| width: 100%;
| |
| vertical-align: middle;
| |
| } | |
|
| |
|
| /*情報ボックス*/ | | /* 引用 */ |
| .infobox-title { | | blockquote { |
| background-color: #999;
| | /* .toccolours と同じスタイル */ |
| color: #fff;
| | border: 1px solid #aaa; |
| | background-color: #f9f9f9; |
| | padding: 5px; |
| | font-size: 95%; |
| } | | } |
|
| |
|
| /*折り畳みボックス*/ | | /* [[テンプレート:メッセージボックス]] */ |
| #bodyContent .collapsible {
| | /* モバイル用スタイルを上書き */ |
| border-spacing: 0 2px;
| | .message-box { |
| width: 100%;
| | display: table; |
| | width: 80% !important; |
| | margin: 0 10% !important; |
| | padding: 0; |
| | border: 1px solid #aaa; |
| | border-collapse: collapse; |
| } | | } |
| .collapsible-navbox { | | .message-box + .message-box { |
| clear: both;
| | margin-top: -1px; |
| border: 1px solid #aaa;
| |
| padding: 1px 3px;
| |
| font-size: 90%;
| |
| } | | } |
| .collapsible-navbox + .collapsible-navbox { | | .message-box .message-box-image { |
| margin-top: -1px;
| | display: table-cell !important; |
| | padding: 0; |
| | text-align: center; |
| | vertical-align: middle; |
| } | | } |
| .collapsible-child { | | .message-box .message-box-text { |
| margin: -2px 0;
| | display: table-cell; |
| }
| | padding: 0.25em 0.5em; |
| .navbox-title, | | width: 100%; |
| .navbox-group {
| | vertical-align: middle; |
| text-align: center;
| | font-size: inherit !important; |
| font-weight: bold;
| |
| background-color: #ddd;
| |
| color: #333;
| |
| }
| |
| .navbox-title a, | |
| .navbox-group a {
| |
| color: inherit;
| |
| }
| |
| .collapseButton {
| |
| float: right;
| |
| margin-right: 0.2em;
| |
| font-weight: normal;
| |
| text-align: right;
| |
| }
| |
| .navbox-group {
| |
| padding: 1px 10px;
| |
| white-space: nowrap;
| |
| }
| |
| .navbox-list p {
| |
| margin: 0;
| |
| } | | } |
|
| |
|
| /*横リスト用CSS*/ | | /* [[テンプレート:タブ]] */ |
| .hlist dl, | | .tab-list { |
| .hlist ol,
| | float: left; |
| .hlist ul {
| | width: 100%; |
| display: inline;
| | border-bottom: 1px solid #c0c0c0; |
| margin: 0;
| |
| padding: 0;
| |
| } | | } |
| .hlist dd, | | .tab-list ul { |
| .hlist dt,
| | float: left; |
| .hlist li {
| | margin-left: 4px; |
| margin: 0;
| | border-top: 1px solid #c0c0c0; |
| display: inline;
| | border-left: 1px solid #c0c0c0; |
| /*white-space: nowrap;*/
| | cursor: pointer; |
| } | | } |
| .hlist dt:before, | | .tab-list li { |
| .hlist li:before { | | float: left; |
| content: '・ ';
| | position: relative; |
| font-weight: normal;
| | 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-pipe dt:before, | | /* .hlistによるcontent指定を無効化 */ |
| .hlist-pipe li:before { | | #content .hlist .tab-list li:before { content: none; } |
| content: '| ';
| | .tab-list li.current-tab { |
| | background-color: #fff; |
| | border-bottom: 1px solid #fff; |
| } | | } |
| .hlist dl:first-child dt:first-child:before, | | .tab-list li:hover { |
| .hlist li:first-child:before {
| | text-decoration: underline; |
| content: none;
| |
| } | | } |
| .hlist dd + dt:before { | | .tab-list li.current-tab:hover { |
| display: block;
| | text-decoration: none; |
| content: ' ';
| |
| } | | } |
| .hlist dt:after { | | .tab-content { |
| content: ':';
| | clear: both; |
| } | | } |
| /*入れ子*/ | | |
| .hlist li ul, | | /* ライブプレビューですべて展開されてしまう折り畳みボックスを非表示 */ |
| .hlist li ol { | | .ns-0 .wikiEditor-ui-view-preview .collapsible-navbox[data-collapse="autocollapse"] tr + tr { |
| font-size: 90%;
| | display: none; |
| } | | } |
| .hlist li ul:before,
| | |
| .hlist li ol:before { | | /* [[Widget:YouTube]] */ |
| content: '(';
| | .video-container { |
| | clear: right; |
| | float: right; |
| } | | } |
| .hlist li ul:after, | | .video-container iframe { |
| .hlist li ol:after {
| | width: 300px; |
| content: ')';
| | height: 200px; |
| } | | } |
| /*数字付きリスト*/ | | |
| .hlist ol { | | /* Edittools */ |
| counter-reset: hlist-item;
| | .mw-editTools a { |
| | margin-left: 1ex; |
| | white-space: nowrap; |
| } | | } |
| .hlist ol > li { | | |
| counter-increment: hlist-item;
| | /* デスクトップ版で非表示 */ |
| | .nodesktop { |
| | display: none; |
| } | | } |
| .hlist ol > li:before { | | |
| content: "・ " counter(hlist-item) ". "; | | /* 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; |
| } | | } |
| .hlist-pipe ol > li:before {
| |
| content: "| " counter(hlist-item) ". ";
| |
| }
| |
| .hlist ol > li:first-child:before {
| |
| content: counter(hlist-item) ". ";
| |
| }
| |
| /*ここまで、横リスト用CSS*/
| |
|
| |
|
| /*セットリスト用CSS*/ | | /* 特定場所での改行を防ぐ: |
| .setlist {
| | 1) 個別に指定した場所 |
| counter-reset: setlist-item;
| | 2) リンク途中 |
| }
| | 3) そのページ自身へのリンク(太字部分) |
| .setlist ol, .setlist p {
| | 4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */ |
| margin: 0;
| | .nowrap, |
| padding: 0;
| | .nowraplinks a, |
| }
| | .nowraplinks .selflink, |
| .setlist li {
| | sup.reference a { |
| margin-left: 2.5em;
| | white-space: nowrap; |
| list-style-type: none;
| |
| counter-increment: setlist-item;
| |
| }
| |
| .setlist li:before {
| |
| display: block;
| |
| float: left;
| |
| content: "M" counters(setlist-item, "", decimal-leading-zero) ".";
| |
| margin-left: -2.5em;
| |
| }
| |
| .encore li:before { | |
| content: "EN" counters(setlist-item, "") ".";
| |
| } | | } |
| .with-overture { | | /* 以下のクラスを指定した場所では解除する: */ |
| counter-reset: setlist-item -1;
| | .wrap, |
| | .wraplinks a { |
| | white-space: normal; |
| } | | } |
| /*ここまで、セットリスト用CSS*/
| |
|
| |
| /*チームカラー背景CSS*/
| |
| .bgcolor { background-color: #555; }
| |
| .bgcolor, .bgcolor a { color: #fff; }
| |
|
| |
| .bgcolor-AKB48, .bgcolor-AKB { background-color: #fc60aa; }
| |
| .bgcolor-チームA, .bgcolor-A { background-color: #f576a3; }
| |
| .bgcolor-チームK, .bgcolor-K { background-color: #77b800; }
| |
| .bgcolor-チームB, .bgcolor-B { background-color: #34b6e4; }
| |
| .bgcolor-チーム4, .bgcolor-4 { background-color: #fcd116; }
| |
| .bgcolor-研究生, .bgcolor-研 { background-color: #ff0000; }
| |
|
| |
| .bgcolor-SKE48, .bgcolor-SKE,
| |
| .bgcolor-チームS, .bgcolor-S { background-color: #f8b600; }
| |
| .bgcolor-チームKII, .bgcolor-KII { background-color: #e70142; }
| |
| .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; }
| |
| .bgcolor-チームN, .bgcolor-N { background-color: #f0c018; }
| |
| .bgcolor-チームM, .bgcolor-M { background-color: #d04088; }
| |
| .bgcolor-チームBII, .bgcolor-BII { background-color: #169ece; }
| |
| .bgcolor-NMB48研究生, .bgcolor-N研 { background-color: #c781bf; }
| |
|
| |
| .bgcolor-HKT48, .bgcolor-HKT { background-color: #000000; }
| |
| .bgcolor-チームH, .bgcolor-H { background-color: #000000; }
| |
| .bgcolor-HKT48研究生, .bgcolor-H研 { background-color: #3f3f3f; }
| |
|
| |
| .bgcolor-JKT48, .bgcolor-JKT { background-color: #e70012; }
| |
| .bgcolor-チームJ, .bgcolor-J { background-color: #e70012; }
| |
| .bgcolor-チームKIII, .bgcolor-KIII { background-color: #bd000e; }
| |
| .bgcolor-JKT48研究生, .bgcolor-J研 { background-color: #93000b; }
| |
|
| |
| .bgcolor-SNH48, .bgcolor-SNH { background-color: #8fd3f6; }
| |
| .bgcolor-チームSII, .bgcolor-SII { background-color: #9ed9f7; }
| |
| .bgcolor-チームNII, .bgcolor-NII { background-color: #ae86ba; }
| |
| .bgcolor-SNH48研究生, .bgcolor-SNH研 { background-color: #68c2f2; }
| |
|
| |
| .bgcolor-乃木坂46, .bgcolor-乃木坂 { background-color: #7e0f85; }
| |
| .bgcolor-乃木坂46研究生, .bgcolor-乃研 { background-color: #5b0b60; }
| |
|
| |
| .bgcolor-SDN48, .bgcolor-SDN { background-color: #bfbfbf; }
| |
| /*ここまで、チームカラー背景CSS*/
| |