MediaWiki:Common.css: Difference between revisions

From Azupedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 11: Line 11:
.mw-redirect:active { color: #990000;}
.mw-redirect:active { color: #990000;}


/* 通常のリンク(未訪問) */
a {
  color: #1E90FF;
}


img {
/* 訪問済みリンク */
    max-width:250px;
a:visited {
    height:auto;
  color: blue;
  }
}
 
 
 
/* マウスホバー時のリンク */
  /* Reset italic styling set by user agent */
a:hover {
  cite,
   color: orange;
   dfn {
}
      font-style: inherit;
 
  }
/* 新しいページへのリンク(未作成ページ) */
 
a.new {
  /* Straight quote marks for <q> */
  color: red !important;
  q {
}
      quotes: '"' '"' "'" "'";
 
  }
/*
 
* This is the CSS common to all desktop skins on en.Wikipedia.
  /* Avoid collision of blockquote with floating elements by swapping margin and padding */
* Styling inside .mw-parser-output should generally use TemplateStyles.
  blockquote {
*/
      overflow: hidden;
/* Reset italic styling set by user agent */
      margin: 1em 0;
cite,
      padding: 0 40px;
dfn {
  }
font-style: inherit;
 
}
  /* Consistent size for <small>, <sub> and <sup> */
 
  small {
/* Straight quote marks for <q> */
      font-size: 85%;
q {
  }
quotes: '"' '"' "'" "'";
 
}
  .mw-body-content sub,
 
  .mw-body-content sup,
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
  span.reference /* for Parsoid */ {
blockquote {
      font-size: 80%;
overflow: hidden;
  }
margin: 1em 0;
 
padding: 0 40px;
  /* Same spacing for indented and unindented paragraphs on talk pages */
}
  .ns-talk .mw-body-content dd {
 
      margin-top: 0.4em;
/* Consistent size for <small>, <sub> and <sup> */
      margin-bottom: 0.4em;
small {
  }
font-size: 85%;
 
}
  /* Main page fixes */
 
  #interwiki-completelist {
.mw-body-content sub,
      font-weight: bold;
.mw-body-content sup {
  }
font-size: 80%;
 
}
  /* Reduce page jumps by hiding collapsed/dismissed content */
 
  .client-js .mw-special-Watchlist #watchlist-message,
/* Same spacing for indented and unindented paragraphs on talk pages */
  .client-js .NavFrame.collapsed .NavContent,
.ns-talk .mw-body-content dd {
  .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
margin-top: 0.4em;
      display: none;
margin-bottom: 0.4em;
  }
}
 
 
  /* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
/* Reduce page jumps by hiding collapsed/dismissed content */
  .mw-rcfilters-enabled .mw-specialpage-summary {
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
      margin-top: 1em;
 
  }
/* Avoid FOUC/reflows on collapsed elements. */
 
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
  /* Hide charinsert base for those not using the gadget */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
  #editpage-specialchars {
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
      display: none;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
  }
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
 
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
  /* Highlight linked elements (such as clicked references) in blue */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
  body.action-info .mw-body-content :target,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
  .citation:target {
 
      background-color: #def;  /* Fallback */
/* Hide charinsert base for those not using the gadget */
      background-color: rgba(0, 127, 255, 0.133);
#editpage-specialchars {
  }
display: none;
 
}
  /* Styling for citations. Breaks long urls, etc., rather than overflowing box */
 
  .citation {
/* Different margin on references */
      word-wrap: break-word;
.references {
  }
margin-bottom: 0.5em;
 
}
  /* Make the list of references smaller */
 
  /* Keep in sync with Template:Refbegin/styles.css */
/* Cite customizations */
  ol.references,
span[ rel="mw:referencedBy" ] {
  div.reflist {
counter-reset: mw-ref-linkback 0;
      font-size: 90%;            /* Default font-size */
}
      margin-bottom: 0.5em;
 
  }
span[ rel='mw:referencedBy' ] > a::before {
 
content: counter( mw-ref-linkback, lower-alpha );
  div.reflist ol.references {
font-size: 80%;
      font-size: 100%;          /* Reset font-size when nested in div.reflist */
font-weight: bold;
      margin-bottom: 0;         /* Avoid double margin when nested in div.reflist */
font-style: italic;
      list-style-type: inherit; /* Enable custom list style types */
}
  }
 
 
