差分

7,648 バイト追加 、 2012年6月2日 (土) 09:46
編集の要約なし
1行目: 1行目:  +
/* ここに書いた CSS はすべての外装に反映されます */
 +
/* <source lang="css"> */
 +
 
/*
 
/*
This is the CSS for all skins (for all users) on MediaWiki.org.
+
  * フォント・ファミリの設定
   
  −
SECTIONS:
  −
1. Indication of namespaces
  −
2. Color classes for content
  −
3. Special pages
  −
4. Main page styling
  −
5. Sidebar external links
  −
6. [[Extension Matrix]] stuff
  −
7. Wikitables, infobox templates, warnings, and other such stylings
  −
8. Some other small things
  −
*/
  −
  −
/**
  −
* 1. INDICATION OF NAMESPACES
  −
* -------------------------------------------------
   
  */
 
  */
 +
.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;
 +
}
 
   
 
   
/* Pseudo NS Special (light grey) */
+
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */
.ns--2 #content { background-color: #f4f4f4; }
+
.navbox .collapseButton {
.ns--2 div.thumb { border-color: #f4f4f4; }
+
    width: 6em;
+
}
/* NS Project + Project_talk (light sky blue) */
+
 
.ns-4 #content,
+
/* Style for "notices" */
.ns-5 #content { background-color: #f8fcff; }
+
.notice {
.ns-4 div.thumb,
+
    text-align: justify;
.ns-5 div.thumb { border-color: #f8fcff; }
+
    margin: 1em;
+
    padding: 0.2em;
/* NS MediaWiki + MediaWiki_talk (light grey) */
+
}
.ns-8 #content,
+
 
.ns-9 #content { background-color: #f4f4f4; }
+
#disambig {
.ns-8 div.thumb,
+
    border-top: 3px double #ccc;
.ns-9 div.thumb { border-color: #f4f4f4; }
+
    border-bottom: 3px double #ccc;
  −
/* NS Manual + Manual_talk (light bluish violet) */
  −
.ns-100 #content,
  −
.ns-101 #content { background-color: #f3f3ff; }
  −
.ns-100 div.thumb,
  −
.ns-101 div.thumb { border-color: #f3f3ff; }
  −
  −
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon) */
  −
.ns-12 #content {
  −
border: 2px solid #0000cc;
  −
border-right: none;
  −
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
  −
background-repeat: no-repeat;
  −
background-position: right top;
   
}
 
}
.ns-12 #bodyContent {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
+
#spoiler {
background-repeat: no-repeat;
+
    border-top: 2px solid #ddd;
background-position: right 5em;
+
    border-bottom: 2px solid #ddd;
 
}
 
}
+
 
/**
+
h1 {
* 2. COLOR CLASSES FOR CONTENT
+
    line-height: 1.2em;
* -------------------------------------------------
  −
*/
  −
  −
/* 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;
   
}
 
}
+
 
.mw-viewprevnext {
+
/* Standard talk template style */
display: block;
+
.Talk-Notice {
border: 1px solid #cccccc;
+
    border: 1px solid #c0c090;
background-color: #f9f9f2;
+
    background-color: #f8eaba;
padding: 0.2em 0.4em;
+
    margin-bottom: 3px;
 +
    width: 85%;
 +
    border-spacing: 3px;
 +
    margin-left: auto;
 +
    margin-right: auto;
 
}
 
}
+
 
/**
+
.Talk-Notice:after {
* 4. MAIN PAGE STYLING
+
    content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]]."
* -------------------------------------------------
  −
*/
  −
  −
#mainpage_topbox {
  −
background: #f9f9f9;
  −
padding: 0px;
  −
border: 1px solid #aaaaaa;
  −
margin: 0.2em 10px 10px;
   
}
 
}
.mainpage_boxtitle,
+
 
.mainpage_hubtitle,
+
/* Make template background appear correctly on all browsers */
#mainpage_pagetitle {
+
.Talk-Notice td {
font-size: 105%;
+
    background: inherit;
padding: 0.4em;
  −
background-color: #eeeeee;
  −
border-bottom: 1px solid #aaaaaa;
   
}
 
}
.mainpage_boxtitle {
+
 
line-height: 120%;
+
/* Metadata */
 +
table.metadata {
 +
    border: 1px solid #aaa;
 +
    display: none;
 
}
 
}
#mainpage_pagetitle {
+
 
color: #cf7606;
+
.metadata-label {
font-size: 200% !important;
+
    color: #aaa;
 
}
 
}
#mainpage_sitelinks {
+
 
padding: 0.2em;
+
/*
text-align: center;
+
Add formatting to make sure that "external references" from [[Template:Ref]] do
background-color: white;
+
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.
 +
[[利用者:Licorice|りこりす]] 2012年6月2日 (土) 09:46 (JST)
 +
*/
 +
.plainlinksneverexpand {
 +
    background: none !important;
 +
    padding: 0 !important;
 
}
 
}
.mainpage_hubtitle {
+
 
text-align: center;
+
.plainlinksneverexpand .urlexpansion {
 +
    display: none !important;
 
}
 
}
.mainpage_boxcontents,
+
 
.mainpage_boxcontents_small {
+
/*
background: #ffffff;
+
Make sure that ext links displayed within "plainlinksneverexpand" don't get
padding: 0.2em 0.4em;
+
the arrow...
 +
*/
 +
.plainlinksneverexpand a {
 +
    background: none !important;
 +
    padding: 0 !important
 
}
 
}
.mainpage_boxcontents_small {
+
 
font-size: 95%;
+
/*
 +
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!
 +
[[利用者:Licorice|りこりす]] 2012年6月2日 (土) 09:46 (JST)
 +
*/
 +
.plainlinksneverexpand a.external.text:after {
 +
    display: none !important;
 
}
 
}
.mainpage_hubbox,
+
 
