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

提供: ひつじ小屋別館2代目
移動先: 案内検索
(1版)
 
(3人の利用者による、間の4版が非表示)
1行目: 1行目:
 +
/* ここに書いた CSS はすべての外装に反映されます */
 +
/* <source lang="css"> */
 +
 
/*
 
/*
This is the CSS for all skins (for all users) on MediaWiki.org.
+
* フォント・ファミリの設定
 +
*/
 +
.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', sans-serif;
 +
}
 +
 
 +
.SAMPA {
 +
    font-family: 'Courier', monospace;
 +
}
 +
 
 +
/* [[Template:Polytonic]]で使用されていないため、.polytonicは不要と思われる */
 +
:lang(grc) /*, .polytonic */ {
 +
    font-family: 'Athena', 'Gentium', 'Palatino Linotype', 'Arial Unicode MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Code2000', sans-serif;
 +
}
 +
 
 +
:lang(my), .interwiki-my { font-family: 'Padauk' }
 +
:lang(si), .interwiki-si { font-family: 'KaputaUnicode' }
 +
 
 +
/* make the list of references look smaller */
 +
ol.references,
 +
div.reflist,
 +
div.refbegin {
 +
    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 */
 +
}
 +
 
 +
/* wikitable/prettytable class for skinning normal tables */
 +
table.prettytable {
 +
    background: #f9f9f9;
 +
    border: 1px solid #aaa;
 +
    border-collapse: collapse;
 +
}
 +
 
 +
 
 +
table.prettytable th,
 +
table.prettytable td {
 +
    border: 1px solid #aaa;
 +
    padding: 0.2em;
 +
}
 +
 
 +
table.prettytable th {
 +
    background: #f2f2f2;
 +
    text-align: center;
 +
}
 +
 
 +
table.prettytable caption {
 +
    margin-left: inherit;
 +
    margin-right: inherit;
 +
}
 +
 
 +
/* default skin for navigation boxes */
 +
/*    navbox container style */
 +
table.navbox {
 +
    border: 1px solid #aaa;
 +
    width: 100%;
 +
    margin: auto;
 +
    clear: both;
 +
    font-size: 88%;
 +
    text-align: center;
 +
    padding: 1px;
 +
}
 +
 
 +
/*    single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
 +
table.navbox + table.navbox {
 +
    margin-top: -1px;
 +
}
 +
 
 +
/*    title and above/below styles */
 +
.navbox-title,
 +
.navbox-abovebelow,
 +
table.navbox th {
 +
    text-align: center;
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 +
}
 +
 
 +
/*    group style */
 +
.navbox-group {
 +
    white-space: nowrap;
 +
    text-align: right;
 +
    font-weight: bold;
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 +
}
 +
 
 +
/*    Background color */
 +
.navbox,
 +
.navbox-subgroup {
 +
    background: #fdfdfd;
 +
}
 +
 
 +
/*    Must match background color */
 +
.navbox-list {
 +
    border-color: #fdfdfd;
 +
}
 +
 
 +
/*    Level 1 color */
 +
.navbox-title,
 +
table.navbox th {
 +
    background: #ccccff;
 +
}
 +
 
 +
/*    Level 2 color */
 +
.navbox-abovebelow,
 +
.navbox-group,
 +
.navbox-subgroup .navbox-title {
 +
    background: #ddddff;
 +
}
 +
 
 +
/*    Level 3 color */
 +
.navbox-subgroup .navbox-group,
 +
.navbox-subgroup .navbox-abovebelow {
 +
    background: #e6e6ff;
 +
}
 +
 
 +
/*    Even row striping */
 +
.navbox-even {
 +
    background: #f7f7f7;
 +
}
 +
 
 +
/*    Odd row striping */
 +
.navbox-odd {
 +
    background: transparent;
 +
}
 +
 
 +
/* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */
 +
.collapseButton {
 +
    float: right;
 +
    font-weight: normal;
 +
    text-align: right;
 +
    width: auto;
 +
}
 
   
 
   
SECTIONS:
+
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */
# Indication of namespaces
+
.navbox .collapseButton {
# Color classes for content
+
    width: 6em;
# Special pages
+
}
# Main page styling
+
 
# Sidebar external links
+
/* [[en:MediaWiki:Common.css]] から複製。 */
# [[Extension Matrix]] stuff
+
/* Style for horizontal lists (separator following item).
# Wikitables, infobox templates, warnings, and other such stylings
+
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
# Some other small things
+
  between list items. This happens when the following conditions are true:
 +
  1) The list is made using wiki markup (where HTML is built by parser.php)
 +
  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: January 24, 2013
 +
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
 +
  @maintainer: [[User:Edokter]]
 +
  @revision: 3.1
 
*/
 
*/
+
.skin-monobook .hlist dl,
/**
+
.skin-modern .hlist dl,
* 1. INDICATION OF NAMESPACES
+
.skin-vector .hlist dl {
* -------------------------------------------------
+
    line-height: 1.5em;
*/
+
}
+
.hlist dl,
/* Pseudo NS Special (light grey) */
+
.hlist ol,
.ns--2 #content { background-color: #f4f4f4; }
+
.hlist ul {
.ns--2 div.thumb { border-color: #f4f4f4; }
+
    margin: 0;
+
    padding: 0;
/* NS Project + Project_talk (light sky blue) */
+
}
.ns-4 #content,
+
/* Display list items inline and make them nowrap */
.ns-5 #content { background-color: #f8fcff; }
+
.hlist dd,
.ns-4 div.thumb,
+
.hlist dt,
.ns-5 div.thumb { border-color: #f8fcff; }
+
.hlist li {
+
    margin: 0;
/* NS MediaWiki + MediaWiki_talk (light grey) */
+
    display: inline;
.ns-8 #content,
+
    white-space: nowrap;
.ns-9 #content { background-color: #f4f4f4; }
+
}
.ns-8 div.thumb,
+
/* Allow wrapping for list items (in tight spaces) */
.ns-9 div.thumb { border-color: #f4f4f4; }
+
.hlist.hwrap dd,
+
.hlist.hwrap dt,
/* NS Manual + Manual_talk (light bluish violet) */
+
.hlist.hwrap li {
.ns-100 #content,
+
    white-space: normal;
.ns-101 #content { background-color: #f3f3ff; }
+
}
.ns-100 div.thumb,
+
/* Display nested lists inline and allow them to wrap */
.ns-101 div.thumb { border-color: #f3f3ff; }
+
.hlist dl dl, .hlist dl ol, .hlist dl ul,
+
.hlist ol dl, .hlist ol ol, .hlist ol ul,
/* NS Help (but NOT Help_talk) (Public Domain icon) */
+
.hlist ul dl, .hlist ul ol, .hlist ul ul {
.ns-12 #bodyContent {
+
    display: inline;
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
+
    white-space: normal;
background-repeat: no-repeat;
+
}
/* @noflip */ background-position: right 5em;
+
/* Generate interpuncts */
 +
.hlist dt:after {
 +
    content: ":";
 
}
 
}
+
.hlist dd:after,
/**
+
.hlist li:after {
* 2. COLOR CLASSES FOR CONTENT
+
    content: " ·";
* -------------------------------------------------
+
    font-weight: bold;
*/
 
 
/* Border colors */
 
.borderc1 { border-color: #e9e9e9; border-width: thin; }
 
.borderc2 { border-color: #aaaaaa; border-width: thin; }
 
.borderc3 { border-color: #777777; border-width: thin; }
 
.borderc4 { border-color: #000000; border-width: thin; }
 
.borderc5 { border-color: #c00000; border-width: thin; }
 
.borderc6 { border-color: #025e9d; border-width: thin; }
 
.borderc7 { border-color: #008040; border-width: thin; }
 
.borderc8 { border-color: #ffcc00; border-width: thin; } /* Used by: [[Template:Welcome]]. */
 
 
/* Background colors */
 
.backgroundc1 { background-color: #ffffff; } /* Used by: [[Template:Welcome]]. */
 
.backgroundc2 { background-color: #f9f9f9; }
 
.backgroundc3 { background-color: #eeeeee; }
 
.backgroundc4 { background-color: #e0e0e0; }
 
.backgroundc5 { background-color: #d2d2d2; }
 
.backgroundc6 { background-color: #b7b7b7; }
 
.backgroundc7 { background-color: #a3a3a3; }
 
.backgroundc8 { background-color: #444455; }
 
 
/**
 
* 3. SPECIAL PAGES
 
* -------------------------------------------------
 
*/
 
 
/* Consistent special page navigation */
 
.SpecialPageInfo {
 
background-color: #f9f9f9;
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
 
background-position: 0.8em 0.5em;
 
background-repeat: no-repeat;
 
padding: 0.3em 0.5em 0.3em 5.0em;
 
border-color: #025e9d;
 
border-width: 1px;
 
border-style: solid;
 
border-bottom-width: medium;
 
margin-bottom: 1em;
 
 
}
 
}
+
/* 日本語版の独自仕様。-pipe と -hyphen */
.mw-viewprevnext {
+
.hlist-pipe dd:after,
display: block;
+
.hlist-pipe li:after {
border: 1px solid #cccccc;
+
    content: " |";
background-color: #f9f9f2;
+
    font-weight: normal;
padding: 0.2em 0.4em;
 
 
}
 
}
+
.hlist-hyphen dd:after,
/**
+
.hlist-hyphen li:after {
* 4. MAIN PAGE STYLING
+
    content: " -";
* -------------------------------------------------
+
    font-weight: normal;
*/
 
 
#mainpage_topbox {
 
background: #f9f9f9;
 
padding: 0px;
 
border: 1px solid #aaaaaa;
 
margin: 0.2em 10px 10px;
 
 
}
 
}
.mainpage_boxtitle,
+
.hlist dd:last-child:after,
.mainpage_hubtitle,
+
.hlist dt:last-child:after,
#mainpage_pagetitle {
+
.hlist li:last-child:after {
font-size: 105%;
+
    content: none;
padding: 0.4em;
 
background-color: #eeeeee;
 
 
}
 
}
.mainpage_boxtitle {
+
/* For IE8 */
line-height: 120%;
+
.hlist dd.hlist-last-child:after,
 +
.hlist dt.hlist-last-child:after,
 +
.hlist li.hlist-last-child:after {
 +
    content: none;
 
}
 
}
#mainpage_pagetitle {
+
/* Add parentheses around nested lists */
color: #cf7606;
+
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
font-size: 200% !important;
+
.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;
 
}
 
}
#mainpage_sitelinks {
+
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
padding: 0.2em;
+
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
text-align: center;
+
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
background-color: white;
+
    content: ")";
 +
    font-weight: normal;
 
}
 
}
.mainpage_hubtitle {
+
/* For IE8 */
text-align: center;
+
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
 +
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
 +
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
 +
    content: ")";
 +
    font-weight: normal;
 
}
 
}
.mainpage_boxcontents,
+
/* Put numbers in front of ordered list items */
.mainpage_boxcontents_small {
+
.hlist.hnum ol {
background: #ffffff;
+
    counter-reset: list-item;
padding: 0.2em 0.4em;
 
 
}
 
}
.mainpage_boxcontents_small {
+
.hlist.hnum ol > li {
font-size: 95%;
+
    counter-increment: list-item;
 
}
 
}
.mainpage_boxcontents_title {
+
.hlist.hnum ol > li:before {
display: block;
+
    content: counter(list-item) " ";
border-bottom: 1px solid #AAA;
 
margin-bottom: 0.5em;
 
text-align: center;
 
font-weight: bold;
 
font-size: larger;
 
 
}
 
}
+
.hlist.hnum dd ol > li:first-child:before,
.mainpage_hubbox,
+
.hlist.hnum dt ol > li:first-child:before,
#mainpage_newscell,
+
.hlist.hnum li ol > li:first-child:before {
#mainpage_downloadcell,
+
    content: "(" counter(list-item) " ";
#mainpage_opportunitiescell,
 
#mainpage_featuredpagescell {
 
padding: 0;
 
border: 1px solid #aaaaaa;
 
 
}
 
}
#mainpage_newscell {
+
 
margin-bottom: 15px;
+
/* Style for "notices" */
margin-top: 0 !important;
+
.notice {
 +
    text-align: justify;
 +
    margin: 1em;
 +
    padding: 0.2em;
 
}
 
}
#mainpage_newscell .mainpage_boxtitle {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
+
#disambig {
background-repeat: no-repeat;
+
    border-top: 3px double #ccc;
background-position: 99% 0.3em;
+
    border-bottom: 3px double #ccc;
padding-right: 25px;
 
 
}
 
}
#mainpage_downloadcell {
+
 
width: 17em;
+
#spoiler {
margin-bottom: 5px;
+
    border-top: 2px solid #ddd;
 +
    border-bottom: 2px solid #ddd;
 
}
 
}
#mainpage_downloadcell .mainpage_boxtitle {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
+
h1 {
background-repeat: no-repeat;
+
    line-height: 1.2em;
background-position: 96% 0.33em;
 
padding-right: 25px;
 
 
}
 
}
#mainpage_opportunitiescell {
+
 
max-width: 25em;
+
/* Standard talk template style */
margin-bottom: 15px;
+
.Talk-Notice {
margin-top: 0 !important;
+
    border: 1px solid #c0c090;
 +
    background-color: #f8eaba;
 +
    margin-bottom: 3px;
 +
    width: 85%;
 +
    border-spacing: 3px;
 +
    margin-left: auto;
 +
    margin-right: auto;
 
}
 
}
#mainpage_opportunitiescell .mainpage_boxtitle {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
+
.Talk-Notice:after {
background-repeat: no-repeat;
+
    content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]]."
background-position: 98% 0.15em;
 
padding-right: 25px;
 
 
}
 
}
#mainpage_featuredpagescell {
+
 
