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

ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
編集の要約なし
 
1行目: 1行目:
/* ここに書いたCSSはすべての外装に反映されます */
/* ここに書いたCSSはすべての外装に反映されます */
/* フォント・ファミリの設定 */
/* [[MediaWiki‐ノート:Common.css#特定テンプレート用のCSSをTemplateStylesに移行する提案(1回目)]]により非推奨化([[Template:Unicode]]への移行推奨) */
.Unicode {
font-family: 'TITUS Cyberbit Basic', 'Code2000', 'Chrysanthi Unicode', 'Doulos SIL', 'Bitstream Cyberbit', 'Bitstream CyberBase', 'Bitstream Vera', 'Thryomanes', 'Gentium', 'GentiumAlt', 'Visual Geez Unicode', 'Lucida Grande', 'Arial Unicode MS', 'Microsoft Sans Serif', 'Lucida Sans Unicode', sans-serif;
}
.IPA {
font-family: 'Charis SIL', 'Doulos SIL', 'DejaVu Sans', 'Code2000', 'Hiragino Kaku Gothic Pro', 'Matrix Unicode', 'Tahoma', 'Microsoft Sans Serif', sans-serif;
}
/* make the list of references look smaller */
ol.references,
div.reflist {
font-size: 90%;            /* Default font-size */
}
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;
}
.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 */
}
.navbox-list {
border-color: #fdfdfd;    /* Must match background color */
}
/* 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 */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
background-color: transparent;  /* Odd row striping */
}
/* [[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 {
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).
/* Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
  between list items. This happens when the following conditions are true:
   @revision 9 (2016-08-10)
  1) The list is made using wiki markup (where HTML is built by parser.php)
   @author [[User:Edokter]]
   2) HTMLTidy is disabled or unavailable (such as on Special: pages)
*/
  In such cases, building lists with .hlist using HTML instead of wiki markup
  will work around this problem. See also [[Bugzilla:39617]].
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  Last updated: September 23, 2012
   @maintainer: [[User:Edokter]]
  @revision: 2.0
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist dl,
.hlist ol,
.hlist ol,
.hlist ul {
.hlist ul {
    margin: 0;
margin: 0;
    padding: 0;
padding: 0;
}
}
/* Display list items inline and make them nowrap */
 
/* Display list items inline */
.hlist dd,
.hlist dd,
.hlist dt,
.hlist dt,
.hlist li {
.hlist li {
    margin: 0;
margin: 0;
    display: inline;
display: inline;
    white-space: nowrap;
}
}
/* Display nested lists inline and allow them to wrap */
 
/* 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 dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
display: inline;
    white-space: normal;
}
 
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
display: none;
}
}
/* Generate interpuncts */
/* Generate interpuncts */
.hlist dt:after {
.hlist dt:after {
    content: ":";
content: ": ";
}
}
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
    content: " ·";
content: " · ";
    font-weight: bold;
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 dd:last-child:after,
.hlist dt:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
.hlist li:last-child:after {
    content: none;
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
}
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.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 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 {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
content: " (";
    font-weight: normal;
font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.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 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 {
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
content: ")";
    font-weight: normal;
font-weight: normal;
}
}
/* For IE8 */
 
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
/* Put ordinals in front of ordered list items */
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist ol {
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
counter-reset: listitem;
    content: ")";
    font-weight: normal;
}
}
/* Put numbers in front of ordered list items */
 
.hlist.hnum ol {
.hlist ol > li {
    counter-reset: list-item;
counter-increment: listitem;
}
}
.hlist.hnum ol > li {
 
    counter-increment: list-item;
.hlist ol > li:before {
content: " " counter(listitem) ".\a0";
}
}
.hlist.hnum ol > li:before {
 
    content: counter(list-item) " ";
.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";
}
}
.hlist.hnum dd ol > li:first-child:before,
 