#mainpage_newscell,
+
.plainlinksneverexpand a.external.autonumber:after {
#mainpage_downloadcell,
+
    display: none !important;
#mainpage_opportunitiescell,
  −
#mainpage_featuredpagescell {
  −
padding: 0;
  −
border: 1px solid #aaaaaa;
   
}
 
}
.mainpage_hubbox {
+
 
margin-bottom: 0;
+
/* Merge template style */
 +
.messagebox {
 +
    border: 1px solid #aaa;
 +
    background: #f9f9f9;
 +
    width: 80%;
 +
    margin: 0 auto 1em auto;
 +
    padding: 0.2em;
 +
    text-align: justify;
 
}
 
}
#mainpage_newscell {
+
 
margin-bottom: 15px;
+
.messagebox.merge {
margin-top: 0 !important;
+
    border: 2px solid #033;
 +
    width: 55%;
 +
    background: #eff;
 +
    padding: 1em;
 +
    margin: 1em auto 1em auto;
 
}
 
}
#mainpage_newscell .mainpage_boxtitle {
+
 
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
+
.messagebox.cleanup {
background-repeat: no-repeat;
+
    border: 1px solid #9f9fff;
background-position: 99% 0.3em;
+
    background: #efefff;
padding-right: 25px;
+
    text-align: center;
 
}
 
}
#mainpage_downloadcell {
+
 
width: 17em;
+
.messagebox.standard-talk {
margin-bottom: 5px;
+
    border: 1px solid #c0c090;
 +
    background: #f8eaba;
 
}
 
}
#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);
+
.infobox {
background-repeat: no-repeat;
+
    border: 1px solid #aaa;
background-position: 96% 0.33em;
+
    background-color: #f9f9f9;
padding-right: 25px;
+
    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;
 
}
 
}
#mainpage_opportunitiescell {
+
.infobox caption {
max-width: 25em;
+
    margin-top: 0.5em;
margin-bottom: 15px;
+
    font-size: 125%;
margin-top: 0 !important;
+
    font-weight: bold;
 
}
 
}
#mainpage_opportunitiescell .mainpage_boxtitle {
+
.infobox td,
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
+
.infobox th {
background-repeat: no-repeat;
+
    vertical-align: top;
background-position: 98% 0.15em;
  −
padding-right: 25px;
   
}
 
}
#mainpage_featuredpagescell {
+
.infobox.bordered {
max-width: 25em;
+
    border-collapse: collapse;
margin-bottom: 15px;
  −
margin-top: 0 !important;
   
}
 
}
#mainpage_featuredpagescell .mainpage_boxtitle {
+
.infobox.bordered td,
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
+
.infobox.bordered th {
background-repeat: no-repeat;
+
    border: 1px solid #aaa;
background-position: 98% 0.15em;
  −
padding-right: 25px;
   
}
 
}
/* The words 'MediaWiki.org' in the title. */
+
.infobox.bordered .borderless td,
#mainpage_mwtitle {
+
.infobox.bordered .borderless th {
color: #005288;
+
    border: 0;
 
}
 
}
 
   
 
   
/**
+
.infobox.sisterproject {
* The "mainpage" class is added to the body with JavaScript for the main page in all
+
    width: 20em;
* languages, so we can style things that apppear on the main page and also elsewhere.
+
    font-size: 90%;
*/
+
}
.mainpage #lastmod,
+
 
.mainpage #siteSub,
+
/* Put a checker background at the image description page only visible if the image has transparent background */
.mainpage h1.firstHeading {
+
#file img {
display: none !important;
+
    background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat
 +
}
 +
 
 +
#wpSave {
 +
    font-weight: bold;
 
}
 
}
.mainpage #content {
+
 
padding-top: 1em;
+
/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
 +
.hiddenStructure {
 +
    display: none;
 +
    speak: none;
 
}
 
}
+
 
.mainpage_boxcontents ul li:first-child {
+
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
list-style: none;
+
div.listenlist {
border-bottom: 1px solid #AAA;
+
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
margin-bottom: 0.5em;
+
    padding-left: 40px;
margin-left: -1.5em;
  −
text-align: center;
   
}
 
}
+
 
/**
+
div.videolist,
* 5. SIDEBAR EXTERNAL LINKS
+
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;
#n-blog-text a,
  −
#n-mw-repo-commits a,
  −
#n-mw-repo-codereview a,
  −
#n-browse-repo a,
  −
#n-phpdoc a {
  −
background: url(//upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png) center right no-repeat;
  −
padding-right: 13px;
  −
color: #3366bb;
   
}
 
}
+
 
+
/* Style rules for media list templates */
/**
+
div.medialist {
* 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS
+
    min-height: 50px;
* -------------------------------------------------
+
    margin: 1em;
*/
+
    background-position: top left;
+
    background-repeat: no-repeat;
/* Custom h* styles (blue headings) */
  −
.wikitable td.hl3,
  −
.wikitable th.hl3 {
  −
background-color: #8da7d6;
   
}
 
}
.wikitable td.hl1,
+
 
.wikitable th.hl1 {
+
div.medialist ul {
background: #c5d8fc;
+
    list-style-type: none;
 +
    list-style-image: none;
 +
    margin: 0;
 
}
 
}
.wikitable td.hl2,
+
 
.wikitable th.hl2 {
+
div.medialist ul li {
background: #a7c1f2;
+
    padding-bottom: 0.5em;
 
}
 
}
+
 
/**
+
div.medialist ul li li {
* Make entire table valign=top,
+
    font-size: 91%;
* To replace the |valign=top| on every cell.
+
    padding-bottom: 0;
*/
  −
.vatop tr,
  −
tr.vatop,
  −
.vatop td,
  −
.vatop th {
  −
vertical-align: top;
   
}
 
}
+
 