max-width: 25em;
+
/* Make template background appear correctly on all browsers */
margin-bottom: 15px;
+
.Talk-Notice td {
margin-top: 0 !important;
+
    background: inherit;
 
}
 
}
#mainpage_featuredpagescell .mainpage_boxtitle {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
+
/* Metadata */
background-repeat: no-repeat;
+
table.metadata {
background-position: 98% 0.15em;
+
    border: 1px solid #aaa;
padding-right: 25px;
+
    display: none;
 
}
 
}
/* The words 'MediaWiki.org' in the title. */
+
 
#mainpage_mwtitle {
+
.metadata-label {
color: #005288;
+
    color: #aaa;
 
}
 
}
+
 
/**
+
/*  
  * The "mainpage" class is added to the body with JavaScript for the main page in all
+
  Add formatting to make sure that "external references" from [[Template:Ref]] do
  * languages, so we can style things that apppear on the main page and also elsewhere.
+
not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  */
+
that the HTML code contained a SPAN following the anchor A; this SPAN had the class
.mainpage #lastmod,
+
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
.mainpage #siteSub,
+
"print". The rules below ensure (a) that there is no extra padding to the right of
.mainpage #contentSub,
+
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
.mainpage #jump-to-nav,
+
the link, and (c) that this SPAN of class "urlexpansion" is never shown.
.mainpage .firstHeading {
+
~~~~
display: none !important;
+
*/
 +
.plainlinksneverexpand {
 +
    background: none !important;
 +
    padding: 0 !important;
 
}
 
}
.mainpage #content {
+
 
padding-top: 1em;
+
.plainlinksneverexpand .urlexpansion {
 +
    display: none !important;
 
}
 
}
+
 
 
/**
 
* SIDEBAR EXTERNAL LINKS
 
* -------------------------------------------------
 
*/
 
 
/*
 
/*
#n-blog-text a,
+
Make sure that ext links displayed within "plainlinksneverexpand" don't get
#n-mw-repo-commits a,
+
the arrow...
#n-mw-repo-codereview a,
+
*/
#n-browse-repo a,
+
.plainlinksneverexpand a {
#n-phpdoc a {
+
    background: none !important;
background: url(//upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png) center right no-repeat;
+
    padding: 0 !important
padding-right: 13px;
 
color: #3366bb;
 
 
}
 
}
 +
 +
/*
 +
With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
 +
following the anchor A, the anchor itself now has class "external autonumber" and the
 +
expansion is inserted when printing (see the common printing style sheet at
 +
//en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
 +
element of CSS. We have to switch this off for links due to Template:Ref!
 +
~~~~
 
*/
 
*/
+
.plainlinksneverexpand a.external.text:after {
/**
+
    display: none !important;
* WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS
+
}
* -------------------------------------------------
+
 
*/
+
.plainlinksneverexpand a.external.autonumber:after {
+
    display: none !important;
/* Custom h* styles (blue headings) */
+
}
.wikitable td.hl3,
+
 
.wikitable th.hl3 {
+
/* Merge template style */
background-color: #8da7d6;
+
.messagebox {
 +
    border: 1px solid #aaa;
 +
    background: #f9f9f9;
 +
    width: 80%;
 +
    margin: 0 auto 1em auto;
 +
    padding: 0.2em;
 +
    text-align: justify;
 +
}
 +
 
 +
.messagebox.merge {
 +
    border: 2px solid #033;
 +
    width: 55%;
 +
    background: #eff;
 +
    padding: 1em;
 +
    margin: 1em auto 1em auto;
 +
}
 +
 
 +
.messagebox.cleanup {
 +
    border: 1px solid #9f9fff;
 +
    background: #efefff;
 +
    text-align: center;
 +
}
 +
 
 +
.messagebox.standard-talk {
 +
    border: 1px solid #c0c090;
 +
    background: #f8eaba;
 +
}
 +
 
 +
.infobox {
 +
    border: 1px solid #aaa;
 +
    background-color: #f9f9f9;
 +
    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;
 
}
 
}
.wikitable td.hl1,
+
.infobox td,
.wikitable th.hl1 {
+
.infobox th {
background: #c5d8fc;
+
    vertical-align: top;
 
}
 
}
.wikitable td.hl2,
+
.infobox.bordered {
.wikitable th.hl2 {
+
    border-collapse: collapse;
background: #a7c1f2;
+
}
 +
.infobox.bordered td,
 +
.infobox.bordered th {
 +
    border: 1px solid #aaa;
 +
}
 +
.infobox.bordered .borderless td,
 +
.infobox.bordered .borderless th {
 +
    border: 0;
 
}
 
}
 
   
 
   
/**
+
.infobox.sisterproject {
* Make entire table valign=top,
+
    width: 20em;
* To replace the |valign=top| on every cell.
+
    font-size: 90%;
*/
+
}
.vatop tr,
+
 
tr.vatop,
+
/* Put a checker background at the image description page only visible if the image has transparent background */
.vatop td,
+
#file img {
.vatop th {
+
    background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat
vertical-align: top;
 
 
}
 
}
+
 
/* General purpose "pretty (data) tables" */
+
#wpSave {
table.datatable {
+
    font-weight: bold;
background-color: transparent;
 
 
}
 
}
+
 
table.datatable th,
+
/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
table.datatable td {
+
.hiddenStructure {
padding: 4px;
+
    display: none;
 +
    speak: none;
 
}
 
}
+
 
table.datatable th {
+
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
text-align: left;
+
div.listenlist {
background-color: #999999;
+
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
 +
    padding-left: 40px;
 
}
 
}
+
 
table.datatable tr {
+
div.videolist,
background-color: #cccccc;
+
div.multivideolist {
 +
    background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
 +
    padding-left: 50px;
 
}
 
}
+
 
table.datatable tr:hover {
+
/* Style rules for media list templates */
background-color: #ffffcc;
+
div.medialist {
 +
    min-height: 50px;
 +
    margin: 1em;
 +
    background-position: top left;
 +
    background-repeat: no-repeat;
 
}
 
}
+
 
/* SideBox styling */
+
div.medialist ul {
div.sideBox {
+
    list-style-type: none;  
position: relative;
+
    list-style-image: none;
float: right;
+
    margin: 0;
background: white;
 
margin-left: 1em;
 
border: 1px solid gray;
 
padding: 0.3em;
 
width: 200px;
 
overflow: hidden;
 
clear: right;
 
 
}
 
}
div.sideBox dl {
+
 
padding: 0;
+
div.medialist ul li {
margin: 0 0 0.3em 0;
+
    padding-bottom: 0.5em;
font-size: 96%;
 
 
}
 
}
div.sideBox dl dt {
+
 
background: none;
+
div.medialist ul li li {
margin: 0.4em 0 0 0;
+
    font-size: 91%;
 +
    padding-bottom: 0;
 
}
 
}
div.sideBox dl dd {
+
 
margin: 0.1em 0 0 1.1em;
+
/************************/
background-color: #f3f3f3;
+
/* CommonsTicker styles */
 +
/************************/
 +
 
 +
/* links */
 +
.tickerDiffLink { } /* diff links in ticker */
 +
.tickerMiscLink { } /* misc links in ticker */
 +
 
 +
/* remove list bullets */
 +
.tickerList ul,
 +
.tickerList ul li {
 +
    list-style: none;
 +
    text-indent: -2em;
 +
    margin-left: 2em;
 +
    text-align: left;
 
}
 
}
+
 