a[ rel="mw:referencedBy" ]::before {
  /* Reset top margin for lists embedded in columns */
font-weight: bold;
  div.columns {
content: "^";
      margin-top: 0.3em;
}
  }
 
 
span[ rel="mw:referencedBy" ]::before {
  div.columns dl,
content: "^ ";
  div.columns ol,
}
  div.columns ul {
 
      margin-top: 0;
/* Styling for jQuery makeCollapsible, matching that of collapseButton */
  }
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
 
font-weight: normal;
  /* Avoid elements breaking between columns */
padding-right: 0.2em;
  /* See also Template:No col break */
padding-left: 0.2em;
  div.columns li,
}
  div.columns dd {
 
      page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
      break-inside: avoid-column;
/* @noflip */
  }
float: left;
 
}
  /* Style for horizontal lists (separator following item).
 
    @source mediawiki.org/wiki/Snippets/Horizontal_lists
/* Lists in wikitable data cells are always left-aligned */
    @revision 8 (2016-05-21)
.wikitable td ul,
    @author [[User:Edokter]]
.wikitable td ol,
  */
.wikitable td dl {
  .hlist dl,
/* @noflip */
  .hlist ol,
text-align: left;
  .hlist ul {
}
      margin: 0;
 
      padding: 0;
/* Change the external link icon to a PDF icon for all PDF files */
  }
.mw-parser-output a[href$=".pdf"].external,
 
.mw-parser-output a[href*=".pdf?"].external,
  /* Display list items inline */
.mw-parser-output a[href*=".pdf#"].external,
  .hlist dd,
.mw-parser-output a[href$=".PDF"].external,
  .hlist dt,
.mw-parser-output a[href*=".PDF?"].external,
  .hlist li {
.mw-parser-output a[href*=".PDF#"].external {
      margin: 0;
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
      display: inline;
/* @noflip */
  }
padding: 8px 18px 8px 0;
 
}
  /* Display nested lists inline */
 
  .hlist.inline,
/* System messages styled similarly to fmbox */
  .hlist.inline dl,
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
  .hlist.inline ol,
* the edit-protected notice and the special:Contribs for blocked users
  .hlist.inline ul,
* The latter has specificity of 3 classes so we have to triple up here.
  .hlist dl dl,
*/
  .hlist dl ol,
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
  .hlist dl ul,
div.mw-lag-warn-high,
  .hlist ol dl,
div.mw-cascadeprotectedwarning,
  .hlist ol ol,
div#mw-protect-cascadeon {
  .hlist ol ul,
clear: both;
  .hlist ul dl,
margin: 0.2em 0;
  .hlist ul ol,
border: 1px solid #bb7070;
  .hlist ul ul {
background-color: var(--background-color-error-subtle, #ffdbdb);
      display: inline;
padding: 0.25em 0.9em;
  }
box-sizing: border-box;
 
}
  /* Hide empty list items */
 
  .hlist .mw-empty-li {
/* default colors for partial block message */
      display: none;
/* gotta get over the hump introduced by the triple class above */
  }
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
 
border-color: #fc3;
  /* Generate interpuncts */
background-color: var(--background-color-warning-subtle, #fef6e7);
  .hlist dt:after {
}
      content: ": ";
 
  }
/* Minimum thumb width */
 
@media (min-width: 640px) {
  /**
figure[typeof~='mw:File/Thumb'],
  * Note hlist style usage differs in Minerva and is defined in core as well!
figure[typeof~='mw:File/Frame'],
  * Please check Minerva desktop (and Minerva.css) when changing
.thumbinner {
  * See https://phabricator.wikimedia.org/T213239
min-width: 100px;
  */
}
  .hlist dd:after,
}
  .hlist li:after {
 
      content: " · ";
/* Prevent floating boxes from overlapping any category listings,
      font-weight: bold;
  file histories, edit previews, and edit [Show changes] views. */
  }
#mw-subcategories,
 
#mw-pages,
  .hlist dd:last-child:after,
#mw-category-media,
  .hlist dt:last-child:after,