/* General purpose "pretty (data) tables" */
+
/************************/
table.datatable {
+
/* CommonsTicker styles */
background-color: transparent;
+
/************************/
 +
 
 +
/* 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;
 
}
 
}
+
 
table.datatable th,
+
.tickerList ul ul,
table.datatable td {
+
.tickerList ul ul li {
padding: 4px;
+
    list-style: none;
 +
    text-indent: 0;
 +
    margin-left: 1.5em;
 +
    text-align: left;
 
}
 
}
   
+
 
table.datatable th {
+
/* per-type styles */
text-align: left;
+
.tickerEntry_deleted    { }  /* entry for image deletion */
background-color: #999999;
+
.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%;
 
}
 
}
+
 
table.datatable tr {
+
.tickerAction_deletedRev:before {
background-color: #cccccc;
+
    content: " -OLD ";
 +
    color: #DDAAAA;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
+
 
table.datatable tr:hover {
+
.tickerAction_replaced:before {
background-color: #ffffcc;
+
    content: " REPL ";
 +
    color: #CC88FF;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
+
 
/* SideBox styling */
+
.tickerAction_replacedOwn:before {
div.sideBox {
+
    content: " UPDT ";
position: relative;
+
    color: #EEAAFF;
float: right;
+
    font-family: monospace;
background: white;
+
    font-weight: bold;
margin-left: 1em;
+
    font-size: 100%;
border: 1px solid gray;
  −
padding: 0.3em;
  −
width: 200px;
  −
overflow: hidden;
  −
clear: right;
   
}
 
}
div.sideBox dl {
+
.tickerAction_addedBad:before {
padding: 0;
+
    content: " +VfD ";
margin: 0 0 0.3em 0;
+
    color: #FF8800;
font-size: 96%;
+
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
div.sideBox dl dt {
+
 
background: none;
+
.tickerAction_removedBad:before {
margin: 0.4em 0 0 0;
+
    content: " -VfD ";
 +
    color: #00BB00;
 +
    font-family: monospace;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
div.sideBox dl dd {
+
 
margin: 0.1em 0 0 1.1em;
+
.tickerAction_addedGood:before {
background-color: #f3f3f3;
+
    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%;
 
}
 
}
+
 
/* Extension infobox styling */
+
/* ticker usage list */
.ext-infobox {
+
.tickerUsage {
border: 2px solid #aaaaaa;
+
    font-size: 80%;
width: 272px;
+
}
float: right;
+
 
margin: 0 0 0.5em 0.5em;
+
/* entry applies to a template used by multiple images */
border-collapse: collapse;
+
.tickerTemplateEntry {
background-color: white;
+
    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-infobox td {
+
 
border: 2px none #aaaaaa;
+
.tickerMinorEntry a,
padding: 0.2em 0.5em;
+
.tickerMinorEntry a:link,
border-bottom: 1px solid #f0f0f0 !important;
+
.tickerMinorEntry a:visited {
 +
    color: #669;
 
}
 
}
.ext-header {
+
 
background-color: #aaaaaa;
+
#bodyContent .tickerMinorEntry a.extiw,
color: white;
+
#bodyContent .tickerMinorEntry a.extiw:link,
text-align: left;
+
#bodyContent .tickerMinorEntry a.extiw:visited {
 +
    color: #669;
 
}
 
}
.ext-header td { padding-top: 0.5em; }
+
 
.ext-header img { padding: 0 0.2em 0 0.5em; }
+
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
.ext-status-unstable,
+
/* is used (notably Template: PDFlink). This works in IE, unlike the above. */
.ext-status-unstable td { border-color: #990000; }
+
span.PDFlink a {
.ext-status-unstable .ext-header { background-color: #990000; color: #ffff00; }
+
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
.ext-status-experimental,
+
    padding-right: 17px !important;
.ext-status-experimental td { border-color: #ff4500; }
  −
.ext-status-experimental .ext-header { background-color: #ff4500; }
  −
.ext-status-beta,
  −
.ext-status-beta td { border-color: #ffba01; }
  −
.ext-status-beta .ext-header { background-color: #ffba01; }
  −
.ext-status-stable,
  −
.ext-status-stable td { border-color: #32cd32; }
  −
.ext-status-stable .ext-header { background-color: #32cd32; }
  −
.ext-status-magic,
  −
.ext-status-magic td { border-color: #fe57a1; }
  −
.ext-status-magic .ext-header {
  −
color: #000;
  −
background: #FFDBEB url(//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Magic_wand.svg/60px-Magic_wand.svg.png) 0 0 no-repeat;
   
}
 
}
.ext-status-magic .ext-header img {
+
 
visibility: hidden;
+
/* infoboxCountry [[Template:基礎情報 国]]等に */
padding-right: 1em;
+
dl#infoboxCountry {
 +
    clear: right;
 +
    float: right;
 +
    width: 300px;
 +
    margin-left: 0.5em;
 +
    background: #fff;
 
}
 
}
+
 
/* Version box on [[Manual:Downloading MediaWiki]] */
+
dl#infoboxCountry dt.infoboxCountryNameJa {
#DownloadVersionBox {
+
    font-size: 1.36em;
border: 2px solid black;
+
    margin: 0 0 0.13em;
border-collapse: collapse;
+
    text-align: center;
margin: auto;
  −
width: 50%;
  −
color: black;
   
}
 
}
#DownloadVersionBox td {
+
 
border: 2px solid black;
+
dl#infoboxCountry dt.infoboxCountryName {
padding: 20px;
+
    font-size: 1.13em;
 +
    font-weight: normal;
 +
    margin: 0 0 0.13em;
 +
    text-align: center;
 
}
 
}
+
 
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
+
dl#infoboxCountry dd.infoboxCountryDataA {
.majorwarning {
+
    margin: 0;
background: yellow;
+
    padding: 0;
padding: 0.3em;
+
    border-color: #aaa;
text-align: center;
+
    border-width: 1px;
font-size: 125%;
+
    border-style: solid solid none solid;
border: 2px solid red;
+
    background: #f9f9f9;
 
}
 
}
+
 
/* Page headings used throughout the wiki (though not very much at the time of writing…) */
+
dl#infoboxCountry table.infoboxCountryPrevSucc {
.page-notice,
+
    width: 298px;
.page-warning {
+
    border-collapse: collapse;
border-width: 1px;
+
    font-size: 0.95em;
border-style: solid;
+
    background: #f9f9f9;
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 table.infoboxCountryPrevSucc td {
.page-notice {
+
    margin: 0;
background-color: #f9f9f9;
+
    padding: 4px;
border-color: #025e9d;
+
    text-align: center;
text-align: left;
   
}
 
}
+
 
/* Warning information at the top of pages (red) */
+
dl#infoboxCountry td.infoboxCountryPrev {
.page-warning {
+
    text-align: left;
background-color: #ffffff;
+
    width: 60px
border-color: #c51919;
  −
border-width: 2px;
   
}
 
}
.pw-head {
+
 
color: #c51919;
+
dl#infoboxCountry td.infoboxCountrySucc {
font-weight: bold;
+
    text-align: right;
 +
    width: 60px;
 
}
 
}
+
 
/* Used in Template:Notice */
+
dl#infoboxCountry table.infoboxCountryInsignia {
.block-note {
+
    width: 298px;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
+
    border-collapse: collapse;
background-position: top left;
+
    font-size: 0.95em;
background-repeat: no-repeat;
+
    background: #eee;
 +
    text-align: center;
 +
    border-top: 1px solid #aaa;
 
}
 
}
/**
+
dl#infoboxCountry table.infoboxCountryInsignia th {
* Using block-contents in the hope that it can apply to all block-level warning templates,
+
    padding: 4px;
* with different images applied as backgrounds to the wrapping DIV.
+
    width: 50%;
*/
+
    border: none;
.block-contents {
  −
display: block;
  −
padding-left: 20px;
   
}
 
}
+
 
/* Template documentation ([[Template:Documentation]]) */
+
dl#infoboxCountry table.infoboxCountryInsignia td {
.template-documentation {
+
    padding: 4px;
clear: both;
+
    font-size: 0.85em;
margin: 1em 0 0 0;
  −
border: 1px solid #aaa;
  −
background-color: #ecfcf4;
  −
padding: 5px;
   
}
 
}
+
 
/* Default style for navigation boxes */
+
dl#infoboxCountry dd.infoboxCountryAdd,
table.navbox {
+
dl#infoboxCountry dd.infoboxCountryMotto,
/* Navbox container style */
+
dl#infoboxCountry dd.infoboxCountryAnthem,
border: 1px solid #aaa;
+
dl#infoboxCountry dd.infoboxCountryMap {
width: 100%;
+
    text-align: center;
margin: auto;
+
    width: 290px;
clear: both;
+
    margin: 0;
font-size: 88%;
+
    padding: 4px;
text-align: center;
+
    border-color: #aaa;
padding: 1px;
+
    border-width: 1px;
 +
    border-style: solid solid none solid;
 
}
 
}
table.navbox + table.navbox {
+
 
/* Single pixel border between adjacent navboxes */
+
dl#infoboxCountry dd.infoboxCountryAdd,
margin-top: -1px;
+
dl#infoboxCountry dd.infoboxCountryMotto,
/* (doesn't work for IE6, but that's okay) */
+
dl#infoboxCountry dd.infoboxCountryAnthem {
 +
    font-size: 0.8em;
 +
    background: #f9f9f9;
 
}
 
}
.navbox th,
+
 
.navbox-title,
+
dl#infoboxCountry dd.infoboxCountryMap {
.navbox-abovebelow {
  −
text-align: center;
  −
/* Title and above/below styles */
  −
padding-left: 1em;
  −
padding-right: 1em;
   
}
 
}
th.navbox-group {
+
 
/* Group style */
+
dl#infoboxCountry dd.infoboxCountryDataB {
white-space: nowrap;
+
    margin: 0;
/* @noflip */
+
    padding: 0;
text-align: right;
+
    border: 1px solid #aaa;
 
}
 
}
.navbox,
+
 
.navbox-subgroup {
+
dl#infoboxCountry dd.infoboxCountryDataB table {
background: #fdfdfd;
+
    width: 298px;
 +
    border-collapse: collapse;
 +
    border-color: #aaa;
 +
    font-size: 0.9em;
 +
    background: #f9f9f9;
 +
    line-height: 1.3;
 
}
 
}
.navbox-list {
+
 
/* Must match background color */
+
dl#infoboxCountry dd.infoboxCountryDataB tr {
border-color: #fdfdfd;
+
    border-color: #aaa;
 +
    vertical-align: top;
 
}
 
}
.navbox th,
+
 
.navbox-title {
+
dl#infoboxCountry dd.infoboxCountryDataB th {
/* Level 1 color */
+
    padding: 4px;
background: #ccccff;
+
    border-color: #aaa;
 +
    border-width: 1px;
 +
    text-align: left;
 +
    font-weight: normal;
 +
    width: 50%;
 
}
 
}
.navbox-abovebelow,
+
 
th.navbox-group,
+
dl#infoboxCountry dd.infoboxCountryDataB td {
.navbox-subgroup .navbox-title {
+
    padding: 4px;
/* Level 2 color */
+
    border-color: #aaa;
background: #ddddff;
+
    border-width: 1px;
 +
    width: 50%;
 
}
 
}
.navbox-subgroup .navbox-group,
+
 