/* Extension & Skin infobox styling */
+
.tickerList ul ul,
.tpl-infobox {
+
.tickerList ul ul li {
border: 2px solid #aaaaaa;
+
    list-style: none;
width: 280px;
+
    text-indent: 0;
/* @noflip */ clear: right;
+
    margin-left: 1.5em;
/* @noflip */ float: right;
+
    text-align: left;
margin: 0 0 0.5em 0.5em;
 
border-collapse: collapse;
 
background-color: white;
 
 
}
 
}
.tpl-infobox td {
+
 
border: 2px none #aaaaaa;
+
/* per-type styles */
padding: 0.2em 0.5em;
+
.tickerEntry_deleted    { }  /* entry for image deletion */
border-bottom: 1px solid #f0f0f0 !important;
+
.tickerEntry_replaced    { }  /* entry for image replacement */
 +
.tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
 +
.tickerEntry_redir      { }  /* entry for critical redirection (fot tag redirects) */
 +
.tickerEntry_recat      { }  /* entry for critical re-categorization (for tag categories) */
 +
.tickerEntry_notify      { }  /* entry for global notifications */
 +
.tickerEntry_changed    { }  /* entry for generic change */
 +
 
 +
/* per-action styles */
 +
.tickerAction_deleted:before {
 +
    content: " GONE ";
 +
    color: #FF0000;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.tpl-infobox-header {
+
 
background-color: #aaaaaa;
+
.tickerAction_deletedRev:before {
color: white;
+
    content: " -OLD ";
text-align: left;
+
    color: #DDAAAA;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.tpl-infobox-header td {
+
 
padding-top: 0.5em;
+
.tickerAction_replaced:before {
 +
    content: " REPL ";
 +
    color: #CC88FF;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
+
 
.ext-infobox-header img {
+
.tickerAction_replacedOwn:before {
padding: 0 0.2em 0 0.5em;
+
    content: " UPDT ";
 +
    color: #EEAAFF;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.ext-status-unstable,
+
.tickerAction_addedBad:before {
.ext-status-unstable td {
+
    content: " +VfD ";
border-color: #990000;
+
    color: #FF8800;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.ext-status-unstable .ext-infobox-header {
+
 
background-color: #990000;
+
.tickerAction_removedBad:before {
color: #ffff00;
+
    content: " -VfD ";
 +
    color: #00BB00;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.ext-status-experimental,
+
 
.ext-status-experimental td {
+
.tickerAction_addedGood:before {
border-color: #ff4500;
+
    content: " +OK  ";
 +
    color: #00BB00;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 +
 +
 
 +
.tickerAction_removedGood:before {
 +
    content: " -OK  ";
 +
    color: #FF8800;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.ext-status-experimental .ext-infobox-header {
+
 
background-color: #ff4500;
+
/* ticker usage list */
 +
.tickerUsage {
 +
    font-size: 80%;
 +
}
 +
 
 +
/* entry applies to a template used by multiple images */
 +
.tickerTemplateEntry {
 +
    font-weight: bold;
 +
}
 +
 
 +
/* entry applies to sub-entries, i.e. images that use a specific template */
 +
.tickerSubEntry { }
 +
 
 +
/* minor entry styles */
 +
/*    minor entry */
 +
.tickerMinorEntry {
 +
    color: #666;
 
}
 
}
.ext-status-beta,
+
 
.ext-status-beta td {
+
.tickerMinorEntry a,
border-color: #ffba01;
+
.tickerMinorEntry a:link,
 +
.tickerMinorEntry a:visited {
 +
    color: #669;
 
}
 
}
.ext-status-beta .ext-infobox-header {
+
 
background-color: #ffba01;
+
#bodyContent .tickerMinorEntry a.extiw,
 +
#bodyContent .tickerMinorEntry a.extiw:link,
 +
#bodyContent .tickerMinorEntry a.extiw:visited {
 +
    color: #669;
 
}
 
}
.ext-status-stable,
+
 
.ext-status-stable td {
+
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
border-color: #32cd32;
+
/* is used (notably Template: PDFlink). This works in IE, unlike the above. */
 +
span.PDFlink a {
 +
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
 +
    padding-right: 17px !important;
 
}
 
}
.ext-status-stable .ext-infobox-header {
+
 
background-color: #32cd32;
+
/* infoboxCountry [[Template:基礎情報 国]]等に */
 +
dl#infoboxCountry {
 +
    clear: right;
 +
    float: right;
 +
    width: 300px;
 +
    margin-left: 0.5em;
 +
    background: #fff;
 
}
 
}
.ext-status-magic,
+
 
.ext-status-magic td {
+
dl#infoboxCountry dt.infoboxCountryNameJa {
border-color: #fe57a1;
+
    font-size: 1.36em;
 +
    margin: 0 0 0.13em;
 +
    text-align: center;
 
}
 
}
.ext-status-magic .ext-infobox-header {
+
 
color: #000;
+
dl#infoboxCountry dt.infoboxCountryName {
background: #FFDBEB url(//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Magic_wand.svg/60px-Magic_wand.svg.png) 0 0 no-repeat;
+
    font-size: 1.13em;
 +
    font-weight: normal;
 +
    margin: 0 0 0.13em;
 +
    text-align: center;
 
}
 
}
.ext-status-magic .ext-infobox-header img {
+
 
visibility: hidden;
+
dl#infoboxCountry dd.infoboxCountryDataA {
padding-right: 1em;
+
    margin: 0;
 +
    padding: 0;
 +
    border-color: #aaa;
 +
    border-width: 1px;
 +
    border-style: solid solid none solid;
 +
    background: #f9f9f9;
 
}
 
}
+
 
.skin-infobox,
+
dl#infoboxCountry table.infoboxCountryPrevSucc {
.skin-infobox td {
+
    width: 298px;
border-color: #a7d7f9;
+
    border-collapse: collapse;
 +
    font-size: 0.95em;
 +
    background: #f9f9f9;
 +
}
 +
 
 +
dl#infoboxCountry table.infoboxCountryPrevSucc td {
 +
    margin: 0;
 +
    padding: 4px;
 +
    text-align: center;
 +
}
 +
 
 +
dl#infoboxCountry td.infoboxCountryPrev {
 +
    text-align: left;
 +
    width: 60px
 +
}
 +
 
 +
dl#infoboxCountry td.infoboxCountrySucc {
 +
    text-align: right;
 +
    width: 60px;
 +
}
 +
 
 +
dl#infoboxCountry table.infoboxCountryInsignia {
 +
    width: 298px;
 +
    border-collapse: collapse;
 +
    font-size: 0.95em;
 +
    background: #eee;
 +
    text-align: center;
 +
    border-top: 1px solid #aaa;
 +
}
 +
dl#infoboxCountry table.infoboxCountryInsignia th {
 +
    padding: 4px;
 +
    width: 50%;
 +
    border: none;
 
}
 
}
.skin-infobox-header {
+
 
color: #000;
+
dl#infoboxCountry table.infoboxCountryInsignia td {
background: #e2f4ff;
+
    padding: 4px;
 +
    font-size: 0.85em;
 
}
 
}
+
 
+
dl#infoboxCountry dd.infoboxCountryAdd,
+
dl#infoboxCountry dd.infoboxCountryMotto,
/**
+
dl#infoboxCountry dd.infoboxCountryAnthem,
* Styling for {{See also}}, {{rellink}} etc.
+
dl#infoboxCountry dd.infoboxCountryMap {
*/
+
    text-align: center;
.rellink,
+
    width: 290px;
.dablink {
+
    margin: 0;
font-style: italic;
+
    padding: 4px;
padding-bottom: 0.4em;
+
    border-color: #aaa;
padding-left: 2em;
+
    border-width: 1px;
margin-bottom: 0.4em;
+
    border-style: solid solid none solid;
 +
}
 +
 
 +
dl#infoboxCountry dd.infoboxCountryAdd,
 +
dl#infoboxCountry dd.infoboxCountryMotto,
 +
dl#infoboxCountry dd.infoboxCountryAnthem {
 +
    font-size: 0.8em;
 +
    background: #f9f9f9;
 
}
 
}
+
 
.mw-tpl-seealso {
+
dl#infoboxCountry dd.infoboxCountryMap {
padding-left: 0;
 
color: #555;
 
border-bottom: 1px solid #ccc;
 
 
}
 
}
+
 
/**
+
dl#infoboxCountry dd.infoboxCountryDataB {
* "Note" boxes ([[Template:Note]])
+
    margin: 0;
*/
+
    padding: 0;
.tip,
+
    border: 1px solid #aaa;
.note {
 
padding: 0.5em;
 
margin: 0.5em 0;
 
overflow: hidden;
 
background-color: #F9F9F9;
 
background-position: 4px 2px;
 
background-repeat: no-repeat;
 
border: 1px solid #DDD;
 
 
}
 
}
.tip-info,
+
 
.note-info {
+
dl#infoboxCountry dd.infoboxCountryDataB table {
background-color: #F0F0E7;
+
    width: 298px;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
+
    border-collapse: collapse;
border-color: #cc9933;
+
    border-color: #aaa;
/* @noflip */ padding-left: 30px;
+
    font-size: 0.9em;
min-height: 28px;
+
    background: #f9f9f9;
 +
    line-height: 1.3;
 
}
 
}
.tip-reminder,
+
 
.note-reminder {
+
dl#infoboxCountry dd.infoboxCountryDataB tr {
background-color: #F6FDEA;
+
    border-color: #aaa;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
+
    vertical-align: top;
border-color: #D6E434;
 
padding-left: 31px;
 
min-height: 28px;
 
 
}
 
}
.tip-error,
+
 
.note-error {
+
dl#infoboxCountry dd.infoboxCountryDataB th {
background-color: #F0E7E7;
+
    padding: 4px;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
+
    border-color: #aaa;
border-color: #cc3333;
+
    border-width: 1px;
padding-left: 32px;
+
    text-align: left;
min-height: 25px;
+
    font-weight: normal;
 +
    width: 50%;
 
}
 
}
+
 
/* Version box on [[Manual:Downloading MediaWiki]] */
+
dl#infoboxCountry dd.infoboxCountryDataB td {
#DownloadVersionBox {
+
    padding: 4px;
border: 2px solid black;
+
    border-color: #aaa;
border-collapse: collapse;
+
    border-width: 1px;
margin: auto;
+
    width: 50%;
width: 50%;
 
color: black;
 
 
}
 
}
#DownloadVersionBox td {
+
 
border: 2px solid black;
+
dl#infoboxCountry td.infoboxCountrySome {
padding: 20px;
+
    padding: 0;
 
}
 
}
+
 
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
+
dl#infoboxCountry td.infoboxCountrySome dl,
.majorwarning {
+
dl#infoboxCountry td.infoboxCountrySome dl dd {
background: yellow;
+
    margin: 0;
padding: 0.3em;
+
    padding: 0;
text-align: center;
 
font-size: 125%;
 
border: 2px solid red;
 
 
}
 
}
+
 
/* Page headings used throughout the wiki (though not very much at the time of writing…) */
+
dl#infoboxCountry td.infoboxCountrySome dl dt {
.page-notice,
+
    margin: 0;