#filehistory,
  .hlist li:last-child:after {
#wikiPreview,
      content: none;
#wikiDiff {
  }
clear: both;
 
}
  /* Add parentheses around nested lists */
 
  .hlist dd dd:first-child:before,
/* Hide stuff meant for accounts with special permissions. Made visible again in
  .hlist dd dt:first-child:before,
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
  .hlist dd li:first-child:before,
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
  .hlist dt dd:first-child:before,
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  .hlist dt dt:first-child:before,
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
  .hlist dt li:first-child:before,
.checkuser-show,
  .hlist li dd:first-child:before,
.sysop-show,
  .hlist li dt:first-child:before,
.abusefilter-show,
  .hlist li li:first-child:before {
.abusefilter-helper-show,
      content: " (";
.patroller-show,
      font-weight: normal;
.templateeditor-show,
  }
.extendedmover-show,
 
.extendedconfirmed-show,
  .hlist dd dd:last-child:after,
.autoconfirmed-show,
  .hlist dd dt:last-child:after,
.user-show {
  .hlist dd li:last-child:after,
display: none;
  .hlist dt dd:last-child:after,
}
  .hlist dt dt:last-child:after,
 
  .hlist dt li:last-child:after,
/* Hide the redlink generated by {{Editnotice}},
  .hlist li dd:last-child:after,
  this overrides the ".sysop-show { display: none; }" above that applies
  .hlist li dt:last-child:after,
  to the same link as well. See [[phab:T45013]]
  .hlist li li:last-child:after {
 
      content: ")";
  Hide the images in editnotices to keep them readable in VE view.
      font-weight: normal;
  Long term, editnotices should become a core feature so that they can be designed responsive. */
  }
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
 
.ve-ui-mwNoticesPopupTool-item .mbox-image,
  /* Put ordinals in front of ordered list items */
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
  .hlist ol {
display: none !important;
      counter-reset: listitem;
}
  }
 
 
/* Remove bullets when there are multiple edit page warnings */
  .hlist ol > li {
ul.permissions-errors {
      counter-increment: listitem;
margin: 0;
  }
}
 
 
  .hlist ol > li:before {
ul.permissions-errors > li {
      content: " " counter(listitem) "\a0";
list-style: none;
  }
}
 
 
  .hlist dd ol > li:first-child:before,
/* larger inline math */
  .hlist dt ol > li:first-child:before,
span.mwe-math-mathml-inline {
  .hlist li ol > li:first-child:before {
font-size: 118%;
      content: " (" counter(listitem) "\a0";
}
  }
 
 
/* Make <math display="block"> be left aligned with one space indent for  
  /* Unbulleted lists */
* compatibility with style conventions
  .plainlist ol,
*/
  .plainlist ul {
.mwe-math-fallback-image-display,
      line-height: inherit;
.mwe-math-mathml-display {
      list-style: none none;
margin-left: 1.6em !important;
      margin: 0;
margin-top: 0.6em;
  }
margin-bottom: 0.6em;
 
}
  .plainlist ol li,
 
  .plainlist ul li {
.mwe-math-mathml-display math {
      margin-bottom: 0;
display: inline;
  }
}
 
 
  /* Default style for navigation boxes */
@media screen {
  .navbox {                    /* Navbox container style */
/* Put a chequered background behind images, only visible if they have transparency,
      box-sizing: border-box;
* except on main, user, and portal namespaces
      border: 1px solid #a2a9b1;
*/
      width: 100%;
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
      clear: both;
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
      font-size: 88%;
}
      text-align: center;
 
      padding: 1px;
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
      margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */
  do not apply to print mode */
  }
#siteSub {
 
display: block;
  .navbox .navbox {
}
      margin-top: 0;           /* No top margin for nested navboxes */
  }
/* Make the list of references smaller
 
* Keep in sync with Template:Refbegin/styles.css
  .navbox + .navbox {
* And Template:Reflist/styles.css
      margin-top: -1px;         /* Single pixel border between adjacent navboxes */
*/
  }
.references {
 
font-size: 90%;
  .navbox-inner,
}
  .navbox-subgroup {
}
      width: 100%;
 
  }