.navbox-subgroup .navbox-abovebelow {
+
dl#infoboxCountry td.infoboxCountrySome {
/* Level 3 color */
+
    padding: 0;
background: #e6e6ff;
   
}
 
}
.navbox-even {
+
 
/* Even row striping */
+
dl#infoboxCountry td.infoboxCountrySome dl,
background: #f7f7f7;
+
dl#infoboxCountry td.infoboxCountrySome dl dd {
 +
    margin: 0;
 +
    padding: 0;
 
}
 
}
.navbox-odd {
+
 
/* Odd row striping */
+
dl#infoboxCountry td.infoboxCountrySome dl dt {
background: transparent;
+
    margin: 0;
 +
    padding: 4px;
 +
    font-weight: normal;
 +
    border-top: 1px solid #aaa;
 
}
 
}
.navbox .hlist td dl,
+
 
.navbox .hlist td ol,
+
dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader {
.navbox .hlist td ul,
+
    border-top: none;
.navbox td.hlist dl,
  −
.navbox td.hlist ol,
  −
.navbox td.hlist ul {
  −
/* Adjust hlist padding in navboxes */
  −
padding: 0.125em 0;
   
}
 
}
.navbox .hlist dd,
+
 
.navbox .hlist dt,
+
dl#infoboxCountry td.infoboxCountrySome dl table {
.navbox .hlist li {
+
    width: 100%;
/* Nowrap list items in navboxes */
+
    font-size: 100%;
white-space: nowrap;
+
    border-collapse: collapse;
/* IE < 8 no-wraps entire list, so disable it */
+
    background: #f9f9f9;
white-space: normal !ie;
   
}
 
}
.navbox .hlist dd dl,
+
 