.page-warning {
+
    padding: 4px;
border-width: 1px;
+
    font-weight: normal;
border-style: solid;
+
    border-top: 1px solid #aaa;
padding: 0.3em 0.5em;
 
margin-bottom: 1em;
 
width: 95%;
 
margin-left: auto;
 
margin-right: auto;
 
text-align: center;
 
 
}
 
}
+
 
/* Informative notices at the top of pages (blue) */
+
dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader {
.page-notice {
+
    border-top: none;
background-color: #f9f9f9;
 
border-color: #025e9d;
 
text-align: left;
 
 
}
 
}
+
 
/* Warning information at the top of pages (red) */
+
dl#infoboxCountry td.infoboxCountrySome dl table {
.page-warning {
+
    width: 100%;
background-color: #ffffff;
+
    font-size: 100%;
border-color: #c51919;
+
    border-collapse: collapse;
border-width: 2px;
+
    background: #f9f9f9;
 
}
 
}
.pw-head {
+
 
color: #c51919;
+
dl#infoboxCountry td.infoboxCountrySome dl th {
font-weight: bold;
+
    width: 50%;
 +
    padding: 4px;
 +
    text-indent: 0.75em;
 
}
 
}
+
 
/* Used in Template:Notice */
+
dl#infoboxCountry td.infoboxCountrySome dl td {
.block-note {
+
    width: 50%;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
+
    padding: 4px;
background-position: top left;
+
    border-color: #aaa;
background-repeat: no-repeat;
+
    border-width: 1px;
 +
    border-style: solid none none solid;
 
}
 
}
/**
+
 
* Using block-contents in the hope that it can apply to all block-level warning templates,
+
dd#Infobox_before-after {
* with different images applied as backgrounds to the wrapping DIV.
+
    width: 298px;
*/
+
    margin: 0;
.block-contents {
+
    padding: 0;
display: block;
+
    border-color: #aaa;
padding-left: 20px;
+
    border-width: 1px;
 +
    border-style: none solid solid solid;
 +
    background: #f9f9f9;
 
}
 
}
+
 
/* Template documentation ([[Template:Documentation]]) */
+
dd#Infobox_before-after table {
.template-documentation {
+
    border-collapse: collapse;
clear: both;
+
    width: 100%;
margin: 1em 0 0 0;
+
    background: transparent;
border: 1px solid #aaa;
 
background-color: #ecfcf4;
 
padding: 5px;
 
 
}
 
}
+
 
/* Default style for navigation boxes */
+
dd#Infobox_before-after th {
table.navbox {
+
    width: 50%;
/* Navbox container style */
+
    padding: 0 4px;
border: 1px solid #aaa;
 
width: 100%;
 
margin: auto;
 
clear: both;
 
font-size: 88%;
 
text-align: center;
 
padding: 1px;
 
 
}
 
}
table.navbox + table.navbox {
+
 
/* Single pixel border between adjacent navboxes */
+
dd#Infobox_before-after th.infoboxCountryPrev {
margin-top: -1px;
+
    border-right: 1px solid #ccc;
/* (doesn't work for IE6, but that's okay) */
 
 
}
 
}
.navbox th,
+
 
.navbox-title,
+
dd#Infobox_before-after th.infoboxCountrySucc {
.navbox-abovebelow {
+
    border-left: #ccc 1px solid;
text-align: center;
 
/* Title and above/below styles */
 
padding-left: 1em;
 
padding-right: 1em;
 
 
}
 
}
th.navbox-group {
+
 
/* Group style */
+
dd#Infobox_before-after td.infoboxCountryPrev {
white-space: nowrap;
+
    width: 50%;
/* @noflip */
+
    padding: 2px 4px;
text-align: right;
+
    font-size: 80%;
 +
    text-align: left;
 +
    vertical-align: top;
 +
    border-color: #ccc;
 +
    border-width: 1px;
 +
    border-style: solid solid none none;
 
}
 
}
.navbox,
+
 
.navbox-subgroup {
+
dd#Infobox_before-after td.infoboxCountrySucc {
background: #fdfdfd;
+
    width: 50%;
 +
    padding: 2px 4px;
 +
    font-size: 80%;
 +
    text-align: right;
 +
    vertical-align: top;
 +
    border-color: #ccc;
 +
    border-width: 1px;
 +
    border-style: solid none none solid;
 
}
 
}
.navbox-list {
+
 
/* Must match background color */
+
dl#infoboxCountry dd.infoboxCountryNote {
border-color: #fdfdfd;
+
    font-size: 0.75em;
 +
    width: 290px;
 +
    margin: 0;
 +
    padding: 2px 4px;
 +
    border-color: #aaa;
 +
    border-width: 1px;
 +
    border-style: none solid solid;
 +
    background: #f9f9f9;
 
}
 
}
.navbox th,
+
 
.navbox-title {
+
/* ### nowrap for some table headings ### */
/* Level 1 color */
+
label[for="wpUserEmail"],
background: #ccccff;
+
label[for="wpNick"],
 +
label[for="wpUserLanguage"],
 +
label[for="wpOldpass"],
 +
label[for="wpNewpass"],
 +
label[for="wpRetypePass"],
 +
#userlogin2 label,
 +
#userloginForm label {
 +
    white-space: nowrap
 
}
 
}
.navbox-abovebelow,
+
 
th.navbox-group,
+
/* リダイレクトの表示 */
.navbox-subgroup .navbox-title {
+
 
/* Level 2 color */
+
/* [[特別:Allpages]]・[[特別:Prefixindex]] */
background: #ddddff;
+
.allpagesredirect a:link,
 +
.allpagesredirect a:visited,
 +
/* カテゴリ内 */
 +
.redirect-in-category a:link,
 +
.redirect-in-category a:visited,
 +
/* ウォッチリスト */
 +
.watchlistredir a:link,
 +
.watchlistredir a:visited {
 +
    color: #666;
 
}
 
}
.navbox-subgroup .navbox-group,
+
 
.navbox-subgroup .navbox-abovebelow {
+
/* NavFrame関係。[[MediaWiki:Monobook.css]]も参照 */
/* Level 3 color */
+
div.Boxmerge,
background: #e6e6ff;
+
div.NavFrame {
 +
    margin: 0px;
 +
    padding: 2px;
 +
    border: 1px solid #aaaaaa;
 +
    text-align: center;
 +
    border-collapse: collapse;
 +
    font-size: 95%;
 
}
 
}
.navbox-even {
+
 
/* Even row striping */
+
div.Boxmerge div.NavFrame {
background: #f7f7f7;
+
    border-style: none;
 +
    border-style: hidden;
 
}
 
}
.navbox-odd {
+
 
/* Odd row striping */
+
div.NavPic {
background: transparent;
+
    background-color: #ffffff;
 +
    margin: 0px;
 +
    padding: 2px;
 +
    float: left;
 
}
 
}
.navbox .hlist td dl,
+
 
.navbox .hlist td ol,
+
div.NavFrame div.NavHead {
.navbox .hlist td ul,
+
    height: 1.6em;
.navbox td.hlist dl,
+
    font-weight: bold;
.navbox td.hlist ol,
+
    font-size: 100%;
.navbox td.hlist ul {
+
    background-color: #efefef;
/* Adjust hlist padding in navboxes */
+
    position: relative;
padding: 0.125em 0;
+
    text-align: center;
 
}
 
}
.navbox .hlist dd,
+
 
.navbox .hlist dt,
+
div.NavFrame p {
.navbox .hlist li {
+
    font-size: 100%;
/* Nowrap list items in navboxes */
 
white-space: nowrap;
 
/* IE < 8 no-wraps entire list, so disable it */
 
white-space: normal !ie;
 
 
}
 
}
.navbox .hlist dd dl,
+
 
.navbox .hlist dt dl,
+
div.NavFrame div.NavContent {
.navbox .hlist li ol,
+
    font-size: 100%;
.navbox .hlist li ul {
 
/* But allow parent list items to be wrapped */
 
white-space: normal;
 
 
}
 
}
ol + table.navbox,
+
 
ul + table.navbox {
+
div.NavFrame div.NavContent p {
/* Prevent lists from clinging to navboxes */
+
    font-size: 100%;
margin-top: 0.5em;
 
 
}
 
}
+
 
/* Default styling for Navbar template */
+
div.NavEnd {
.navbar {
+
    margin: 0px;
display: inline;
+
    padding: 0px;
font-size: 88%;
+
    line-height: 1px;
font-weight: normal;
+
    clear: both;
 
}
 
}
.navbar ul {
+
 
display: inline;
+
a.NavToggle {
white-space: nowrap;
+
    position: absolute;
 +
    top: 0px;
 +
    right: 3px;
 +
    font-weight: normal;
 +
/* font-size: 83.3%;*/
 
}
 
}
.navbar li {
+
 
word-spacing: -0.125em;
+
/* Article message box styles */
 +
table.ambox {
 +
    margin: 0px 10%;  /* 10% = 他の要素にはみ出るのを防ぐ */
 +
    border: 1px solid #aaa;
 +
    border-left: 10px solid #1e90ff;    /* 初期値: "notice" の青 */
 +
    background: #fbfbfb;
 
}
 
}
+
table.ambox + table.ambox {  /* 重なったボックスの間を単一の罫線に */
/* Navbar styling when nested in navbox */
+
    margin-top: -1px;
.navbox .navbar {
 
display: block;
 
font-size: 100%;
 
 
}
 
}
.navbox-title .navbar {
+
.ambox th.mbox-text,
/* @noflip */
+
.ambox td.mbox-text {           /* メッセージ本体のセル */
float: left;
+
    padding: 0.25em 0.5em;       /* 左右に 0.5em ずつの余白 */
/* @noflip */
 
text-align: left;
 
/* @noflip */
 
margin-right: 0.5em;
 
width: 6em;
 
 
}
 
}
/* Allow people to optionally wrap lines in source listings */
+
.ambox td.mbox-image {          /* 左の画像セル */
div.wrapPreLines pre {
+
    padding: 2px 0 2px 0.5em;   /* 左に 0.5em、右に 0px の余白 */
white-space: pre-wrap;
 
 
}
 
}
+
.ambox td.mbox-imageright {      /* 右の画像セル */
/**
+
    padding: 2px 0.5em 2px 0;   /* 左に 0px、右に 0.5em の余白  */
* 8. SOME OTHER SMALL THINGS
 
* -------------------------------------------------
 
*/
 
 
/* Give a bit of space to the TOC */
 
#toc {
 
margin: 1em 0;
 
 
}
 
}
 
   
 
   
/**
+
table.ambox-notice {
* Allow limiting of which header levels are shown in a TOC;
+
    border-left: 10px solid #1e90ff;   /* 青 */
* <div class="toclimit-3">, for instance, will limit to
 
* showing ==headings== and ===headings=== but no further.
 
* Used in [[Template:TOC]]
 
*/
 
