|
|
| 1行目: |
1行目: |
| /* ここに書いたCSSはすべての外装に反映されます */
| |
|
| |
|
| /* フォント・ファミリの設定 */
| |
| /* [[MediaWiki‐ノート:Common.css#特定テンプレート用のCSSをTemplateStylesに移行する提案(1回目)]]により非推奨化([[Template:Unicode]]への移行推奨) */
| |
| body {
| |
| font-family: -apple-system, BlinkMacSystem, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
| |
| }
| |
|
| |
| .selector {
| |
| font-feature-settings: "palt";
| |
| }
| |
|
| |
|
| |
| /* make the list of references look smaller */
| |
| ol.references,
| |
| div.reflist {
| |
| font-size: 90%; /* Default font-size */
| |
| }
| |
|
| |
| /* 表が縦に長くなるのを防ぐ */
| |
| .wikitable, .tracklist {
| |
| overflow-wrap: break-word;
| |
| word-wrap: break-word;
| |
| word-break: keep-all;
| |
| }
| |
|
| |
| div.reflist ol.references {
| |
| font-size: 100%; /* Reset font-size when nested in div.reflist */
| |
| list-style-type: inherit; /* Enable custom list style types */
| |
| }
| |
|
| |
| /* Default style for navigation boxes */
| |
| .navbox { /* Navbox container style */
| |
| box-sizing: border-box;
| |
| border: 1px solid #a2a9b1;
| |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| color: #000;
| |
| }
| |
|
| |
| .navbox + .navbox {
| |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| |
| }
| |
|
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
|
| |
| .navbox-title,
| |
| .navbox-abovebelow,
| |
| .navbox th {
| |
| text-align: center; /* Title, group and above/below styles */
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
|
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
|
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background-color: #fdfdfd; /* Background color */
| |
| color: #000;
| |
| }
| |
|
| |
| .navbox-list {
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| color: #202020;
| |
| }
| |
|
| |
| /* cell spacing for navbox cells */
| |
| tr + tr > .navbox-abovebelow,
| |
| tr + tr > .navbox-group,
| |
| tr + tr > .navbox-image,
| |
| tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
| |
| border-top: 2px solid #fdfdfd; /* Must match background color */
| |
| }
| |
|
| |
| .navbox th,
| |
| .navbox-title {
| |
| background-color: #ccccff; /* Level 1 color */
| |
| color: #202020;
| |
| text-align: center;
| |
| }
| |
|
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background-color: #ddddff; /* Level 2 color */
| |
| color: #202020;
| |
| text-align: center;
| |
| }
| |
|
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background-color: #e6e6ff; /* Level 3 color */
| |
| color: #202020;
| |
| text-align: center;
| |
| }
| |
|
| |
| .navbox-even {
| |
| background-color: #f7f7f7; /* Even row striping */
| |
| color: #202020;
| |
| text-align: center;
| |
| }
| |
|
| |
| .navbox-odd {
| |
| background-color: transparent; /* Odd row striping */
| |
| color: #202020;
| |
| text-align: center;
| |
| }
| |
|
| |
| /* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */
| |
| .collapseButton {
| |
| float: right;
| |
| font-weight: normal;
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
|
| |
| /* Styling for jQuery makeCollapsible, matching that of collapseButton */
| |
| .mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| text-align: right;
| |
| padding-right: 0.2em;
| |
| padding-left: 0.2em;
| |
| }
| |
|
| |
| .mw-collapsible-leftside-toggle .mw-collapsible-toggle {
| |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| /* 表組みを折り畳んだ場合、横幅が極端に狭くなることを強引に修正 */
| |
| table.mw-collapsed > caption {
| |
| white-space: nowrap;
| |
| }
| |
|
| |
| /* Style for horizontal lists (separator following item).
| |
| @source mediawiki.org/wiki/Snippets/Horizontal_lists
| |
| @revision 9 (2016-08-10)
| |
| @author [[User:Edokter]]
| |
| */
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| /* Display list items inline */
| |
| .hlist dd,
| |
| .hlist dt,
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| }
| |
|
| |
| /* Display nested lists inline */
| |
| .hlist.inline,
| |
| .hlist.inline dl,
| |
| .hlist.inline ol,
| |
| .hlist.inline ul,
| |
| .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;
| |
| }
| |
|
| |
| /* Hide empty list items */
| |
| .hlist .mw-empty-li,
| |
| .hlist .mw-empty-elt {
| |
| display: none;
| |
| }
| |
|
| |
| /* Generate interpuncts */
| |
| .hlist dt:after {
| |
| content: ": ";
| |
| }
| |
|
| |
| .hlist dd:after,
| |
| .hlist li:after {
| |
| content: " · ";
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
| |
| .hlist-pipe dd:after,
| |
| .hlist-pipe li:after {
| |
| content: " | ";
| |
| font-weight: normal;
| |
| }
| |
|
| |
| .hlist-hyphen dd:after,
| |
| .hlist-hyphen li:after {
| |
| content: " - ";
| |
| font-weight: normal;
| |
| }
| |
|
| |
| .hlist-comma dd:after,
| |
| .hlist-comma li:after {
| |
| content: "、 ";
| |
| font-weight: normal;
| |
| }
| |
| .hlist-slash dd:after,
| |
| .hlist-slash li:after {
| |
| content: " / ";
| |
| font-weight: normal;
| |
| }
| |
|
| |
| .hlist dd:last-child:after,
| |
| .hlist dt:last-child:after,
| |
| .hlist li:last-child:after {
| |
| content: none;
| |
| }
| |
|
| |
| /* Add parentheses around nested lists */
| |
| .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
| |
| .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
| |
| .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
| |
| content: " (";
| |
| font-weight: normal;
| |
| }
| |
|
| |
| .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
| |
| .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
| |
| .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
| |
| content: ")";
| |
| font-weight: normal;
| |
| }
| |
|
| |
| /* Put ordinals in front of ordered list items */
| |
| .hlist ol {
| |
| counter-reset: listitem;
| |
| }
| |
|
| |
| .hlist ol > li {
| |
| counter-increment: listitem;
| |
| }
| |
|
| |
| .hlist ol > li:before {
| |
| content: " " counter(listitem) ".\a0";
| |
| }
| |
|
| |
| .hlist dd ol > li:first-child:before,
| |
| .hlist dt ol > li:first-child:before,
| |
| .hlist li ol > li:first-child:before {
| |
| content: " (" counter(listitem) "\a0";
| |
| }
| |
|
| |
| /* Avoid elements from breaking between columns */
| |
| li, dd {
| |
| -webkit-column-break-inside: avoid;
| |
| page-break-inside: avoid;
| |
| break-inside: avoid-column;
| |
| }
| |
|
| |
| dt {
| |
| -webkit-column-break-after: avoid;
| |
| page-break-after: avoid;
| |
| break-after: avoid-column;
| |
| }
| |
|
| |
| dd {
| |
| -webkit-column-break-before: avoid;
| |
| page-break-before: avoid;
| |
| break-before: avoid-column;
| |
| }
| |
|
| |
| /* Merge template style */
| |
| .messagebox {
| |
| border: 1px solid #a2a9b1;
| |
| background-color: #f8f9fa;
| |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: 0.2em;
| |
| text-align: justify;
| |
| }
| |
|
| |
| .infobox {
| |
| border: 1px solid #a2a9b1;
| |
| background-color: #f8f9fa;
| |
| color: black;
| |
| margin: 0.5em 0 0.5em 1em;
| |
| padding: 0.2em;
| |
| float: right;
| |
| clear: right;
| |
| text-align: left;
| |
| font-size: 88%;
| |
| line-height: 1.5em;
| |
| }
| |
|
| |
| .infobox caption {
| |
| margin-top: 0.5em;
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| }
| |
|
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
|
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| }
| |
|
| |
| /* styles for bordered infobox with merged rows */
| |
| .infobox.bordered .mergedtoprow td,
| |
| .infobox.bordered .mergedtoprow th {
| |
| border: 0;
| |
| border-top: 1px solid #a2a9b1;
| |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| .infobox.bordered .mergedrow td,
| |
| .infobox.bordered .mergedrow th {
| |
| border: 0;
| |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| /* Styles for geography infoboxes, eg countries,
| |
| country subdivisions, cities, etc. */
| |
| .infobox.geography {
| |
| border-collapse: collapse;
| |
| line-height: 1.6em;
| |
| font-size: 88%;
| |
| }
| |
|
| |
| .infobox.geography td,
| |
| .infobox.geography th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedrow td,
| |
| .infobox.geography .mergedrow th {
| |
| border: 0;
| |
| padding: 0 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedbottomrow td,
| |
| .infobox.geography .mergedbottomrow th {
| |
| border-top: 0;
| |
| border-bottom: 1px solid #a2a9b1;
| |
| padding: 0 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .maptable td,
| |
| .infobox.geography .maptable th {
| |
| border: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| /* NavFrame関係。[[MediaWiki:Monobook.css]]も参照 */
| |
| div.NavFrame {
| |
| margin: 0px;
| |
| padding: 2px;
| |
| border: 1px solid #a2a9b1;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
|
| |
| div.NavFrame div.NavHead {
| |
| height: 1.6em;
| |
| font-weight: bold;
| |
| font-size: 100%;
| |
| background-color: #efefef;
| |
| position: relative;
| |
| text-align: center;
| |
| }
| |
|
| |
| div.NavFrame p {
| |
| font-size: 100%;
| |
| }
| |
|
| |
| div.NavFrame div.NavContent {
| |
| font-size: 100%;
| |
| }
| |
|
| |
| div.NavFrame div.NavContent p {
| |
| font-size: 100%;
| |
| }
| |
|
| |
| a.NavToggle {
| |
| position: absolute;
| |
| top: 0px;
| |
| right: 3px;
| |
| font-weight: normal;
| |
| }
| |
|
| |
| /* System messages styled similarly to fmbox */
| |
| div.mw-warning-with-logexcerpt,
| |
| div.mw-lag-warn-high,
| |
| div.mw-cascadeprotectedwarning,
| |
| div#mw-protect-cascadeon,
| |
| div.titleblacklist-warning {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #bb7070;
| |
| background-color: #ffdbdb;
| |
| padding: 0.25em 0.9em;
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| /* 脚注ジャンプ先強調 */
| |
| .citation:target {
| |
| background-color: #eaf3ff;
| |
| }
| |
|
| |
| /* 特定場所での改行を防ぐ:
| |
| 1) 個別に指定した場所
| |
| 2) リンク途中
| |
| 3) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */
| |
| .nowrap,
| |
| .nowraplinks a,
| |
| sup.reference a {
| |
| white-space: nowrap;
| |
| }
| |
|
| |
| /* 以下のクラスを指定した場所では解除する: */
| |
| .wrap,
| |
| .wraplinks a {
| |
| white-space: normal;
| |
| }
| |
|
| |
| /*
| |
| * カテゴリページのリスト部にフロート指定のブロックを入れない。
| |
| * 2009-01-24 by [[User:mizusumashi]]
| |
| */
| |
| #mw-subcategories, #mw-pages, #mw-category-media {
| |
| clear: both;
| |
| }
| |
|
| |
| /* Don't display page title on the main page */
| |
| .page-メインページ #deleteconfirm,
| |
| .page-メインページ #t-cite,
| |
| .page-メインページ #footer-info-lastmod,
| |
| .action-view.page-メインページ #siteSub,
| |
| .action-view.page-メインページ .subtitle,
| |
| .action-view.page-メインページ .firstHeading,
| |
| .action-view.page-メインページ #contentSub,
| |
| .action-view.page-メインページ #contentSub2 {
| |
| display: none;
| |
| }
| |
|
| |
| /* Unbulleted lists */
| |
| .plainlist ol,
| |
| .plainlist ul {
| |
| line-height: inherit;
| |
| list-style: none;
| |
| margin: 0;
| |
| }
| |
|
| |
| .plainlist ol li,
| |
| .plainlist ul li {
| |
| margin-bottom: 0;
| |
| }
| |
|
| |
| /* [[Template:Math]]用のtexhtmlクラス。(2021-05-24更新)
| |
| texhtml class for inline math (based on generic times-serif class) */
| |
| span.texhtml {
| |
| font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
| |
| font-size: 108%;
| |
| line-height: 1;
| |
| white-space: nowrap;
| |
| /* Force tabular and lining display for texhtml */
| |
| -webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| font-variant-numeric: lining-nums tabular-nums;
| |
| font-kerning: none;
| |
| }
| |
|
| |
| span.texhtml span.texhtml {
| |
| font-size: 100%;
| |
| }
| |
|
| |
| span.mwe-math-mathml-inline {
| |
| font-size: 108%;
| |
| }
| |
|
| |
| /* Make <math display="block"> be left aligned with one space indent for
| |
| * compatibility with style conventions
| |
| */
| |
| .mwe-math-fallback-image-display,
| |
| .mwe-math-mathml-display {
| |
| margin-left: 1.6em !important;
| |
| margin-top: 0.6em;
| |
| margin-bottom: 0.6em;
| |
| }
| |
|
| |
| .mwe-math-mathml-display math {
| |
| display: inline;
| |
| }
| |
|
| |
| /* 日本語版追加分 */
| |
| span.texhtml sup {
| |
| vertical-align: 1.0ex;
| |
| font-size: 75%;
| |
| }
| |
|
| |
| span.texhtml sub {
| |
| vertical-align: -0.5ex;
| |
| font-size: 75%;
| |
| }
| |
|
| |
| /* MediaWiki:Common.js - modifyEditsection
| |
| 拡張節編集リンク内の分割線をビジュアルエディター無効でも表示する */
| |
| .ve-not-available .editsection-extensions .mw-editsection-divider {
| |
| display: inline;
| |
| }
| |
|
| |
| /* 履歴や本文で長い文字列を折り返せない問題の解消 */
| |
| #bodyContent {
| |
| word-wrap: break-word;
| |
| overflow-wrap: break-word;
| |
| }
| |
|
| |
| /* Hide broken download box on [[Special:Book]] pending [[phab:T285400]] */
| |
| .mw-special-Book #coll-downloadbox {
| |
| display: none;
| |
| }
| |
|
| |
| /* T156351: Support for Parsoid's Cite implementation */
| |
| span[rel="mw:referencedBy"]::before {
| |
| content: "^ ";
| |
| }
| |
| a[rel="mw:referencedBy"]::before {
| |
| font-weight: bold;
| |
| content: "^";
| |
| }
| |
| span[ rel="mw:referencedBy" ] {
| |
| counter-reset: mw-ref-linkback 0;
| |
| }
| |
| span[ rel="mw:referencedBy" ] > a::before {
| |
| font-weight: bold;
| |
| font-style: italic;
| |
| content: counter( mw-ref-linkback, lower-alpha );
| |
| }
| |
| .mw-ref > a[data-mw-group=lower-roman]::after {
| |
| content: '[' counter( mw-Ref, lower-roman ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=upper-roman]::after {
| |
| content: '[' counter( mw-Ref, upper-roman ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=decimal]::after {
| |
| content: '[' counter( mw-Ref, decimal ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=lower-greek]::after {
| |
| content: '[' counter( mw-Ref, lower-greek ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=upper-alpha]::after {
| |
| content: '[' counter( mw-Ref, upper-alpha ) ']';
| |
| }
| |
| .mw-ref > a[data-mw-group=lower-alpha]::after {
| |
| content: '[' counter( mw-Ref, lower-alpha ) ']';
| |
| }
| |
|
| |
| /* Hide stuff meant for accounts with special permissions. Made visible again in
| |
| [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
| |
| [[MediaWiki:Group-extendedconfirmed.css]], [[MediaWiki:Group-autoconfirmed.css]], and [[MediaWiki:Group-user.css]]. */
| |
| .checkuser-show,
| |
| .sysop-show,
| |
| .abusefilter-show,
| |
| .extendedconfirmed-show,
| |
| .autoconfirmed-show,
| |
| .user-show {
| |
| display: none;
| |
| }
| |
|
| |
| .wikitable, .tracklist {
| |
| white-space:nowrap;
| |
| }
| |
|
| |
| #ca-talk { display:none!important; } /*議論タブを消す*/
| |
| #ca-history { display:none!important; } /*履歴表示タブを消す*/
| |
| #ca-viewsource { display:none!important; } /*ソース表示タブを消す*/
| |
| #footer { display: none; }
| |
| #footer-places { display: none; }
| |
| #footer-info-lastmod { display: none; }
| |
|
| |
|
| |
| /* All CSS here will be loaded for users of the Citizen skin */
| |
|
| |
| :root {
| |
| --width-layout: 100vw; /* Slightly wider content */
| |
| }
| |
|
| |
| @media all and (max-width: 480px) {
| |
| .portable-infobox {
| |
| width: 100% !important;
| |
| font-size: 90% !important;
| |
| }
| |
| .portable-infobox .pi-title {
| |
| background-color: #ff9800 !important;
| |
| font-size: 110% !Important;
| |
| text-align: center !Important;
| |
| color: #000000;
| |
| }
| |
| .portable-infobox .pi-header {
| |
| text-align: center !Important;
| |
| font-size: 105% !Important;
| |
| }
| |
| .portable-infobox .pi-data-label {
| |
| text-align: left;
| |
| }
| |
| :root {
| |
| font-size: 90%;
| |
| }
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| /* Display list items inline */
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| }
| |
| /* reset hlist margins of Minerva
| |
| do not add li here (see T235416) */
| |
| .hlist dd,
| |
| .hlist dt {
| |
| margin-right: 0 !important;
| |
| display: inline;
| |
| }
| |
| /* Display nested lists inline */
| |
| .hlist.inline,
| |
| .hlist.inline dl,
| |
| .hlist.inline ol,
| |
| .hlist.inline ul,
| |
| .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;
| |
| }
| |
| /* Hide empty list items */
| |
| .hlist .mw-empty-li,
| |
| .hlist .mw-empty-elt {
| |
| display: none;
| |
| }
| |
| /* Generate interpuncts */
| |
| #bodyContent .hlist dt:after {
| |
| content: ":";
| |
| }
| |
| #bodyContent .hlist dd:after,
| |
| #bodyContent .hlist li:after {
| |
| content: " ·";
| |
| font-weight: bold;
| |
| }
| |
| #bodyContent .hlist dd:last-child:after,
| |
| #bodyContent .hlist dt:last-child:after,
| |
| #bodyContent .hlist li:last-child:after {
| |
| content: none !important;
| |
| }
| |
| /* Add parentheses around nested lists */
| |
| #bodyContent .hlist dd dd:first-child:before, #bodyContent .hlist dd dt:first-child:before, #bodyContent .hlist dd li:first-child:before,
| |
| #bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before,
| |
| #bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before {
| |
| content: "(" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .hlist dd li:last-child:after,
| |
| #bodyContent .hlist dt dd:last-child:after, #bodyContent .hlist dt dt:last-child:after, #bodyContent .hlist dt li:last-child:after,
| |
| #bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after {
| |
| content: ")" !important;
| |
| font-weight: normal;
| |
| }
| |
| /* Put ordinals in front of ordered list items */
| |
| #bodyContent .hlist ol {
| |
| counter-reset: listitem;
| |
| }
| |
| #bodyContent .hlist ol > li {
| |
| counter-increment: listitem;
| |
| }
| |
| #bodyContent .hlist ol > li:before {
| |
| content: " " counter(listitem) ".\a0";
| |
| }
| |
| #bodyContent .hlist dd ol > li:first-child:before,
| |
| #bodyContent .hlist dt ol > li:first-child:before,
| |
| #bodyContent .hlist li ol > li:first-child:before {
| |
| content: " (" counter(listitem) "\a0";
| |
| }
| |
| /* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
| |
| #bodyContent .hlist-pipe dd:after,
| |
| #bodyContent .hlist-pipe li:after {
| |
| content: " |" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-hyphen dd:after,
| |
| #bodyContent .hlist-hyphen li:after {
| |
| content: " -" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-comma dd:after,
| |
| #bodyContent .hlist-comma li:after {
| |
| content: "、" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-slash dd:after,
| |
| #bodyContent .hlist-slash li:after {
| |
| content: " /" !important;
| |
| font-weight: normal;
| |
| }
| |
| /* Unbulleted lists */
| |
| .plainlist ol,
| |
| .plainlist ul {
| |
| list-style: none none;
| |
| padding-left: 0; /* Reset Minerva defaults */
| |
| }
| |
| .plainlist ol li,
| |
| .plainlist ul li {
| |
| margin-bottom: 0;
| |
| }
| |
| }
| |
|
| |
| @media all and (min-width: 480px) and (max-width: 769px) {
| |
| .portable-infobox {
| |
| width: 80% !important;
| |
| font-size: 70% !important;
| |
| }
| |
| .portable-infobox .pi-title {
| |
| background-color: #ff9800 !important;
| |
| font-size: 110% !Important;
| |
| text-align: center !Important;
| |
| color: #000000;
| |
| }
| |
| .portable-infobox .pi-header {
| |
| text-align: center !Important;
| |
| font-size: 105% !Important;
| |
| }
| |
| .portable-infobox .pi-data-label {
| |
| text-align: left;
| |
| }
| |
| :root {
| |
| font-size: 90%;
| |
| }
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| /* Display list items inline */
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| }
| |
| /* reset hlist margins of Minerva
| |
| do not add li here (see T235416) */
| |
| .hlist dd,
| |
| .hlist dt {
| |
| margin-right: 0 !important;
| |
| display: inline;
| |
| }
| |
| /* Display nested lists inline */
| |
| .hlist.inline,
| |
| .hlist.inline dl,
| |
| .hlist.inline ol,
| |
| .hlist.inline ul,
| |
| .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;
| |
| }
| |
| /* Hide empty list items */
| |
| .hlist .mw-empty-li,
| |
| .hlist .mw-empty-elt {
| |
| display: none;
| |
| }
| |
| /* Generate interpuncts */
| |
| #bodyContent .hlist dt:after {
| |
| content: ":";
| |
| }
| |
| #bodyContent .hlist dd:after,
| |
| #bodyContent .hlist li:after {
| |
| content: " ·";
| |
| font-weight: bold;
| |
| }
| |
| #bodyContent .hlist dd:last-child:after,
| |
| #bodyContent .hlist dt:last-child:after,
| |
| #bodyContent .hlist li:last-child:after {
| |
| content: none !important;
| |
| }
| |
| /* Add parentheses around nested lists */
| |
| #bodyContent .hlist dd dd:first-child:before, #bodyContent .hlist dd dt:first-child:before, #bodyContent .hlist dd li:first-child:before,
| |
| #bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before,
| |
| #bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before {
| |
| content: "(" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .hlist dd li:last-child:after,
| |
| #bodyContent .hlist dt dd:last-child:after, #bodyContent .hlist dt dt:last-child:after, #bodyContent .hlist dt li:last-child:after,
| |
| #bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after {
| |
| content: ")" !important;
| |
| font-weight: normal;
| |
| }
| |
| /* Put ordinals in front of ordered list items */
| |
| #bodyContent .hlist ol {
| |
| counter-reset: listitem;
| |
| }
| |
| #bodyContent .hlist ol > li {
| |
| counter-increment: listitem;
| |
| }
| |
| #bodyContent .hlist ol > li:before {
| |
| content: " " counter(listitem) ".\a0";
| |
| }
| |
| #bodyContent .hlist dd ol > li:first-child:before,
| |
| #bodyContent .hlist dt ol > li:first-child:before,
| |
| #bodyContent .hlist li ol > li:first-child:before {
| |
| content: " (" counter(listitem) "\a0";
| |
| }
| |
| /* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
| |
| #bodyContent .hlist-pipe dd:after,
| |
| #bodyContent .hlist-pipe li:after {
| |
| content: " |" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-hyphen dd:after,
| |
| #bodyContent .hlist-hyphen li:after {
| |
| content: " -" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-comma dd:after,
| |
| #bodyContent .hlist-comma li:after {
| |
| content: "、" !important;
| |
| font-weight: normal;
| |
| }
| |
| #bodyContent .hlist-slash dd:after,
| |
| #bodyContent .hlist-slash li:after {
| |
| content: " /" !important;
| |
| font-weight: normal;
| |
| }
| |
| /* Unbulleted lists */
| |
| .plainlist ol,
| |
| .plainlist ul {
| |
| list-style: none none;
| |
| padding-left: 0; /* Reset Minerva defaults */
| |
| }
| |
| .plainlist ol li,
| |
| .plainlist ul li {
| |
| margin-bottom: 0;
| |
| }
| |
| }
| |
|
| |
| /* Portable Infobox用CSS */
| |
| .portable-infobox {
| |
| width: 80%;
| |
| max-width: 30em;
| |
| }
| |
| .portable-infobox .pi-title {
| |
| background-color: #ff9800 !important;
| |
| font-size: 110% !Important;
| |
| text-align: center !Important;
| |
| color: #000000;
| |
| }
| |
| .portable-infobox .pi-header {
| |
| text-align: center !Important;
| |
| font-size: 105% !Important;
| |
| }
| |
| .portable-infobox .pi-data-label {
| |
| text-align: left;
| |
| }
| |
|
| |
| .mw-logo-wordmark { color:#FF9800; }
| |
|
| |
| .mw-icon-edit {
| |
| filter: var( --filter-invert );
| |
| }
| |