.navbox .hlist dt dl,
+
dl#infoboxCountry td.infoboxCountrySome dl th {
.navbox .hlist li ol,
+
    width: 50%;
.navbox .hlist li ul {
+
    padding: 4px;
/* But allow parent list items to be wrapped */
+
    text-indent: 0.75em;
white-space: normal;
   
}
 
}
ol + table.navbox,
+
 
ul + table.navbox {
+
dl#infoboxCountry td.infoboxCountrySome dl td {
/* Prevent lists from clinging to navboxes */
+
    width: 50%;
margin-top: 0.5em;
+
    padding: 4px;
 +
    border-color: #aaa;
 +
    border-width: 1px;
 +
    border-style: solid none none solid;
 
}
 
}
+
 
/* Default styling for Navbar template */
+
dd#Infobox_before-after {
.navbar {
+
    width: 298px;
display: inline;
+
    margin: 0;
font-size: 88%;
+
    padding: 0;
font-weight: normal;
+
    border-color: #aaa;
 +
    border-width: 1px;
 +
    border-style: none solid solid solid;
 +
    background: #f9f9f9;
 
}
 
}
.navbar ul {
+
 
display: inline;
+
dd#Infobox_before-after table {
white-space: nowrap;
+
    border-collapse: collapse;
 +
    width: 100%;
 +
    background: transparent;
 
}
 
}
.navbar li {
+
 
word-spacing: -0.125em;
+
dd#Infobox_before-after th {
 +
    width: 50%;
 +
    padding: 0 4px;
 
}
 
}
+
 
/* Navbar styling when nested in navbox */
+
dd#Infobox_before-after th.infoboxCountryPrev {
.navbox .navbar {
+
    border-right: 1px solid #ccc;
display: block;
  −
font-size: 100%;
   
}
 
}
.navbox-title .navbar {
+
 
/* @noflip */
+
dd#Infobox_before-after th.infoboxCountrySucc {
float: left;
+
    border-left: #ccc 1px solid;
/* @noflip */
  −
text-align: left;
  −
/* @noflip */
  −
margin-right: 0.5em;
  −
width: 6em;
   
}
 
}
/* Allow people to optionally wrap lines in source listings */
+
 
div.wrapPreLines pre {
+
dd#Infobox_before-after td.infoboxCountryPrev {
white-space: pre-wrap;
+
    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 {
* 8. SOME OTHER SMALL THINGS
+
    width: 50%;
* -------------------------------------------------
+
    padding: 2px 4px;
*/
+
    font-size: 80%;
+
    text-align: right;
/* Give a bit of space to the TOC */
+
    vertical-align: top;
#toc {
+
    border-color: #ccc;
margin: 1em 0;
+
    border-width: 1px;
 +
    border-style: solid none none solid;
 
}
 
}
+
 
/**
+
dl#infoboxCountry dd.infoboxCountryNote {
* Allow limiting of which header levels are shown in a TOC;
+
    font-size: 0.75em;
* <div class="toclimit-3">, for instance, will limit to
+
    width: 290px;
* showing ==headings== and ===headings=== but no further.
+
    margin: 0;
* Used in [[Template:TOCright]]
+
    padding: 2px 4px;
*/
+
    border-color: #aaa;
.toclimit-2 .toclevel-1 ul,
+
    border-width: 1px;
.toclimit-3 .toclevel-2 ul,
+
    border-style: none solid solid;
.toclimit-4 .toclevel-3 ul,
+
    background: #f9f9f9;
.toclimit-5 .toclevel-4 ul,
  −
.toclimit-6 .toclevel-5 ul,
  −
.toclimit-7 .toclevel-6 ul {
  −
display: none;
   
}
 
}
+
 