.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;
 
 
}
 
}
+
table.ambox-speedy {
/* make the list of references look smaller and highlight clicked reference in blue */
+
    border-left: 10px solid #b22222;    /* */
ol.references {
+
    background: #fee;                   /* 桃 */
font-size: 100%;
 
 
}
 
}
.references-small {
+
table.ambox-delete {
font-size: 90%;
+
    border-left: 10px solid #b22222;   /* 赤 */
 
}
 
}
ol.references > li:target {
+
table.ambox-content {
background-color: #ddeeff;
+
    border-left: 10px solid #f28500;   /* 橙 */
 
}
 
}
sup.reference:target {
+
table.ambox-style {
background-color: #ddeeff;
+
    border-left: 10px solid #f4c430;   /* 黄 */
 
}
 
}
+
table.ambox-move {
+
    border-left: 10px solid #9932cc;   /* 紫 */
/**
 
* Styling for links generated by [[MediaWiki:Edittools]]
 
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
 
* @updated 2012-02-29
 
*/
 
.mw-charinsert-buttons {
 
margin-top: 10px;
 
border: 1px solid #aaaaaa;
 
padding: 1px;
 
text-align: center;
 
font-size: 110%;
 
 
}
 
}
.mw-charinsert-buttons a {
+
table.ambox-protection {
color: black;
+
    border-left: 10px solid #bba;       /* 灰色・金色 */
background-color: #cde !important;
 
font-weight: bold;
 
font-size: .9em;
 
text-decoration: none;
 
border: thin #069 outset;
 
padding: 0 .1em .1em;
 
 
}
 
}
.mw-charinsert-buttons a:hover,
+
 
.mw-charinsert-buttons a:active {
+
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
background-color: #bcd;
+
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
border-style: inset;
+
    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%;
 
}
 
}
.client-js .mw-edittools-section {
+
td.mbox-image {                  /* The left image cell */
display: inline;
+
    border: none;
 +
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
 +
    text-align: center;  
 
}
 
}
.client-js .mw-edittools-section input[type="button"] {
+
td.mbox-imageright {             /* The right image cell */
font-size: 0.9em;
+
    border: none;
padding-left: 1px;
+
    padding: 2px 0.9em 2px 0;   /* 0px left, 0.9em right */
padding-right: 1px;
+
    text-align: center;  
margin-left: 1px;
 
 
}
 
}
+
td.mbox-empty-cell {        /* An empty narrow cell */
/* from [[User:Splarka/Help:Linked images]] */
+
    border: none;
.imagelink_wikilogo a {
+
    padding: 0px;
width: 135px;
+
    width: 1px;
height: 135px;
 
display: block;
 
text-decoration: none;
 
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png);
 
 
}
 
}
+
 
/**
+
/*
  * Infoboxes
+
* [[MediaWiki:Revision-info]]、[[MediaWiki:Revision-info-current]]のフォントサイズ調整。
 +
  * 2010-07-15 by [[User:Penn Station]]
 
  */
 
  */
.infobox {
+
#revision-info, #revision-info-current {
float: right;
+
  font-size: small;
clear: right;
+
  margin-top: 4px;
margin-bottom: 0.5em;
 
margin-left: 1em;
 
padding: 0.2em;
 
border: 1px solid #AAA;
 
background: #F9F9F9;
 
color: black;
 
 
}
 
}
+
 
.infobox td,
+
/* ambox - 以下、日本語版の独自拡張 */
.infobox th {
+
table.ambox div.ambox-imagecontainer {   /* 画像セル内の画像表示領域 */
vertical-align: top;
+
    width: 52px;
 
}
 
}
+
table.ambox.ambox-section {             /* 節用メッセージボックス */
.infobox caption {
+
    margin: 0 10%;
margin-left: inherit;
 
font-size: larger;
 
 
}
 
}
+
table.ambox.ambox-section div.ambox-imagecontainer {
.infobox.bordered {
+
    width: 52px;
border-collapse: collapse;
 
 
}
 
}
 
   
 
   
.infobox.bordered td,
+
table.ambox.ambox-section th.mbox-text,
.infobox.bordered th {
+
table.ambox.ambox-section td.mbox-text {
border: 1px solid #AAA;
+
    padding: 0.25em 0.5em;
 
}
 
}
 
   
 
   
.infobox.bordered .borderless td,
+
/* Image message box styles */
.infobox.bordered .borderless th {
+
table.imbox {
border: 0;
+
    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. */
* Apparently the namespaces parameter
 
* for inputbox forces a checkbox.
 
* Let's hide it in the API sidebar
 
*/
 
.mw-inputbox-hideapicheck label[for="mw-inputbox-ns104"],
 
#mw-inputbox-ns104 {
 
display: none;
 
 
}
 
}
+
.mbox-inside .imbox {    /* For imboxes inside other templates. */
/** Testing for code review **/
+
    margin: 4px;
div.mw-wordcloud {
 
width: 100%;
 
text-align: justify;
 
 
}
 
}
 
   
 
   
.mw-wordcloud-size-1 {
+
table.imbox-notice {
color: #222;
+
    border: 3px solid #1e90ff;   /* Blue */
font-size: 2.4em;
 
 
}
 
}
.mw-wordcloud-size-2 {
+
table.imbox-speedy {
color: #333;
+
    border: 3px solid #b22222;   /* Red */
font-size: 2.2em;
+
    background: #fee;             /* Pink */
 
}
 
}
.mw-wordcloud-size-3 {
+
table.imbox-delete {
color: #444;
+
    border: 3px solid #b22222;   /* Red */
font-size: 2.0em;
 
 
}
 
}
.mw-wordcloud-size-4 {
+
table.imbox-content {
color: #555;
+
    border: 3px solid #f28500;   /* Orange */
font-size: 1.8em;
 
 
}
 
}
.mw-wordcloud-size-5 {
+
table.imbox-style {
color: #666;
+
    border: 3px solid #f4c430;   /* Yellow */
font-size: 1.6em;
 
 
}
 
}
.mw-wordcloud-size-6 {
+
table.imbox-move {
color: #777;
+
    border: 3px solid #9932cc;   /* Purple */
font-size: 1.4em;
 
 
}
 
}
.mw-wordcloud-size-7 {
+
table.imbox-protection {
color: #888;
+
    border: 3px solid #bba;       /* Gray-gold */
font-size: 1.2em;
 
 
}
 
}
.mw-wordcloud-size-8 {
+
table.imbox-license {
color: #999;
+
    border: 3px solid #88a;       /* Dark gray */
font-size: 1em;
+
    background: #f7f8ff;         /* Light gray */
 
}
 
}
.mw-wordcloud-size-9 {
+
table.imbox-featured {
color: #aaa;
+
    border: 3px solid #cba135;   /* Brown-gold */
font-size: 0.8em;
 
letter-spacing: 3px;
 
 
}
 
}
.mw-wordcloud-size-10,
+
.mw-wordcloud-size-0 {
+
/* Category message box styles */
color: #bbb;
+
table.cmbox {
font-size: 0.8em;
+
    margin: 3px 10%;
 +
    border-collapse: collapse;
 +
    border: 1px solid #aaa;  
 +
    background: #DFE8FF;   /* Default "notice" blue */
 
}
 
}
 
   
 
   
/* @todo FIXME: document me :) */
+
table.cmbox-notice {
#signuptopbox li {
+
    background: #DFE8FF;    /* Blue */
float: left;
 
list-style: none;
 
font-family: sans-serif;
 
 
}
 
}
#signuptopbox li {
+
table.cmbox-speedy {
color: #3ca7d4;
+
    margin-top: 4px;
background: #c2e1f9;
+
    margin-bottom: 4px;
line-height: 2.8em;
+
    border: 4px solid #b22222;   /* Red */
margin-right: .25em;
+
    background: #FFDBDB;         /* Pink */
padding-right: .5em;
 
 
}
 
}
#signuptopbox li.pr-active,
+
table.cmbox-delete {
#signuptopbox li.pr-active div {
+
    background: #FFDBDB;   /* Red */
color: #67ca36;
 
background: #d4f9c2;
 
border-color: #fff #fff #fff #67ca36;
 
 
}
 
}
#signuptopbox li div {
+
table.cmbox-content {
width: 0;
+
    background: #FFE7CE;   /* Orange */
height: 0;
 
border-color: #fff #fff #fff #3CA7D4;
 
border-style: solid;
 
border-width: 1.4em .3em 1.4em 1.4em;
 
float: left;
 
 
}
 
}
#signuptopbox li span.pr-number {
+
table.cmbox-style {
display: block;
+
    background: #FFF9DB;   /* Yellow */
width: 1.8em;
 
line-height: 1.8em;
 
background: #3ca7d4;
 
color: #c2e1f9;
 
text-align: center;
 
margin: .5em;
 
-webkit-border-radius: 50%;
 
-moz-border-radius: 50%;
 
-ms-border-radius: 50%;
 
-o-border-radius: 50%;
 
border-radius: 50%;
 
font-weight: 600;
 
float: left;
 
 
}
 
}
#signuptopbox li.pr-active span.pr-number {
+
table.cmbox-move {
background: #67ca36;
+
    background: #E4D8FF;   /* Purple */
color: #d4f9c2;
 
 
}
 
}
#signuptopbox li span {
+
table.cmbox-protection {
float: left;
+
    background: #EFEFE1;   /* Gray-gold */
 
}
 
}
#signuptopbox li.pr-spacer {
+
padding: 0;
+
/* Other pages message box styles */
 +