/* Hide FlaggedRevs notice UI when there are no pending changes */
 
.flaggedrevs_draft_synced,
  .navbox-group,
.flaggedrevs_stable_synced,
  .navbox-title,
/* "Temporary" to remove links in sidebar T255381 */
  .navbox-abovebelow {
#t-upload,
      padding: 0.25em 1em;      /* Title, group and above/below styles */
/* Hide broken download box on Special:Book pending T285400 */
      line-height: 1.5em;
.mw-special-Book #coll-downloadbox {
      text-align: center;
display: none;
  }
}
 
 
  th.navbox-group {             /* Group style */
/*
      white-space: nowrap;
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
      /* @noflip */
* SEE [[MediaWiki talk:Common.css/to do]]
      text-align: right;
* CSS is separated by component (which is why media queries are not joined)
  }
*/
 
 
  .navbox,
/* Infoboxes */
  .navbox-subgroup {
.infobox {
      background-color: #fdfdfd; /* Background color */
border: 1px solid #a2a9b1;
  }
color: black;
 
padding: 0.2em;
  .navbox-list {
font-size: 88%;
      line-height: 1.5em;
line-height: 1.5em;
      border-color: #fdfdfd;    /* Must match background color */
border-spacing: 3px;
  }
}
 
 
  /* cell spacing for navbox cells */
@media screen {
  tr + tr > .navbox-abovebelow,
.infobox {
  tr + tr > .navbox-group,
background-color: #f8f9fa;
  tr + tr > .navbox-image,
    }
  tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
}
      border-top: 2px solid #fdfdfd; /* Must match background color */
 
  }
@media (max-width: 640px) {
 
.infobox {
  .navbox th,
width: 100%;
  .navbox-title {
}
      background-color: #ccccff;     /* Level 1 color */
   
  }
.infobox .nowrap {
 
white-space: normal;
  .navbox-abovebelow,
}
  th.navbox-group,
}
  .navbox-subgroup .navbox-title {
 
      background-color: #ddddff;      /* Level 2 color */
@media (min-width: 640px) {
  }
.infobox {
 
/* @noflip */
  .navbox-subgroup .navbox-group,
margin: 0.5em 0 0.5em 1em;
  .navbox-subgroup .navbox-abovebelow {
/* @noflip */
      background-color: #e6e6ff;     /* Level 3 color */
float: right;
  }
/* @noflip */
 
clear: right;
  .navbox-even {
width: 22em;
      background-color: #f7f7f7;     /* Even row striping */
}
  }
}
 
 
  .navbox-odd {
.infobox-header,
      background-color: transparent; /* Odd row striping */
.infobox-label,
  }
.infobox-above,
 
.infobox-full-data,
  .navbox .hlist td dl,
.infobox-data,
  .navbox .hlist td ol,
.infobox-below,
  .navbox .hlist td ul,
.infobox-subheader,
  .navbox td.hlist dl,
.infobox-image,
  .navbox td.hlist ol,
.infobox-navbar,
  .navbox td.hlist ul {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
      padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
.infobox th,
  }
.infobox td {
 
vertical-align: top;
  /* Styling for JQuery makeCollapsible, matching that of collapseButton */
}
  .mw-parser-output .mw-collapsible-toggle {
 
      font-weight: normal;
.infobox-label,
      /* @noflip */
.infobox-data,
      text-align: right;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
      padding-right: 0.2em;
.infobox th,
      padding-left: 0.2em;
.infobox td {
  }
/* @noflip */
 
text-align: left;
  .mw-collapsible-leftside-toggle .mw-collapsible-toggle {
}
      /* @noflip */
 
      float: left;
/* Remove .infobox when element selectors above are removed */
      /* @noflip */
.infobox .infobox-above,
      text-align: left;
.infobox .infobox-title,
  }
/* Remove element selector when every .infobox thing is using the standard module/templates  */
 