/* make the list of references look smaller and highlight clicked reference in blue */
+
/* ### nowrap for some table headings ### */
ol.references {
+
label[for="wpUserEmail"],
font-size: 100%;
+
label[for="wpNick"],
 +
label[for="wpUserLanguage"],
 +
label[for="wpOldpass"],
 +
label[for="wpNewpass"],
 +
label[for="wpRetypePass"],
 +
#userlogin2 label,
 +
#userloginForm label {
 +
    white-space: nowrap
 
}
 
}
.references-small {
+
 
font-size: 90%;
+
/* リダイレクトの表示 */
 +
 
 +
/* [[特別: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;
 
}
 
}
ol.references > li:target {
+
 
background-color: #ddeeff;
+
/* 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%;
 
}
 
}
sup.reference:target {
+
 
background-color: #ddeeff;
+
div.Boxmerge div.NavFrame {
 +
    border-style: none;
 +
    border-style: hidden;
 
}
 
}
+
 
+
div.NavPic {
/**
+
    background-color: #ffffff;
* Styling for links generated by [[MediaWiki:Edittools]]
+
    margin: 0px;
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
+
    padding: 2px;
* @updated 2012-02-29
+
    float: left;
*/
  −
.mw-charinsert-buttons {
  −
margin-top: 10px;
  −
border: 1px solid #aaaaaa;
  −
padding: 1px;
  −
text-align: center;
  −
font-size: 110%;
   
}
 
}
.mw-charinsert-buttons a {
+
 
color: black;
+
div.NavFrame div.NavHead {
background-color: #cde !important;
+
    height: 1.6em;
font-weight: bold;
+
    font-weight: bold;
font-size: .9em;
+
    font-size: 100%;
text-decoration: none;
+
    background-color: #efefef;
border: thin #069 outset;
+
    position: relative;
padding: 0 .1em .1em;
+
    text-align: center;
 
}
 
}
.mw-charinsert-buttons a:hover,
+
 
.mw-charinsert-buttons a:active {
+
div.NavFrame p {
background-color: #bcd;
+
    font-size: 100%;
border-style: inset;
   
}
 
}
.client-js .mw-edittools-section {
+
 
display: inline;
+
div.NavFrame div.NavContent {
 +
    font-size: 100%;
 
}
 
}
.client-js .mw-edittools-section input[type="button"] {
+
 
font-size: 0.9em;
+
div.NavFrame div.NavContent p {
padding-left: 1px;
+
    font-size: 100%;
padding-right: 1px;
  −
margin-left: 1px;
   
}
 
}
+
 
/* from [[User:Splarka/Help:Linked images]] */
+
div.NavEnd {
.imagelink_wikilogo a {
+
    margin: 0px;
width: 135px;
+
    padding: 0px;
height: 135px;
+
    line-height: 1px;
display: block;
+
    clear: both;
text-decoration: none;
  −
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png);
   
}
 
}
+
 
/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/
+
a.NavToggle {
table.mbox {
+
    position: absolute;
margin: 4px 10%;
+
    top: 0px;
border-collapse: collapse;
+
    right: 3px;
border: 1px solid #aaa; /* Default "notice" gray */
+
    font-weight: normal;
background: #f9f9f9;
+
/* font-size: 83.3%;*/
 
}
 
}
table.mbox-wide {
+
 
margin: 4px 0;
+
/* 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 {   /* 重なったボックスの間を単一の罫線に */
th.mbox-text,
+
    margin-top: -1px;
td.mbox-text { /* The message body cell(s) */
  −
border: none;
  −
/* 0.9em left/right */
  −
padding: 0.25em 0.9em;
  −
/* Make all mboxes the same width regardless of text length */
  −
width: 100%;
   
}
 
}
/* The left image cell */
+
.ambox th.mbox-text,
td.mbox-image {
+
.ambox td.mbox-text {           /* メッセージ本体のセル */
border: none;
+
    padding: 0.25em 0.5em;       /* 左右に 0.5em ずつの余白 */
/* 0.9em left, 0px right */
  −
padding: 2px 0 2px 0.9em;
  −
text-align: center;
   
}
 
}
/* The right image cell */
+
.ambox td.mbox-image {           /* 左の画像セル */
td.mbox-imageright {
+
    padding: 2px 0 2px 0.5em;   /* 左に 0.5em、右に 0px の余白 */
border: none;
  −
/* 0px left, 0.9em right */
  −
padding: 2px 0.9em 2px 0;
  −
text-align: center;
   
}
 
}
/* An empty narrow cell */
+
.ambox td.mbox-imageright {     /* 右の画像セル */
td.mbox-empty-cell {
+
    padding: 2px 0.5em 2px 0;   /* 左に 0px、右に 0.5em の余白  */
border: none;
  −
padding: 0px;
  −
width: 1px;
   
}
 
}
 
   
 
   
/**
+
table.ambox-notice {
* These mbox-small classes must be placed after all other
+
    border-left: 10px solid #1e90ff;    /* */