table.ombox {
 +
    margin: 4px 10%;
 +
    border-collapse: collapse;
 +
    border: 1px solid #aaa;      /* Default "notice" gray */
 +
    background: #f9f9f9;
 
}
 
}
 
   
 
   
/* Breadcrumb code */
+
table.ombox-notice {
.breadcrumb {
+
    border: 1px solid #aaa;      /* Gray */
list-style: none;
+
}
overflow: hidden;
+
table.ombox-speedy {
font: 14px Helvetica, Arial, sans-serif;
+
    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 */
 
}
 
}
.breadcrumb li {
+
table.ombox-move {
float: left;
+
    border: 1px solid #9932cc;   /* Purple */
margin-bottom: 0;
 
 
}
 
}
.breadcrumb li a {
+
table.ombox-protection {
color: white;
+
    border: 2px solid #bba;       /* Gray-gold */
text-decoration: none;
 
padding: 10px 0 10px 45px;
 
position: relative;
 
display: block;
 
float: left;
 
 
}
 
}
 
   
 
   
.breadcrumb li a:after {
+
/* Talk page message box styles */
content: " ";
+
table.tmbox {
display: block;
+
    margin: 4px 10%;
width: 0;
+
    border-collapse: collapse;
height: 0;
+
    border: 1px solid #c0c090;   /* Default "notice" gray-brown */
/* Go big on the size, and let overflow hide */
+
    background: #f8eaba;
border-top: 50px solid transparent;
+
}
border-bottom: 50px solid transparent;
+
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
position: absolute;
+
    margin: 2px 0;               /* class ensures that this declaration overrides other */
top: 50%;
+
    width: 100%; /* For Safari and Opera */    /* styles (including mbox-small above) */
margin-top: -50px;
+
}
left: 100%;
+
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
z-index: 2;
+
    line-height: 1.5em;         /* also "nested", so reset styles that are  */ 
 +
    font-size: 100%;             /* set in "mbox-small" above.                */
 
}
 
}
 
   
 
   
.breadcrumb li a:before {
+
table.tmbox-speedy {
content: " ";
+
    border: 2px solid #b22222;   /* Red */
display: block;
+
    background: #fee;             /* Pink */
width: 0;
 
height: 0;
 
border-top: 50px solid transparent;
 
border-bottom: 50px solid transparent;
 
border-left: 31px solid white;
 
position: absolute;
 
top: 50%;
 
margin-top: -50px;
 
margin-left: 1px;
 
left: 100%;
 
z-index: 1;
 
 
}
 
}
+
table.tmbox-delete {
.breadcrumb li:first-child a {
+
    border: 2px solid #b22222;    /* Red */
padding-left: 20px;
+
}
 +
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,
.currentcrumb a {
+
table.tmbox-notice {
background: #069;
+
    border: 1px solid #c0c090;   /* Gray-brown */
 
}
 
}
 
   
 
   
.currentcrumb a:after {
+
/* Disambig and set index box styles */
border-left: 30px solid #069;
+
table.dmbox {
 +
    clear: both;
 +
    margin: 0.9em 1em;
 +
    border-top: 1px solid #ccc;
 +
    border-bottom: 1px solid #ccc;
 +
    background: transparent;
 
}
 
}
 
   
 
   
.currentcrumb a:hover,
+
/* Footer and header message box styles */
.prevcrumb a:hover,
+
table.fmbox {
.nextcrumb a:hover {
+
    clear: both;
background: #002d44;
+
    margin: 0.2em 0;
 +
    width: 100%;
 +
    border: 1px solid #aaa;
 +
    background: #f9f9f9;     /* Default "system" gray */
 
}
 
}
+
table.fmbox-system {
.currentcrumb a:hover:after,
+
    background: #f9f9f9;
.prevcrumb a:hover:after,
 
.nextcrumb a:hover:after {
 
border-left-color: #002d44 !important;
 
 
}
 
}
+
table.fmbox-warning {
.prevcrumb a {
+
    border: 1px solid #bb7070;  /* Dark pink */
background: #396;
+
    background: #ffdbdb;       /* Pink */
 
}
 
}
+
table.fmbox-editnotice {
.prevcrumb a:after {
+
    background: transparent;
border-left: 30px solid #396;
 
 
}
 
}
+
 
.nextcrumb a {
+
/* Div based "warning" style fmbox messages. */
background: #999;
+
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
.nextcrumb a:after {
+
  [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
border-left: 30px solid #999;
+
div.mw-lag-warn-normal,
 +
div.noarticletext,
 +
div.fmbox-system {
 +
    clear: both;
 +
    margin: 0.2em 0;
 +
    border: 1px solid #aaa;
 +
    background: #f9f9f9;
 +
    padding: 0.25em 0.9em;
 
}
 
}
 
   
 
   
/* To facilitate rtl translations */
+
/* These mbox-small classes must be placed after all other
#bodyContent .table-RTL a {
+
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
background: none;
+
  they override "table.ambox + table.ambox" above. */
padding-right: 0;
+
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. */
#bodyContent .table-RTL ul {
+
    margin: 4px 1em 4px 0;
margin-right: 10px;
+
    width: 238px;
display: table;
+
    border-collapse: collapse;
 +
    font-size: 88%;
 +
    line-height: 1.25em;
 
}
 
}
+
 
/* Fix annoying bug where the "date" column in the LQT sometimes
+
/* [[Template: Pathnav]] */
* is two rows because of the date being too long even through there is
+
.pathnavbox {
* enough space (otherwise the browser makes it's own decision on where to cut)
+
    clear: both;
*/
+
    border: 1px outset #eef;
.lqt_toc th:nth-child(3),
+
    padding: 0.3em 0.6em;
.lqt_toc td:nth-child(3) {
+
    margin: 0 0 0.5em 0;
white-space: nowrap;
+
    background-color: #eef;
 +
    font-size: 90%;
 
}
 
}
+
 
.persian {
+
.pathnavbox ul {
font-family: Tahoma;
+
    list-style: none none;
 +
    margin-top: 0;
 +
    margin-bottom: 0;
 
}
 
}
+
 
/**
+
.pathnavbox > ul {
* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
+
    margin: 0;
* [[bugzilla:26204]]
 
*/
 
div.mw-geshi div,
 
div.mw-geshi div pre,
 
span.mw-geshi,
 
pre.source-css,
 
pre.source-javascript {
 
font-family: monospace, "Courier New" !important;
 
 
}
 
}
+
 
/**
+
.pathnavbox ul li {
* Manual:Database_layout
+
    margin: 0;
*/
 
.mwmanual-dbview-box img {
 
opacity: 0.5;
 
 
}
 
}
.mwmanual-dbview-box:hover img {
+
 
opacity: 0.8;
+
/* 脚注ジャンプ先強調 */
 +
ol.references > li:target {  
 +
    background-color: #DEF;
 
}
 
}
.mwmanual-dbview-link {
+
 
background: rgb(198, 212, 235);
+
sup.reference:target {  
background: hsla(217, 48%, 85%, 0.8);
+
    background-color: #DEF;
border: 1px solid #0645AD;
 
border-radius: 4px;
 
padding: 10px 5px;
 
text-align: center;
 
font-weight: bold;
 
 
}
 
}
.mwmanual-dbview-box:hover .mwmanual-dbview-link {
+
 
background: hsla(215, 46%, 95%, 0.8);
+
cite:target {  
 +
    background-color: #DEF;
 
}
 
}
.mwmanual-dbview-link:hover {
+
 
background: hsla(215, 46%, 95%, 0.9);
+
/* Otheruses等の冒頭曖昧さ回避テンプレート */
 +
.dablink {
 +
    margin: 0.5em 0;
 +
    padding: 3px 2em;
 +
    background-color: transparent;
 +
    border-bottom: 1px solid #aaa;
 +
    font-size: 90%;
 
}
 
}
+
 
/**
+
/* どの見出しレベルまで目次に表示するかを制限します。例えば、<div class="toclimit-3"> とすると
* Hide "Edit" tab from [[VisualEditor:Welcome]] until page protection affects VisualEditor extension too (added on 06-29-2012)
+
    ==headings== と ===headings=== が目次に反映され、これより下の見出しレベルは無視されます。*/
* Unhid it for sysops in [[MediaWiki:Group-sysop.css]]
+
.toclimit-2 .toclevel-2 {display: none;}
*/
+
.toclimit-3 .toclevel-3 {display: none;}
body.page-VisualEditor_Welcome li#ca-edit {
+
.toclimit-4 .toclevel-4 {display: none;}
display: none;
+
.toclimit-5 .toclevel-5 {display: none;}
 +
.toclimit-6 .toclevel-6 {display: none;}
 +
.toclimit-7 .toclevel-7 {display: none;}
 +
 
 +
/* 特定場所での改行を防ぐ:
 +
  1) 個別に指定した場所
 +
  2) リンク途中
 +
  3) そのページ自身へのリンク(太字部分)
 +
  4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */
 +
.nowrap,
 +
.nowraplinks a,
 +
.nowraplinks .selflink,
 +
sup.reference a {
 +
    white-space: nowrap;
 
}
 
}
+
/* 以下のクラスを指定した場所では解除する: */
/**
+
.wrap,
* Redesigned <code>.
+
.wraplinks a {
* Should improve readability by not having the samples blend into the white background,
+
    white-space: normal;
* but by having a visible (though subtle) border around the code sample.
 
*/
 
code {
 
  border: 1px solid #ddd;
 
  padding: 1px 4px;
 
  border-radius: 2px;
 
 
}
 
}
+
 
/**
+
/* Geographical coordinates defaults.
* VisualEditor documentation styles - required for displaying document diagrams
+
  See [[Template:Coord/link]] for how these are used.
*/
+
  The classes "geo", "longitude", and "latitude" are used by
.ve-doc-dm-data {
+
  the [[Geo microformat]], so the names should not be changed. */
list-style: none;
+
.geo-default,
cursor: default;
+
.geo-dms,
 +
.geo-dec {
 +
    display: inline;
 
}
 
}
.ve-doc-dm-data li {
+
 
font-family: sans-serif;
+
.geo-nondefault,
text-align: center;
+
.geo-multi-punct {
line-height: 2.25em;
+
    display: none;
display: inline-block;
 
width: 2.25em;
 
height: 2.25em;
 
border: solid 2px white;
 
 
}
 
}
.ve-doc-dm-data li.ve-doc-dm-cursor {
+
 
width: 0.5em;
+
.longitude,
 +
.latitude {
 +
    white-space: nowrap;
 
}
 
}
.ve-doc-dm-cursor:hover {
+
 
border-color: #cccccc;
+
/*
 +
* {{要出典範囲}}の下線部を標準的なディスプレイで表示したときのみ表示されるようにするクラス。
 +
* 2009-01-03 by [[User:mizusumashi]]
 +
*/
 +
@media screen {
 +
    .fix-domain {
 +
        border-bottom:dashed 1px;
 +
    }
 
}
 
}
.ve-doc-dm-open,
+
 
.ve-doc-dm-close {
+
/*
background-color: #50a5f4;
+
* カテゴリページのリスト部にフロート指定のブロックを入れない。
color: #7ddcfd;
+
* 2009-01-24 by [[User:mizusumashi]]
 +
*/
 +
#mw-subcategories, #mw-pages, #mw-category-media {
 +
    clear: both;
 
}
 
}
.ve-doc-dm-open:hover,
+
 