.infobox caption {
  /* Infobox template style */
font-size: 125%;
  .infobox {
font-weight: bold;
      border: 1px solid #a2a9b1;
text-align: center;
      border-spacing: 3px;
}
      background-color: #f8f9fa;
 
      color: black;
.infobox-title,
      /* @noflip */
/* Remove element selector when every .infobox thing is using the standard module/templates  */
      margin: 0.5em 0 0.5em 1em;
.infobox caption {
      padding: 0.2em;
padding: 0.2em;
      /* @noflip */
}
      float: right;
 
      /* @noflip */
/* Remove .infobox when element selectors above are removed */
      clear: right;
.infobox .infobox-header,
      font-size: 88%;
.infobox .infobox-subheader,
      line-height: 1.5em;
.infobox .infobox-image,
  }
.infobox .infobox-full-data,
 
.infobox .infobox-below {
  .infobox caption {
text-align: center;
      font-size: 125%;
}
      font-weight: bold;
 
      padding: 0.2em;
/* Remove .infobox when element selectors above are removed */
      text-align: center;
.infobox .infobox-navbar {
  }
/* @noflip */
 
text-align: right;
  .infobox td,
}
  .infobox th {
 
      vertical-align: top;
/* Normal font styling for wikitable row headers with scope="row" tag */
      /* @noflip */
.wikitable.plainrowheaders th[scope=row],
      text-align: left;
.wikitable.plainrowheaders th[scope=rowgroup] {
  }
font-weight: normal;
 
/* @noflip */
  .infobox.bordered {
text-align: left;
      border-collapse: collapse;
}
  }
 
 
/* Remove underlines from certain links */
  .infobox.bordered td,
.nounderlines a,
  .infobox.bordered th {
.IPA a:link,
      border: 1px solid #a2a9b1;
.IPA a:visited {
  }
text-decoration: none !important;
 
}
  .infobox.bordered .borderless td,
 
  .infobox.bordered .borderless th {
/* Prevent line breaks in silly places where desired (nowrap)
      border: 0;
  and links when we don't want them to (nowraplinks a) */
  }
.nowrap,
 
.nowraplinks a {
  .infobox.sisterproject {
white-space: nowrap;
      width: 20em;
}
      font-size: 90%;
 
  }
/* But allow wrapping where desired: */
 
.wrap,
  /* styles for bordered infobox with merged rows */
.wraplinks a {
  .infobox.bordered .mergedtoprow td,
white-space: normal;
  .infobox.bordered .mergedtoprow th {
}
      border: 0;
 
      border-top: 1px solid #a2a9b1;
/* texhtml class for inline math (based on generic times-serif class) */
      /* @noflip */
/* remove spans when this is TemplateStyled */
      border-right: 1px solid #a2a9b1;
span.texhtml {
  }
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
 
font-size: 118%;
  .infobox.bordered .mergedrow td,
line-height: 1;
  .infobox.bordered .mergedrow th {
/* Force tabular and lining display for texhtml */
      border: 0;
font-variant-numeric: lining-nums tabular-nums;
      /* @noflip */
font-kerning: none;
      border-right: 1px solid #a2a9b1;
}
  }
 
 
span.texhtml span.texhtml {
  /* Styles for geography infoboxes, eg countries,
font-size: 100%;
    country subdivisions, cities, etc.            */
}
  .infobox.geography {
 
      border-collapse: collapse;
@media (min-width: 640px) {
      line-height: 1.2em;
span.texhtml {
      font-size: 90%;
white-space: nowrap;
  }
}
 
}
  .infobox.geography  td,
 
  .infobox.geography  th {
/* Prevent flags in tables from collapsing: Fix for T116318
      border-top: 1px solid #a2a9b1;
* TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
      padding: 0.4em 0.6em 0.4em 0.6em;
*/
  }
@media (max-width: 640px) {
 
.flagicon a > img,
  .infobox.geography .mergedtoprow td,
.flagicon noscript > img {
  .infobox.geography .mergedtoprow th {
max-width: none !important;
      border-top: 1px solid #a2a9b1;
}
      padding: 0.4em 0.6em 0.2em 0.6em;
}
  }
 
 
@media screen {
  .infobox.geography .mergedrow td,
.nochecker .gallerybox .thumb img {
  .infobox.geography .mergedrow th {
background-image: none;
      border: 0;
}
      padding: 0 0.6em 0.2em 0.6em;
}
  }
 
 