.hlist.hnum dt ol > li:first-child:before,
/* Avoid elements from breaking between columns */
.hlist.hnum li ol > li:first-child:before {
.nocolbreak, li, dd {
    content: "(" counter(list-item) " ";
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
}
 
/* Unbulleted lists */
dt {
.plainlist ul {
-webkit-column-break-after: avoid;
    line-height: inherit;
page-break-after: avoid;
    list-style: none none;
break-after: avoid-column;
    margin: 0;
}
}
.plainlist ul li {
 
    margin-bottom: 0;
dd {
-webkit-column-break-before: avoid;
page-break-before: avoid;
break-before: avoid-column;
}
}
 
/* Default style for navigation boxes */
/* Merge template style */
.navbox {                     /* Navbox container style */
.messagebox {
    border: 1px solid #aaa;
border: 1px solid #a2a9b1;
    width: 100%;
background: #f8f9fa;
    margin: auto;
width: 80%;
    clear: both;
margin: 0 auto 1em auto;
    font-size: 88%;
padding: 0.2em;
    text-align: center;
text-align: justify;
    padding: 1px;
}
}
.navbox-inner,
 
.navbox-subgroup {
.messagebox.merge {
    width: 100%;
border: 2px solid #033;
width: 55%;
background: #eff;
padding: 1em;
margin: 1em auto 1em auto;
}
}
.navbox th,
 
.navbox-title,
.messagebox.cleanup {
.navbox-abovebelow {
border: 1px solid #9f9fff;
    text-align: center;       /* Title and above/below styles */
background: #efefff;
    padding-left: 1em;
text-align: center;
    padding-right: 1em;
}
}
th.navbox-group {            /* Group style */
 
    white-space: nowrap;
.messagebox.standard-talk {
    /* @noflip */
border: 1px solid #c0c090;
    text-align: right;
background: #f8eaba;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}
/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
  font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}
}


/* Infobox template style */
.infobox {
.infobox {
    border: 1px solid #aaa;
border: 1px solid #a2a9b1;
    background-color: #f9f9f9;
background-color: #f8f9fa;
    color: black;
color: black;
    margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
padding: 0.2em;
    /* @noflip */float: right;
float: right;
    /* @noflip */clear: right;
clear: right;
    text-align: left;
text-align: left;
    font-size: 88%;
font-size: 88%;
    line-height: 1.5em;
line-height: 1.5em;
}
}
.infobox caption {
.infobox caption {
    font-size: 125%;
margin-top: 0.5em;
    font-weight: bold;
font-size: 125%;
font-weight: bold;
}
}
.infobox td,
.infobox td,
.infobox th {
.infobox th {
    vertical-align: top;
vertical-align: top;
}
}
.infobox.bordered {
.infobox.bordered {
    border-collapse: collapse;
border-collapse: collapse;
}
}
.infobox.bordered td,
.infobox.bordered td,
.infobox.bordered th {
.infobox.bordered th {
    border: 1px solid #aaa;
border: 1px solid #a2a9b1;
}
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
.infobox.bordered .borderless th {
    border: 0;
border: 0;
}
}


.infobox.sisterproject {
.infobox.sisterproject {
    width: 20em;
width: 20em;
    font-size: 90%;
font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
}


257行目: 333行目:
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
.infobox.bordered .mergedtoprow th {
    border: 0;
border: 0;
    border-top: 1px solid #aaa;
border-top: 1px solid #a2a9b1;
    border-right: 1px solid #aaa;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
.infobox.bordered .mergedrow th {
    border: 0;
border: 0;
    border-right: 1px solid #aaa;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


271行目: 349行目:
   country subdivisions, cities, etc.            */
   country subdivisions, cities, etc.            */
.infobox.geography {
.infobox.geography {
    /* @noflip */text-align: left;
border-collapse: collapse;
    border-collapse: collapse;
line-height: 1.6em;
    line-height: 1.2em;  
font-size: 88%;
    font-size: 90%;
}
}


.infobox.geography  td,
.infobox.geography  td,
.infobox.geography  th {
.infobox.geography  th {
    border-top: 1px solid #aaa;
border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.4em 0.6em;
padding: 0.4em 0.6em 0.4em 0.6em;
}
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.2em 0.6em;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedrow td,
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
.infobox.geography .mergedrow th {
    border: 0;
border: 0;
    padding: 0 0.6em 0.2em 0.6em;
padding: 0 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
.infobox.geography .mergedbottomrow th {
    border-top: 0;
border-top: 0;
    border-bottom: 1px solid #aaa;
border-bottom: 1px solid #a2a9b1;
    padding: 0 0.6em 0.4em 0.6em;
padding: 0 0.6em 0.4em 0.6em;
}
}


.infobox.geography .maptable td,
.infobox.geography .maptable td,
.infobox.geography .maptable th {
.infobox.geography .maptable th {
    border: 0;
border: 0;
    padding: 0;
padding: 0;
}
 
/* リダイレクトの表示 */
 
/* [[特別:Allpages]]・[[特別:Prefixindex]] */
.allpagesredirect a:link,
.allpagesredirect a:visited,
/* カテゴリ内 */
.redirect-in-category a:link,
.redirect-in-category a:visited,
/* ウォッチリスト */
.watchlistredir a:link,
.watchlistredir a:visited {
color: #666;
}
 
/* 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;
}
 
/* NavFrameとmw-collapsedを併用した場合の不具合を修正 */
.client-js div.NavFrame.mw-collapsed::before {
content: '';
}
 
/* Article message box styles */
table.ambox {
margin: 0px 10%;  /* 10% = 他の要素にはみ出るのを防ぐ */
border: 1px solid #a2a9b1;
border-left: 10px solid #1e90ff;    /* 初期値: "notice" の青 */
background: #fbfbfb;
}
}
.collapseButton {      
 
    /* @noflip */
table.ambox + table.ambox {   /* 重なったボックスの間を単一の罫線に */
    float: right;
margin-top: -1px;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;
}
}
/* In navboxes, the show/hide button balances the v·d·e links
 
  from [[Template:Navbar]], so they need to be the same width. */
.ambox th.mbox-text,
.navbox .collapseButton {
.ambox td.mbox-text {            /* メッセージ本体のセル */
    width: 6em;
padding: 0.25em 0.5em;       /* 左右に 0.5em ずつの余白 */
}
}


.ambox td.mbox-image {          /* 左の画像セル */
padding: 2px 0 2px 0.5em;    /* 左に 0.5em、右に 0px の余白 */
}


/** Collapsible tables *********************************************************
.ambox td.mbox-imageright {      /* 右の画像セル */
  *
padding: 2px 0.5em 2px 0;    /* 左に 0px、右に 0.5em の余白  */
  * Description: Allows tables to be collapsed, showing only the header. See
}
  *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 
  *  Maintainers: [[en:User:R. Koot]]
table.ambox-notice {
border-left: 10px solid #1e90ff;    /* 青 */
}
 
table.ambox-speedy {
border-left: 10px solid #b22222;    /* 赤 */
background: #fee;                  /* 桃 */
}
 
table.ambox-delete {
border-left: 10px solid #b22222;    /* 赤 */
}
 
table.ambox-content {
border-left: 10px solid #f28500;    /* 橙 */
}
 
table.ambox-style {
border-left: 10px solid #f4c430;    /* 黄 */
}
 
table.ambox-move {
border-left: 10px solid #9932cc;    /* 紫 */
}
 
table.ambox-protection {
border-left: 10px solid #bba;      /* 灰色・金色 */
}
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em;      /* 0.9em left/right */
width: 100%;    /* Make all mboxes the same width regardless of text length */
font-size: 90%;
}
 
td.mbox-image {                  /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
text-align: center;
}
 
td.mbox-imageright {            /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
text-align: center;
}
 
td.mbox-empty-cell {        /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
 
/* ambox - 以下、日本語版の独自拡張 */
table.ambox div.ambox-imagecontainer {  /* 画像セル内の画像表示領域 */
width: 52px;
}
 
table.ambox.ambox-section {              /* 節用メッセージボックス */
margin: 0 10%;
}
 
table.ambox.ambox-section div.ambox-imagecontainer {
width: 52px;
}
 
table.ambox.ambox-section th.mbox-text,
table.ambox.ambox-section td.mbox-text {
padding: 0.25em 0.5em;
}
 
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff;    /* Default "notice" blue */
background: #fbfbfb;
}
 
.imbox .mbox-text .imbox {    /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;    /* 0.9 - 0.5 = 0.4em left/right. */
}
 
.mbox-inside .imbox {    /* For imboxes inside other templates. */
margin: 4px;
}
 
table.imbox-notice {
border: 3px solid #1e90ff;    /* Blue */
}
 
table.imbox-speedy {
border: 3px solid #b22222;    /* Red */
background: #fee;            /* Pink */
}
 
table.imbox-delete {
border: 3px solid #b22222;    /* Red */
}
 
table.imbox-content {
border: 3px solid #f28500;    /* Orange */
}
 
table.imbox-style {
border: 3px solid #f4c430;    /* Yellow */
}
 
table.imbox-move {
border: 3px solid #9932cc;    /* Purple */
}
 
table.imbox-protection {
border: 3px solid #bba;      /* Gray-gold */
}
 
table.imbox-license {
border: 3px solid #88a;      /* Dark gray */
background: #f7f8ff;          /* Light gray */
}
 
table.imbox-featured {
border: 3px solid #cba135;    /* Brown-gold */
}
 
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
background: #DFE8FF;    /* Blue */
}
 
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222;    /* Red */
background: #FFDBDB;          /* Pink */
}
 
table.cmbox-delete {
background: #FFDBDB;    /* Red */
}
 
table.cmbox-content {
background: #FFE7CE;    /* Orange */
}
 
table.cmbox-style {
background: #FFF9DB;    /* Yellow */
}
 
table.cmbox-move {
background: #E4D8FF;    /* Purple */
}
 
table.cmbox-protection {
background: #EFEFE1;    /* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;      /* Default "notice" gray */
background: #f8f9fa;
}
 
table.ombox-notice {
border: 1px solid #a2a9b1;      /* Gray */
}
 
table.ombox-speedy {
border: 2px solid #b22222;    /* Red */
background: #fee;            /* Pink */
}
 
table.ombox-delete {
border: 2px solid #b22222;    /* Red */
}
 
table.ombox-content {
border: 1px solid #f28500;    /* Orange */
}
 
table.ombox-style {
border: 1px solid #f4c430;    /* Yellow */
}
 
table.ombox-move {
border: 1px solid #9932cc;    /* Purple */
}
 
table.ombox-protection {
border: 2px solid #bba;      /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090;    /* Default "notice" gray-brown */
background: #f8eaba;
}
 
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
margin: 2px 0;              /* class ensures that this declaration overrides other */
width: 100%; /* For Safari and Opera */    /* styles (including mbox-small above) */
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em;          /* also "nested", so reset styles that are  */
font-size: 100%;            /* set in "mbox-small" above.                */
}
 