* ambox/tmbox/ombox etc classes. "body.mediawiki" is so
+
}
* they override "table.ambox + table.ambox" above.
+
table.ambox-speedy {
*/
+
    border-left: 10px solid #b22222;   /* 赤 */
/* For the "small=yes" option. */
+
    background: #fee;                   /* 桃 */
body.mediawiki table.mbox-small {
  −
clear: right;
  −
float: right;
  −
margin: 4px 0 4px 1em;
  −
width: 238px;
  −
font-size: 88%;
  −
line-height: 1.25em;
   
}
 
}
/* For the "small=left" option. */
+
table.ambox-delete {
body.mediawiki table.mbox-small-left {
+
    border-left: 10px solid #b22222;   /* 赤 */
margin: 4px 1em 4px 0;
  −
width: 238px;
  −
border-collapse: collapse;
  −
font-size: 88%;
  −
line-height: 1.25em;
   
}
 
}
+
table.ambox-content {
/**
+
    border-left: 10px solid #f28500;   /* */
* These are the same colours as the enwiki
  −
* 'cmbox' styles; just with different names.
  −
*/
  −
table.mbox-critical {
  −
/* Red */
  −
border: 4px solid #b22222;
  −
/* Pink */
  −
background: #FFDBDB;
   
}
 
}
table.mbox-important {
+
table.ambox-style {
/* Red */
+
    border-left: 10px solid #f4c430;    /* */
background: #FFDBDB;
   
}
 
}
table.mbox-warning {
+
table.ambox-move {
/* Orange */
+
    border-left: 10px solid #9932cc;    /* */
background: #FFE7CE;
   
}
 
}
table.mbox-caution {
+
table.ambox-protection {
/* Yellow */
+
    border-left: 10px solid #bba;      /* 灰色・金色 */
background: #FFF9DB;
   
}
 
}
table.mbox-notice {
+
 
/* Blue */
+
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
background: #D8E8FF;
+
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%;
 
}
 
}
table.mbox-move {
+
td.mbox-image {                 /* The left image cell */
/* Purple */
+
    border: none;
background: #E4D8FF;
+
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
 +
    text-align: center;  
 
}
 
}
table.mbox-protection {
+
td.mbox-imageright {             /* The right image cell */
/* Gray-gold */
+
    border: none;
background: #EFEFE1;
+
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
 +
    text-align: center;  
 
}
 
}
table.mbox-license {
+
td.mbox-empty-cell {         /* An empty narrow cell */
/* Dark gray */
+
    border: none;
border: 3px solid #88a;
+
    padding: 0px;
/* Light gray */
+
    width: 1px;
background: #f7f8ff;
   
}
 
}
+
 
/**
+
/*
  * 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 */
 
}
 
}
 
   
 
   
/* Styling for related links and disambiguation links */
+
table.cmbox-notice {
.rellink,
+
    background: #DFE8FF;    /* Blue */
.dablink {
+
}
font-style: italic;
+
table.cmbox-speedy {
margin-bottom: 0.5em;
+
    margin-top: 4px;
padding-left: 2em;
+
    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 */
 
}
 
}
 
   
 
   
/* @todo FIXME: document me :) */
+
/* Other pages message box styles */
#signuptopbox li {
+
table.ombox {
float: left;
+
    margin: 4px 10%;  
list-style: none;
+
    border-collapse: collapse;
font-family: sans-serif;
+
    border: 1px solid #aaa;       /* Default "notice" gray */
 +
    background: #f9f9f9;
 
}
 
}
#signuptopbox li {
+
color: #3ca7d4;
+
table.ombox-notice {
background: #c2e1f9;
+
    border: 1px solid #aaa;       /* Gray */
line-height: 2.8em;
  −
margin-right: .25em;
  −
padding-right: .5em;
   
}
 
}
#signuptopbox li.pr-active,
+
table.ombox-speedy {
#signuptopbox li.pr-active div {
+
    border: 2px solid #b22222;   /* Red */
color: #67ca36;
+
    background: #fee;             /* Pink */
background: #d4f9c2;
  −
border-color: #fff #fff #fff #67ca36;
   
}
 
}
#signuptopbox li div {
+
table.ombox-delete {
width: 0;
+
    border: 2px solid #b22222;   /* Red */
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.ombox-content {
display: block;
+
    border: 1px solid #f28500;   /* Orange */
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.ombox-style {
background: #67ca36;
+
    border: 1px solid #f4c430;   /* Yellow */
color: #d4f9c2;
   
}
 
}
#signuptopbox li span {
+
table.ombox-move {
float: left;
+
    border: 1px solid #9932cc;   /* Purple */
 
}
 
}
#signuptopbox li.pr-spacer {
+
table.ombox-protection {
padding: 0;
+
    border: 2px solid #bba;       /* Gray-gold */
 
}
 
}
 
   
 
   
/* BREADCRUMB CODE */
+
/* 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.                */
 +
}
 
   
 
   
.breadcrumb {
+
table.tmbox-speedy {
list-style: none;
+
    border: 2px solid #b22222;    /* Red */
overflow: hidden;
+
    background: #fee;            /* Pink */
font: 14px Helvetica, Arial, sans-serif;
+
}
 +
table.tmbox-delete {
 +
    border: 2px solid #b22222;   /* Red */
 +
}
 +
table.tmbox-content {
 +
    border: 2px solid #f28500;   /* Orange */
 +
}
 +
table.tmbox-style {
 +
    border: 2px solid #f4c430;   /* Yellow */
 
}
 
}
.breadcrumb li {
+
table.tmbox-move {
float: left;
+
    border: 2px solid #9932cc;   /* Purple */
margin-bottom: 0;
   
}
 
}
.breadcrumb li a {
+
table.tmbox-protection,
color: white;
+
table.tmbox-notice {
text-decoration: none;
+
    border: 1px solid #c0c090;   /* Gray-brown */
padding: 10px 0 10px 45px;
  −
position: relative;
  −
display: block;
  −
float: left;
   
}
 
}
 
   
 
   
.breadcrumb li a:after {
+
/* Disambig and set index box styles */
content: " ";
+
table.dmbox {
display: block;
+
    clear: both;  
width: 0;
+
    margin: 0.9em 1em;  
height: 0;
+
    border-top: 1px solid #ccc;  
/* Go big on the size, and let overflow hide */
+
    border-bottom: 1px solid #ccc;  
border-top: 50px solid transparent;
+
    background: transparent;
border-bottom: 50px solid transparent;
  −
position: absolute;
  −
top: 50%;
  −
margin-top: -50px;
  −
left: 100%;
  −
z-index: 2;
   
}
 
}
 
   
 
   
.breadcrumb li a:before {
+
/* Footer and header message box styles */
content: " ";
+
table.fmbox {
display: block;
+
    clear: both;
width: 0;
+
    margin: 0.2em 0;
height: 0;
+
    width: 100%;
border-top: 50px solid transparent;
+
    border: 1px solid #aaa;
border-bottom: 50px solid transparent;
+
    background: #f9f9f9;    /* Default "system" gray */
border-left: 31px solid white;
+
}
position: absolute;
+
table.fmbox-system {
top: 50%;
+
    background: #f9f9f9;
margin-top: -50px;
+
}
margin-left: 1px;
+
table.fmbox-warning {
left: 100%;
+
    border: 1px solid #bb7070;  /* Dark pink */
z-index: 1;
+
    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;
 
}
 
}
 
   
 
   
.breadcrumb li:first-child a {
+
/* These mbox-small classes must be placed after all other
padding-left: 20px;
+
  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%;
 
}
 
}
+
 
.currentcrumb a {
+
.pathnavbox ul {
background: #069;
+
    list-style: none none;
 +
    margin-top: 0;
 +
    margin-bottom: 0;
 +
}
 +
 
 +
.pathnavbox > ul {
 +
    margin: 0;
 
}
 
}
+
 
.currentcrumb a:after {
+
.pathnavbox ul li {
border-left: 30px solid #069;
+
    margin: 0;
 
}
 
}
+
 
.currentcrumb a:hover,
+
/* 脚注ジャンプ先強調 */
.prevcrumb a:hover,
+
ol.references > li:target {  
.nextcrumb a:hover {
+
    background-color: #DEF;
background: #002d44;
   
}
 
}
+
 
.currentcrumb a:hover:after,
+
sup.reference:target {  
.prevcrumb a:hover:after,
+
    background-color: #DEF;
.nextcrumb a:hover:after {
  −
border-left-color: #002d44 !important;
   
}
 
}
+
 
.prevcrumb a {
+
cite:target {  
background: #396;
+
    background-color: #DEF;
 
}
 
}
+
 
.prevcrumb a:after {
+
/* Otheruses等の冒頭曖昧さ回避テンプレート */
border-left: 30px solid #396;
+
.dablink {
 +
    margin: 0.5em 0;
 +
    padding: 3px 2em;
 +
    background-color: transparent;
 +
    border-bottom: 1px solid #aaa;
 +
    font-size: 90%;
 
}
 
}
+
 
.nextcrumb a {
+
/* どの見出しレベルまで目次に表示するかを制限します。例えば、<div class="toclimit-3"> とすると
background: #999;
+
    ==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;}
 +
 
 +
/* リンク中での改行を防ぐ */
 +
.nowraplinks a {
 +
    white-space: nowrap;
 
}
 
}
+
 
.nextcrumb a:after {
+
/* Geographical coordinates defaults.  
border-left: 30px solid #999;
+
  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;
 
}
 
}
+
 
/* To facilitate rtl translations */
+
.geo-nondefault,
#bodyContent .table-RTL a {
+
.geo-multi-punct {
background: none;
+
    display: none;
padding-right: 0;
   
}
 
}
+
 
#bodyContent .table-RTL ul {
+
.longitude,
margin-right: 10px;
+
.latitude {
display: table;
+
    white-space: nowrap;
 
}
 
}
+
 