/*
  .infobox.geography .mergedbottomrow td,
* Put anything you mean to be a sitewide addition above the TemplateStyles
  .infobox.geography .mergedbottomrow th {
* comment above.
      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;
  }
 
  /* Normal font styling for wikitable row headers with scope="row" tag */
  .wikitable.plainrowheaders th[scope=row] {
      font-weight: normal;
      /* @noflip */
      text-align: left;
  }
 
  /* Lists in wikitable data cells are always left-aligned */
  .wikitable td ul,
  .wikitable td ol,
  .wikitable td dl {
      /* @noflip */
      text-align: left;
  }
 
  /* ...unless they also use the hlist class */
  .toc.hlist ul,
  #toc.hlist ul,
  .wikitable.hlist td ul,
  .wikitable.hlist td ol,
  .wikitable.hlist td dl {
      text-align: inherit;
  }
 
  /* Icons for medialist templates [[Template:Listen]],
    [[Template:Multi-listen_start]], [[Template:Video]],
    [[Template:Multi-video_start]] */
  /* TemplateStyles */
  div.listenlist {
      background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
      background-size: 30px;
      padding-left: 40px;
  }
 
  /* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
  table.mw-hiero-table td {
      vertical-align: middle;
  }
 
  /* Change the external link icon to an Adobe icon for all PDF files */
  .mw-parser-output a[href$=".pdf"].external,
  .mw-parser-output a[href*=".pdf?"].external,
  .mw-parser-output a[href*=".pdf#"].external,
  .mw-parser-output a[href$=".PDF"].external,
  .mw-parser-output a[href*=".PDF?"].external,
  .mw-parser-output a[href*=".PDF#"].external {
      background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
      /* @noflip */
      padding-right: 18px;
  }
 
  /* Messagebox templates */
  .messagebox {
      border: 1px solid #a2a9b1;
      background-color: #f8f9fa;
      width: 80%;
      margin: 0 auto 1em auto;
      padding: .2em;
  }
 
  .messagebox.merge {
      border: 1px solid #c0b8cc;
      background-color: #f0e5ff;
      text-align: center;
  }
 
  .messagebox.cleanup {
      border: 1px solid #9f9fff;
      background-color: #efefff;
      text-align: center;
  }
 
  .messagebox.standard-talk {
      border: 1px solid #c0c090;
      background-color: #f8eaba;
      margin: 4px auto;
  }
 
  /* For old WikiProject banners inside banner shells. */
  .mbox-inside .standard-talk,
  .messagebox.nested-talk {
      border: 1px solid #c0c090;
      background-color: #f8eaba;
      width: 100%;
      margin: 2px 0;
      padding: 2px;
  }
 
  .messagebox.small {
      width: 238px;
      font-size: 85%;
      /* @noflip */
      float: right;
      clear: both;
      /* @noflip */
      margin: 0 0 1em 1em;
      line-height: 1.25em;
  }
 
  .messagebox.small-talk {
      width: 238px;
      font-size: 85%;
      /* @noflip */
      float: right;
      clear: both;
      /* @noflip */
      margin: 0 0 1em 1em;
      line-height: 1.25em;
      background-color: #f8eaba;
  }
 
  /* 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;
      /* @noflip */
      padding: 0.25em 0.9em;    /* 0.9em left/right */
      width: 100%;              /* Make all mboxes the same width regardless of text length */
  }
 
  td.mbox-image {                /* The left image cell */
      border: none;
      /* @noflip */
      padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
      text-align: center;
  }
 
  td.mbox-imageright {          /* The right image cell */
      border: none;
      /* @noflip */
      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: 0;
      width: 1px;
  }
 
  /* Article message box styles */
  table.ambox {
      margin: 0 10%;                  /* 10% = Will not overlap with other elements */
      border: 1px solid #a2a9b1;
      /* @noflip */
      border-left: 10px solid #36c;  /* Default "notice" blue */
      background-color: #fbfbfb;
      box-sizing: border-box;
  }
 
  table.ambox + table.ambox {      /* Single border between stacked boxes. */
      margin-top: -1px;
  }
 
  .ambox th.mbox-text,
  .ambox td.mbox-text {            /* The message body cell(s) */
      padding: 0.25em 0.5em;      /* 0.5em left/right */
  }
 
  .ambox td.mbox-image {          /* The left image cell */
      /* @noflip */
      padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
  }
 
  .ambox td.mbox-imageright {      /* The right image cell */
      /* @noflip */
      padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
  }
 
  table.ambox-notice {
      /* @noflip */
      border-left: 10px solid #36c;      /* Blue */
  }
 
  table.ambox-speedy {
      /* @noflip */
      border-left: 10px solid #b32424;    /* Red */
      background-color: #fee7e6;          /* Pink */
  }
 
  table.ambox-delete {
      /* @noflip */
      border-left: 10px solid #b32424;    /* Red */
  }
 
  table.ambox-content {
      /* @noflip */
      border-left: 10px solid #f28500;    /* Orange */
  }
 
  table.ambox-style {
      /* @noflip */
      border-left: 10px solid #fc3;      /* Yellow */
  }
 
  table.ambox-move {
      /* @noflip */
      border-left: 10px solid #9932cc;    /* Purple */
  }
 
  table.ambox-protection {
      /* @noflip */
      border-left: 10px solid #a2a9b1;    /* Gray-gold */
  }
 
  /* Image message box styles */
  table.imbox {
      margin: 4px 10%;
      border-collapse: collapse;
      border: 3px solid #36c;    /* Default "notice" blue */
      background-color: #fbfbfb;
      box-sizing: border-box;
  }
 
  .imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
      margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
      display: block;        /* Fix for webkit to force 100% width.  */
  }
 
  .mbox-inside .imbox {      /* For imboxes inside other templates.  */
      margin: 4px;
  }
 
  table.imbox-notice {
      border: 3px solid #36c;      /* Blue */
  }
 
  table.imbox-speedy {
      border: 3px solid #b32424;    /* Red */
      background-color: #fee7e6;    /* Pink */
  }
 
  table.imbox-delete {
      border: 3px solid #b32424;    /* Red */
  }
 
  table.imbox-content {
      border: 3px solid #f28500;    /* Orange */
  }
 
  table.imbox-style {
      border: 3px solid #fc3;      /* Yellow */
  }
 
  table.imbox-move {
      border: 3px solid #9932cc;    /* Purple */
  }
 
  table.imbox-protection {
      border: 3px solid #a2a9b1;    /* Gray-gold */
  }
 
  table.imbox-license {
      border: 3px solid #88a;      /* Dark gray */
      background-color: #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-color: #dfe8ff;    /* Default "notice" blue */
      box-sizing: border-box;
  }
 
  table.cmbox-notice {
      background-color: #d8e8ff;    /* Blue */
  }
 
  table.cmbox-speedy {
      margin-top: 4px;
      margin-bottom: 4px;
      border: 4px solid #b32424;    /* Red */
      background-color: #ffdbdb;    /* Pink */
  }
 
  table.cmbox-delete {
      background-color: #ffdbdb;    /* Pink */
  }
 
  table.cmbox-content {
      background-color: #ffe7ce;    /* Orange */
  }
 
  table.cmbox-style {
      background-color: #fff9db;    /* Yellow */
  }
 
  table.cmbox-move {
      background-color: #e4d8ff;    /* Purple */
  }
 
  table.cmbox-protection {
      background-color: #efefe1;    /* Gray-gold *

Latest revision as of 14:02, 13 June 2025

/* azu add 2021/2/4 */
/* .geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline } */

.mw-redirect { color: #006633;} 
.mw-redirect:visited { color: #009900;} 
.mw-redirect:hover { color: #990000;} 
.mw-redirect:active { color: #990000;}

/* 通常のリンク(未訪問) */
a {
  color: #1E90FF;
}

/* 訪問済みリンク */
a:visited {
  color: blue;
}

/* マウスホバー時のリンク */
a:hover {
  color: orange;
}

/* 新しいページへのリンク(未作成ページ) */
a.new {
  color: red !important;
}

/*
 * This is the CSS common to all desktop skins on en.Wikipedia.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */
/* Reset italic styling set by user agent */
cite,
dfn {
	font-style: inherit;
}

/* Straight quote marks for <q> */
q {
	quotes: '"' '"' "'" "'";
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}

.mw-body-content sub,
.mw-body-content sup {
	font-size: 80%;
}

/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),

/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
	display: none;
}

/* Different margin on references */
.references {
	margin-bottom: 0.5em;
}

/* Cite customizations */
span[ rel="mw:referencedBy" ] {
	counter-reset: mw-ref-linkback 0;
}

span[ rel='mw:referencedBy' ] > a::before {
	content: counter( mw-ref-linkback, lower-alpha );
	font-size: 80%;
	font-weight: bold;
	font-style: italic;
}

a[ rel="mw:referencedBy" ]::before {
	font-weight: bold;
	content: "^";
}

span[ rel="mw:referencedBy" ]::before {
	content: "^ ";
}

/* Styling for jQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
	font-weight: normal;
	padding-right: 0.2em;
	padding-left: 0.2em;
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}

/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
	/* @noflip */
	padding: 8px 18px 8px 0;
}

/* System messages styled similarly to fmbox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
 * the edit-protected notice and the special:Contribs for blocked users
 * The latter has specificity of 3 classes so we have to triple up here.
 */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.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-color: var(--background-color-error-subtle, #ffdbdb);
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* default colors for partial block message */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
	border-color: #fc3;
	background-color: var(--background-color-warning-subtle, #fef6e7);
}

/* Minimum thumb width */
@media (min-width: 640px) {
	figure[typeof~='mw:File/Thumb'],
	figure[typeof~='mw:File/Frame'],
	.thumbinner {
		min-width: 100px;
	}
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
	clear: both;
}

/* 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-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
   [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
	display: none;
}

/* Hide the redlink generated by {{Editnotice}},
   this overrides the ".sysop-show { display: none; }" above that applies
   to the same link as well. See [[phab:T45013]]

   Hide the images in editnotices to keep them readable in VE view.
   Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
	display: none !important;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
	margin: 0;
}

ul.permissions-errors > li {
	list-style: none;
}

/* larger inline math */
span.mwe-math-mathml-inline {
	font-size: 118%;
}

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

@media screen {
	/* Put a chequered background behind images, only visible if they have transparency,
	 * except on main, user, and portal namespaces
	 */
	body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
	}

	/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
	   do not apply to print mode */
	#siteSub {
		display: block;
	}
	
	/* Make the list of references smaller
	 * Keep in sync with Template:Refbegin/styles.css
	 * And Template:Reflist/styles.css
	 */
	.references {
		font-size: 90%;
	}
}

/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
	display: none;
}