table.tmbox-speedy {
border: 2px solid #b22222;    /* Red */
background: #fee;            /* Pink */
}
 
table.tmbox-delete {
border: 2px solid #b22222;    /* Red */
}
 
table.tmbox-content {
border: 2px solid #f28500;    /* Orange */
}
 
table.tmbox-style {
border: 2px solid #f4c430;    /* Yellow */
}
 
table.tmbox-move {
border: 2px solid #9932cc;    /* Purple */
}
 
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090;    /* Gray-brown */
}
 
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa;    /* Default "system" gray */
}
 
table.fmbox-system {
background: #f8f9fa;
}
 
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb;        /* Pink */
}
 
table.fmbox-editnotice {
background: transparent;
}
 
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
 
/* Div based "system" style fmbox messages. Used in
  [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.noarticletext,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
 
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
clear: right;
float: right;
margin: 4px 0 4px 1em;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
 
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
margin: 4px 1em 4px 0;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
 
/* [[Template:Pathnav]] */
.pathnavbox {
clear: both;
border: 1px outset #eef;
padding: 0.3em 0.6em;
margin: 0 0 0.5em 0;
background-color: #eef;
font-size: 90%;
}
 
.pathnavbox ul {
list-style: none none;
margin-top: 0;
margin-bottom: 0;
}
 