.ve-doc-dm-close:hover {
+
/*
border-color: #7ddcfd;
+
* Content in columns with CSS instead of tables [[Template:Columns]]
 +
* 2009-02-10 by [[User:mizusumashi]]
 +
*/
 +
div.columns-2 div.column {
 +
    float: left;
 +
    width: 50%;
 +
    min-width: 300px;
 
}
 
}
.ve-doc-dm-close {
+
div.columns-3 div.column {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUeNrs0UENgEAQBMGThGMkImFBAp8jTVKVjIHptT4yM8eza947F2KIIYYYYoghBmKIgRhiIIYYiCGG18QQQwwxxBBDDMQQAzHEQAwxEEMMMTYHESMWRIwfBhEjFESMUBAxQkHECAURIxREjFAQMUJBxAgFESMURAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGCfW4ABAPk3h3InIbNlAAAAAElFTkSuQmCC);
+
    float: left;
background-size: contain;
+
    width: 33.3%;
background-position: left top;
+
    min-width: 200px;
background-repeat: no-repeat;
 
 
}
 
}
.ve-doc-dm-char,
+
div.columns-4 div.column {
.ve-doc-dm-achar {
+
    float: left;
border-radius: 3em;
+
    width: 25%;
 +
    min-width: 150px;
 
}
 
}
.ve-doc-dm-char {
+
div.columns-5 div.column {
background-color: #7bcc45;
+
    float: left;
color: #fff;
+
    width: 20%;
 +
    min-width: 120px;
 
}
 
}
.ve-doc-dm-char:hover {
+
 
border-color: #b6f26c;
+
/* 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;
 
}
 
}
.ve-doc-dm-achar {
+
 
background-color: #fa952c;
+
 
color: #fff;
+
/*
 +
* セクション編集リンク
 +
* [[MediaWiki:Common.js]]のmodifyEditsection()のための宣言
 +
* 2009-10-03 by [[User:mizusumashi]]
 +
*/
 +
.editsection-moved {
 +
    margin: 0;
 +
    padding: 0;
 +
    background: none;
 +
    line-height: 90%;
 +
    white-space: nowrap;
 +
    font-size: small;
 +
    font-weight: normal;
 
}
 
}
.ve-doc-dm-achar:hover {
+
 
border-color: #fed045;
+
.editsection-expands {
 +
    /* [[Template:節リンク拡張]]を無効化 */
 +
    display: none;
 
}
 
}
.ve-doc-dm-element-text {
+
 
color: #50a5f4;
+
/* Common.js の LinkFA() を参照 */
 +
#p-lang li.FA {
 +
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/d/d0/Monobook-bullet-star-transparent.png");
 
}
 
}
.ve-doc-dm-char-text {
+
 
color: #7bcc45;
+
/* Common.js の LinkGA() を参照 */
 +
#p-lang li.GA {
 +
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Blue_star_boxed.svg/9px-Blue_star_boxed.svg.png");
 
}
 
}
.ve-doc-dm-achar-text {
+
 
color: #fa952c;
+
/* [[File:Wikipedia-logo-v2-200px-transparent.png]]を背景画像として適用する(2013年版メインページなどで使用) */
 +
.globegris {
 +
  background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
 
}
 
}
+
 
/* For templates in Category:VisualEditor tests templates */
+
/* 上付き脚注番号への太字適用を取り消し */
tt.ve-typing-test {
+
sup.reference {
color: white;
+
    font-weight: normal;
background-color: black;
 
padding: 0 1em 0 1em;
 
 
}
 
}
  
body.page-Main_Page h1.firstHeading { display:none; }
+
/* Unbulleted lists */
 +
.plainlist ol,
 +
.plainlist ul {
 +
    line-height: inherit;
 +
    list-style: none none;
 +
    margin: 0;
 +
}
 +
.plainlist ol li,
 +
.plainlist ul li {
 +
    margin-bottom: 0;
 +
}
 +
/* </source> */

2014年9月20日 (土) 20:53時点における最新版

/* ここに書いた CSS はすべての外装に反映されます */
/* <source lang="css"> */

/*
 * フォント・ファミリの設定
 */
.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', sans-serif;
}

.SAMPA {
    font-family: 'Courier', monospace;
}

/* [[Template:Polytonic]]で使用されていないため、.polytonicは不要と思われる */
:lang(grc) /*, .polytonic */ {
    font-family: 'Athena', 'Gentium', 'Palatino Linotype', 'Arial Unicode MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Code2000', sans-serif;
}

:lang(my), .interwiki-my { font-family: 'Padauk' }
:lang(si), .interwiki-si { font-family: 'KaputaUnicode' }

/* make the list of references look smaller */
ol.references,
div.reflist,
div.refbegin {
    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 */
}

/* wikitable/prettytable class for skinning normal tables */
table.prettytable {
    background: #f9f9f9;
    border: 1px solid #aaa;
    border-collapse: collapse;
}


table.prettytable th,
table.prettytable td {
    border: 1px solid #aaa;
    padding: 0.2em;
}

table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}

table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
}

/* default skin for navigation boxes */
/*     navbox container style */
table.navbox {
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}

/*     single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
table.navbox + table.navbox {
    margin-top: -1px;
}

/*     title and above/below styles */
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

/*     group style */
.navbox-group {
    white-space: nowrap;
    text-align: right;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}

/*     Background color */
.navbox,
.navbox-subgroup {
    background: #fdfdfd;
}

/*     Must match background color */
.navbox-list {
    border-color: #fdfdfd;
}

/*     Level 1 color */
.navbox-title,
table.navbox th {
    background: #ccccff;
}

/*     Level 2 color */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;
}

/*     Level 3 color */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;
}

/*     Even row striping */
.navbox-even {
    background: #f7f7f7;
}

/*     Odd row striping */
.navbox-odd {
    background: transparent;
}

/* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */
.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}
 
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */
.navbox .collapseButton {
    width: 6em;
}

/* [[en:MediaWiki:Common.css]] から複製。 */
/* Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   between list items. This happens when the following conditions are true:
   1) The list is made using wiki markup (where HTML is built by parser.php)
   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: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @maintainer: [[User:Edokter]]
   @revision: 3.1
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
/* 日本語版の独自仕様。-pipe と -hyphen */
.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 dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    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 */
.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;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* Style for "notices" */
.notice {
    text-align: justify;
    margin: 1em;
    padding: 0.2em;
}

#disambig {
    border-top: 3px double #ccc;
    border-bottom: 3px double #ccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

h1 {
    line-height: 1.2em;
}

/* Standard talk template style */
.Talk-Notice {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

.Talk-Notice:after {
    content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]]."
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Metadata */
table.metadata {
    border: 1px solid #aaa;
    display: none;
}

.metadata-label {
    color: #aaa;
}

/* 
 Add formatting to make sure that "external references" from [[Template:Ref]] do
 not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
 that the HTML code contained a SPAN following the anchor A; this SPAN had the class
 "urlexpansion", which was not displayed on screen, but was shown when the medium was
 "print". The rules below ensure (a) that there is no extra padding to the right of
 the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
 the link, and (c) that this SPAN of class "urlexpansion" is never shown.
 ~~~~
*/
.plainlinksneverexpand {
    background: none !important;
    padding: 0 !important;
}

.plainlinksneverexpand .urlexpansion {
    display: none !important;
}

/*
 Make sure that ext links displayed within "plainlinksneverexpand" don't get
 the arrow...
*/
.plainlinksneverexpand a {
    background: none !important;
    padding: 0 !important
}

/*
 With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
 following the anchor A, the anchor itself now has class "external autonumber" and the
 expansion is inserted when printing (see the common printing style sheet at
 //en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
 element of CSS. We have to switch this off for links due to Template:Ref!
 ~~~~
*/
.plainlinksneverexpand a.external.text:after {
    display: none !important;
}

.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}

/* Merge template style */
.messagebox {
    border: 1px solid #aaa;
    background: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: 0.2em;
    text-align: justify;
}

.messagebox.merge {
    border: 2px solid #033;
    width: 55%;
    background: #eff;
    padding: 1em;
    margin: 1em auto 1em auto;
}

.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background: #efefff;
    text-align: center;
}

.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background: #f8eaba;
}

.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    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 #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
    background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat
}

#wpSave {
    font-weight: bold;
}

/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
.hiddenStructure {
    display: none;
    speak: none;
}

/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
    padding-left: 40px;
}

div.videolist,
div.multivideolist {
    background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
    padding-left: 50px;
}

/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    background-position: top left;
    background-repeat: no-repeat;
}

div.medialist ul {
    list-style-type: none; 
    list-style-image: none;
    margin: 0;
}

div.medialist ul li {
    padding-bottom: 0.5em;
}

div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}

/************************/
/* CommonsTicker styles */
/************************/

/* links */
.tickerDiffLink { } /* diff links in ticker */
.tickerMiscLink { } /* misc links in ticker */

/* remove list bullets */
.tickerList ul,
.tickerList ul li {
    list-style: none;
    text-indent: -2em;
    margin-left: 2em;
    text-align: left;
}

.tickerList ul ul,
.tickerList ul ul li {
    list-style: none;
    text-indent: 0;
    margin-left: 1.5em;
    text-align: left;
}

/* per-type styles */
.tickerEntry_deleted     { }  /* entry for image deletion */
.tickerEntry_replaced    { }  /* entry for image replacement */
.tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
.tickerEntry_redir       { }  /* entry for critical redirection (fot tag redirects) */
.tickerEntry_recat       { }  /* entry for critical re-categorization (for tag categories) */
.tickerEntry_notify      { }  /* entry for global notifications */
.tickerEntry_changed     { }  /* entry for generic change */

/* per-action styles */
.tickerAction_deleted:before {
    content: " GONE ";
    color: #FF0000;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

.tickerAction_deletedRev:before {
    content: " -OLD ";
    color: #DDAAAA;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

.tickerAction_replaced:before {
    content: " REPL ";
    color: #CC88FF;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

.tickerAction_replacedOwn:before {
    content: " UPDT ";
    color: #EEAAFF;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}
.tickerAction_addedBad:before {
    content: " +VfD ";
    color: #FF8800;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

.tickerAction_removedBad:before {
    content: " -VfD ";
    color: #00BB00;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

.tickerAction_addedGood:before {
    content: " +OK  ";
    color: #00BB00;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}  

.tickerAction_removedGood:before {
    content: " -OK  ";
    color: #FF8800;
    font-family: monospace;
    font-weight: bold;
    font-size: 100%;
}

/* ticker usage list */
.tickerUsage {
    font-size: 80%;
	}

/* entry applies to a template used by multiple images */
.tickerTemplateEntry {
    font-weight: bold;
	}

/* entry applies to sub-entries, i.e. images that use a specific template */
.tickerSubEntry { }

/* minor entry styles */ 
/*     minor entry */
.tickerMinorEntry {
    color: #666;
}

.tickerMinorEntry a,
.tickerMinorEntry a:link,
.tickerMinorEntry a:visited {
    color: #669;
}

#bodyContent .tickerMinorEntry a.extiw,
#bodyContent .tickerMinorEntry a.extiw:link,
#bodyContent .tickerMinorEntry a.extiw:visited {
    color: #669;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template: PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
    padding-right: 17px !important;
}

/* infoboxCountry [[Template:基礎情報 国]]等に */
dl#infoboxCountry {
    clear: right;
    float: right;
    width: 300px;
    margin-left: 0.5em;
    background: #fff;
}

dl#infoboxCountry dt.infoboxCountryNameJa {
    font-size: 1.36em;
    margin: 0 0 0.13em;
    text-align: center;
}

dl#infoboxCountry dt.infoboxCountryName {
    font-size: 1.13em;
    font-weight: normal;
    margin: 0 0 0.13em;
    text-align: center;
}

dl#infoboxCountry dd.infoboxCountryDataA {
    margin: 0;
    padding: 0;
    border-color: #aaa;
    border-width: 1px;
    border-style: solid solid none solid;
    background: #f9f9f9;
}

dl#infoboxCountry table.infoboxCountryPrevSucc {
    width: 298px;
    border-collapse: collapse;
    font-size: 0.95em;
    background: #f9f9f9;
}

dl#infoboxCountry table.infoboxCountryPrevSucc td {
    margin: 0;
    padding: 4px;
    text-align: center;
}