/* Fix annoying bug where the "date" column in the LQT sometimes
+
/*
  * is two rows because of the date being too long even through there is
+
  * {{要出典範囲}}の下線部を標準的なディスプレイで表示したときのみ表示されるようにするクラス。
  * enough space (otherwise the browser makes it's own decision on where to cut)
+
  * 2009-01-03 by [[User:mizusumashi]]
 
  */
 
  */
.lqt_toc th:nth-child(3),
+
@media screen {
.lqt_toc td:nth-child(3) {
+
    .fix-domain {
white-space: nowrap;
+
        border-bottom:dashed 1px;
 +
    }
 
}
 
}
   
+
 
.persian {
+
/*
font-family: Tahoma;
+
* カテゴリページのリスト部にフロート指定のブロックを入れない。
 +
* 2009-01-24 by [[User:mizusumashi]]
 +
  */
 +
#mw-subcategories, #mw-pages, #mw-category-media {
 +
    clear: both;
 
}
 
}
+
 
/**
+
/*
  * Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
+
  * Content in columns with CSS instead of tables [[Template:Columns]]
  * [[bugzilla:26204]]
+
  * 2009-02-10 by [[User:mizusumashi]]
 
  */
 
  */
div.mw-geshi div,
+
div.columns-2 div.column {
div.mw-geshi div pre,
+
    float: left;
span.mw-geshi,
+
    width: 50%;
pre.source-css,
+
    min-width: 300px;
pre.source-javascript {
+
}
font-family: monospace, "Courier New" !important;
+
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;
 
}
 
}
+
 
/**
+
 
  * Manual:Database_layout
+
/*
 +
* セクション編集リンク
 +
* [[MediaWiki:Common.js]]のmodifyEditsection()のための宣言
 +
  * 2009-10-03 by [[User:mizusumashi]]
 
  */
 
  */
.mwmanual-dbview-box img {
+
.editsection-moved {
opacity: 0.5;
+
    margin: 0;
}
+
    padding: 0;
.mwmanual-dbview-box:hover img {
+
    background: none;
opacity: 0.8;
+
    line-height: 90%;
 +
    white-space: nowrap;
 +
    font-size: small;
 +
    font-weight: normal;
 
}
 
}
.mwmanual-dbview-link {
+
 
background: rgb(198, 212, 235);
+
.editsection-expands {
background: hsla(217, 48%, 85%, 0.8);
+
    /* [[Template:節リンク拡張]]を無効化 */
border: 1px solid #0645AD;
+
    display: none;
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);
+
/* Common.js の LinkFA() を参照 */
 +
#p-lang li.FA {
 +
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/d/d0/Monobook-bullet-star-transparent.png");
 
}
 
}
.mwmanual-dbview-link:hover {
+
 
background: hsla(215, 46%, 95%, 0.9);
+
/* 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");
 
}
 
}
 +
 +
/* </source> */
122

回編集