.pathnavbox > ul {
margin: 0;
}
 
.pathnavbox ul li {
margin: 0;
}
 
/* 脚注ジャンプ先強調 */
.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 {
table.collapsed tr.collapsible {
clear: both;
        display: none;
}
 
/* Don't display page title on the main page */
body.page-メインページ #siteSub,
body.page-メインページ .subtitle,
body.page-メインページ h1.firstHeading,
body.page-メインページ h1.pagetitle {
display: none;
}
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the              */
/* Unbulleted lists */
        float: right;              /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
.plainlist ol,
        font-weight: normal;       /* are styled here so they can be customised.              */
.plainlist ul {
        text-align: right;
line-height: inherit;
        width: auto;
list-style: none none;
margin: 0;
}
}


/**
.plainlist ol li,
* Extension:SyntaxHighlight GeSHi : Wed Jan  4 20:00:10 JST 2012 Yoshihiro OKUMURA
.plainlist ul li {
*/
margin-bottom: 0;
div.mw-geshi {
  padding: 1em;
  margin: 1em 0;
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}
}


/* Allow limiting of which header levels are shown in a TOC;
/* [[Template:Asbox]]用のスタイル */
  <div class="toclimit-3">, for instance, will limit to
.asbox {
  showing ==headings== and ===headings=== but no further
border: solid #999 1px;
  (as long as there are no =headings= on the page, which
background: #F8F8F8;
  there shouldn't be according to the MoS).
margin: 0.5em 10%;
*/
clear: both;
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* [[Template:Math]]用のtexhtmlクラス。(2021-05-24更新)
.mw-collapsible-toggle {
  texhtml class for inline math (based on generic times-serif class) */
    font-weight: normal;
span.texhtml {
    /* @noflip */
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    text-align: right;
font-size: 108%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
-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;
}
}


.navbox .mw-collapsible-toggle {
span.texhtml span.texhtml {
    width: 6em;
font-size: 100%;
}
}


/* Standard Navigationsleisten, aka box hiding thingy
span.mwe-math-mathml-inline {
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
font-size: 108%;
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
}
div.NavFrame + div.NavFrame {
 
    border-top-style: none;
/* Make <math display="block"> be left aligned with one space indent for
    border-top-style: hidden;
* 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;
}
}
div.NavPic {
 
    background-color: #fff;
.mwe-math-mathml-display math {
    margin: 0;
display: inline;
    padding: 2px;
    /* @noflip */
    float: left;
}
}
div.NavFrame div.NavHead {
 
    height: 1.6em;
/* 日本語版追加分 */
    font-weight: bold;
span.texhtml sup {
    background-color: #ccf;
vertical-align: 1.0ex;
    position: relative;
font-size: 75%;
}
}
div.NavFrame p,
 
div.NavFrame div.NavContent,
span.texhtml sub {
div.NavFrame div.NavContent p {
vertical-align: -0.5ex;
    font-size: 100%;
font-size: 75%;
}
}
div.NavEnd {
 
    margin: 0;
/* MediaWiki:Common.js - modifyEditsection
    padding: 0;
  拡張節編集リンク内の分割線をビジュアルエディター無効でも表示する */
    line-height: 1px;
.ve-not-available .editsection-extensions .mw-editsection-divider {
    clear: both;
display: inline;
}
}
a.NavToggle {
 
    position: absolute;
/* 履歴や本文で長い文字列を折り返せない問題の解消 */
    top: 0;
#bodyContent {
    /* @noflip */
word-wrap: break-word;
    right: 3px;
overflow-wrap: break-word;
    font-weight: normal;
    font-size: 90%;
}
}

案内メニュー