dl#infoboxCountry td.infoboxCountryPrev {
    text-align: left;
    width: 60px
}

dl#infoboxCountry td.infoboxCountrySucc {
    text-align: right;
    width: 60px;
}

dl#infoboxCountry table.infoboxCountryInsignia {
    width: 298px;
    border-collapse: collapse;
    font-size: 0.95em;
    background: #eee;
    text-align: center;
    border-top: 1px solid #aaa;
}
dl#infoboxCountry table.infoboxCountryInsignia th {
    padding: 4px;
    width: 50%;
    border: none;
}

dl#infoboxCountry table.infoboxCountryInsignia td {
    padding: 4px;
    font-size: 0.85em;
}

dl#infoboxCountry dd.infoboxCountryAdd,
dl#infoboxCountry dd.infoboxCountryMotto,
dl#infoboxCountry dd.infoboxCountryAnthem,
dl#infoboxCountry dd.infoboxCountryMap {
    text-align: center;
    width: 290px;
    margin: 0;
    padding: 4px;
    border-color: #aaa;
    border-width: 1px;
    border-style: solid solid none solid;
}

dl#infoboxCountry dd.infoboxCountryAdd,
dl#infoboxCountry dd.infoboxCountryMotto,
dl#infoboxCountry dd.infoboxCountryAnthem {
    font-size: 0.8em;
    background: #f9f9f9;
}

dl#infoboxCountry dd.infoboxCountryMap {
}

dl#infoboxCountry dd.infoboxCountryDataB {
    margin: 0;
    padding: 0;
    border: 1px solid #aaa;
}

dl#infoboxCountry dd.infoboxCountryDataB table {
    width: 298px;
    border-collapse: collapse;
    border-color: #aaa;
    font-size: 0.9em;
    background: #f9f9f9;
    line-height: 1.3;
}

dl#infoboxCountry dd.infoboxCountryDataB tr {
    border-color: #aaa;
    vertical-align: top;
}

dl#infoboxCountry dd.infoboxCountryDataB th {
    padding: 4px;
    border-color: #aaa;
    border-width: 1px;
    text-align: left;
    font-weight: normal;
    width: 50%;
}

dl#infoboxCountry dd.infoboxCountryDataB td {
    padding: 4px;
    border-color: #aaa;
    border-width: 1px;
    width: 50%;
}

dl#infoboxCountry td.infoboxCountrySome {
    padding: 0;
}

dl#infoboxCountry td.infoboxCountrySome dl,
dl#infoboxCountry td.infoboxCountrySome dl dd {
    margin: 0;
    padding: 0;
}

dl#infoboxCountry td.infoboxCountrySome dl dt {
    margin: 0;
    padding: 4px;
    font-weight: normal;
    border-top: 1px solid #aaa;
}

dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader {
    border-top: none;
}

dl#infoboxCountry td.infoboxCountrySome dl table {
    width: 100%;
    font-size: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
}

dl#infoboxCountry td.infoboxCountrySome dl th {
    width: 50%;
    padding: 4px;
    text-indent: 0.75em;
}

dl#infoboxCountry td.infoboxCountrySome dl td {
    width: 50%;
    padding: 4px;
    border-color: #aaa;
    border-width: 1px;
    border-style: solid none none solid;
}

dd#Infobox_before-after {
    width: 298px;
    margin: 0;
    padding: 0;
    border-color: #aaa;
    border-width: 1px;
    border-style: none solid solid solid;
    background: #f9f9f9;
}

dd#Infobox_before-after table {
    border-collapse: collapse;
    width: 100%;
    background: transparent;
}

dd#Infobox_before-after th {
    width: 50%;
    padding: 0 4px;
}

dd#Infobox_before-after th.infoboxCountryPrev {
    border-right: 1px solid #ccc;
}

dd#Infobox_before-after th.infoboxCountrySucc {
    border-left: #ccc 1px solid;
}

dd#Infobox_before-after td.infoboxCountryPrev {
    width: 50%;
    padding: 2px 4px;
    font-size: 80%;
    text-align: left;
    vertical-align: top;
    border-color: #ccc;
    border-width: 1px;
    border-style: solid solid none none;
}

dd#Infobox_before-after td.infoboxCountrySucc {
    width: 50%;
    padding: 2px 4px;
    font-size: 80%;
    text-align: right;
    vertical-align: top;
    border-color: #ccc;
    border-width: 1px;
    border-style: solid none none solid;
}

dl#infoboxCountry dd.infoboxCountryNote {
    font-size: 0.75em;
    width: 290px;
    margin: 0;
    padding: 2px 4px;
    border-color: #aaa;
    border-width: 1px;
    border-style: none solid solid;
    background: #f9f9f9;
}

/* ### nowrap for some table headings ### */
label[for="wpUserEmail"],
label[for="wpNick"],
label[for="wpUserLanguage"],
label[for="wpOldpass"],
label[for="wpNewpass"],
label[for="wpRetypePass"],
#userlogin2 label,
#userloginForm label {
    white-space: nowrap
}

/* リダイレクトの表示 */

/* [[特別: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.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}

div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}

div.NavPic {
    background-color: #ffffff;
    margin: 0px;
    padding: 2px;
    float: left;
}

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%;
}

div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}

a.NavToggle {
    position: absolute;
    top: 0px;
    right: 3px;
    font-weight: normal;
/* font-size: 83.3%;*/
}

/* Article message box styles */
table.ambox {
    margin: 0px 10%;   /* 10% = 他の要素にはみ出るのを防ぐ */
    border: 1px solid #aaa;
    border-left: 10px solid #1e90ff;    /* 初期値: "notice" の青 */
    background: #fbfbfb;
}
table.ambox + table.ambox {   /* 重なったボックスの間を単一の罫線に */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* メッセージ本体のセル */
    padding: 0.25em 0.5em;       /* 左右に 0.5em ずつの余白 */
}
.ambox td.mbox-image {           /* 左の画像セル */
    padding: 2px 0 2px 0.5em;    /* 左に 0.5em、右に 0px の余白 */
}
.ambox td.mbox-imageright {      /* 右の画像セル */
    padding: 2px 0.5em 2px 0;    /* 左に 0px、右に 0.5em の余白  */
}
 
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;
}

/*
 * [[MediaWiki:Revision-info]]、[[MediaWiki:Revision-info-current]]のフォントサイズ調整。
 * 2010-07-15 by [[User:Penn Station]]
 */
#revision-info, #revision-info-current {
   font-size: small;
   margin-top: 4px;
}

/* 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 #aaa; 
    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 #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}
 
table.ombox-notice {
    border: 1px solid #aaa;       /* 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 */
}
 
/* Disambig and set index box styles */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
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 #aaa;
    background: #f9f9f9;
    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;
}

/* 脚注ジャンプ先強調 */
ol.references > li:target { 
    background-color: #DEF;
}

sup.reference:target { 
    background-color: #DEF;
}

cite:target { 
    background-color: #DEF;
}

/* Otheruses等の冒頭曖昧さ回避テンプレート */
.dablink {
    margin: 0.5em 0;
    padding: 3px 2em;
    background-color: transparent;
    border-bottom: 1px solid #aaa;
    font-size: 90%;
}

/* どの見出しレベルまで目次に表示するかを制限します。例えば、<div class="toclimit-3"> とすると
     ==headings== と ===headings=== が目次に反映され、これより下の見出しレベルは無視されます。*/
.toclimit-2 .toclevel-2 {display: none;}
.toclimit-3 .toclevel-3 {display: none;}
.toclimit-4 .toclevel-4 {display: none;}
.toclimit-5 .toclevel-5 {display: none;}
.toclimit-6 .toclevel-6 {display: none;}
.toclimit-7 .toclevel-7 {display: none;}

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

/* Geographical coordinates defaults. 
   See [[Template:Coord/link]] for how these are used. 
   The classes "geo", "longitude", and "latitude" are used by 
   the [[Geo microformat]], so the names should not be changed. */
.geo-default,
.geo-dms,
.geo-dec {
    display: inline;
}

.geo-nondefault,
.geo-multi-punct {
    display: none;
}

.longitude,
.latitude {
    white-space: nowrap;
}

/*
 * {{要出典範囲}}の下線部を標準的なディスプレイで表示したときのみ表示されるようにするクラス。
 * 2009-01-03 by [[User:mizusumashi]]
 */
@media screen {
    .fix-domain {
        border-bottom:dashed 1px;
    }
}

/*
 * カテゴリページのリスト部にフロート指定のブロックを入れない。
 * 2009-01-24 by [[User:mizusumashi]]
 */
#mw-subcategories, #mw-pages, #mw-category-media {
    clear: both;
}

/*
 * Content in columns with CSS instead of tables [[Template:Columns]]
 * 2009-02-10 by [[User:mizusumashi]]
 */
div.columns-2 div.column {
    float: left;
    width: 50%;
    min-width: 300px;
}
div.columns-3 div.column {
    float: left;
    width: 33.3%;
    min-width: 200px;
}
div.columns-4 div.column {
    float: left;
    width: 25%;
    min-width: 150px;
}
div.columns-5 div.column {
    float: left;
    width: 20%;
    min-width: 120px;
}

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


/*
 * セクション編集リンク
 * [[MediaWiki:Common.js]]のmodifyEditsection()のための宣言
 * 2009-10-03 by [[User:mizusumashi]]
 */
.editsection-moved {
    margin: 0;
    padding: 0;
    background: none;
    line-height: 90%;
    white-space: nowrap;
    font-size: small;
    font-weight: normal;
}

.editsection-expands {
    /* [[Template:節リンク拡張]]を無効化 */
    display: none;
}

/* Common.js の LinkFA() を参照 */
#p-lang li.FA {
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/d/d0/Monobook-bullet-star-transparent.png");
}

/* Common.js の LinkGA() を参照 */
#p-lang li.GA {
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Blue_star_boxed.svg/9px-Blue_star_boxed.svg.png");
}

/* [[File:Wikipedia-logo-v2-200px-transparent.png]]を背景画像として適用する(2013年版メインページなどで使用) */
.globegris {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
}

/* 上付き脚注番号への太字適用を取り消し */
sup.reference {
    font-weight: normal;
}

/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ol li,
.plainlist ul li {
    margin-bottom: 0;
}
/* </source> */