/*
 * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
 * SEE [[MediaWiki talk:Common.css/to do]]
 * CSS is separated by component (which is why media queries are not joined)
 */

/* Infoboxes */
.infobox {
	border: 1px solid #a2a9b1;
	color: black;
	padding: 0.2em;
	font-size: 88%;
	line-height: 1.5em;
	border-spacing: 3px;
}

@media screen {
	.infobox {
		background-color: #f8f9fa;
    }
}

@media (max-width: 640px) {
	.infobox {
		width: 100%;
	}
    
	.infobox .nowrap {
		white-space: normal;
	}
}

@media (min-width: 640px) {
	.infobox {
		/* @noflip */
		margin: 0.5em 0 0.5em 1em;
		/* @noflip */
		float: right;
		/* @noflip */
		clear: right;
		width: 22em;
	}
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
	text-decoration: none !important;
}

/* Prevent line breaks in silly places where desired (nowrap)
   and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
	white-space: nowrap;
}

/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
	white-space: normal;
}

/* texhtml class for inline math (based on generic times-serif class) */
/* remove spans when this is TemplateStyled */
span.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	/* Force tabular and lining display for texhtml */
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

span.texhtml span.texhtml {
	font-size: 100%;
}

@media (min-width: 640px) {
	span.texhtml {
		white-space: nowrap;
	}
}

/* Prevent flags in tables from collapsing: Fix for T116318
 * TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
 */
@media (max-width: 640px) {
	.flagicon a > img,
	.flagicon noscript > img {
		max-width: none !important;
	}
}

@media screen {
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}
}

/*
 * Put anything you mean to be a sitewide addition above the TemplateStyles
 * comment above.
 */