「MediaWiki:Common.css」の版間の差分
細編集の要約なし |
編集の要約なし |
||
(同じ利用者による、間の43版が非表示) | |||
40行目: | 40行目: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
overflow-x: auto; | |||
min-width: 640px; | |||
margin: 0 10px 50px; | |||
} | |||
@media screen and (max-width: 640px) { | |||
} | } | ||
315行目: | 321行目: | ||
/* Put a checker background at the image description page only visible if the image has transparent background */ | /* Put a checker background at the image description page only visible if the image has transparent background */ | ||
#file img { | #file img { | ||
background: url(" | background: url("/images/Checker-16x16.png") repeat | ||
} | } | ||
330行目: | 336行目: | ||
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */ | /* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */ | ||
div.listenlist { | div.listenlist { | ||
padding-left: 40px; | padding-left: 40px; | ||
} | } | ||
336行目: | 341行目: | ||
div.videolist, | div.videolist, | ||
div.multivideolist { | div.multivideolist { | ||
padding-left: 50px; | padding-left: 50px; | ||
} | } | ||
1,315行目: | 1,319行目: | ||
pre, .mw-code { | pre, .mw-code { | ||
overflow: auto; | overflow: auto; | ||
background-color: #d5ddda; | |||
} | } | ||
/* </source> */ | /* </source> */ | ||
/* | /* ----- Gizmo Labs layout ----- */ | ||
/* Links */ | |||
a { | |||
text-decoration: none; | |||
color: #0645ad; | |||
background: none; | |||
text-shadow: 0 0 2px #CACACA; | |||
} | |||
a:visited { | |||
color: #0b0080; | |||
} | |||
a:active { | |||
color: #faa700; | |||
} | |||
a:hover, a:focus { | |||
text-decoration: underline; | |||
} | |||
a.stub { | |||
color: #772233; | |||
} | |||
a.new, #p-personal a.new { | |||
color: #ba0000; | |||
} | |||
a.new:visited, #p-personal a.new:visited { | |||
color: #a55858; | |||
} | |||
/* Inline Elements */ | |||
img { | |||
border: none; | |||
vertical-align: middle; | |||
} | |||
hr { | |||
height: 1px; | |||
color: #aaa; | |||
background-color: #aaa; | |||
border: 0; | |||
margin: .2em 0 .2em 0; | |||
} | |||
/* Structural Elements */ | |||
h1, h2, h3, h4, h5, h6 { | |||
background: none; | |||
font-weight: normal; | |||
margin: 0 0 0.5em 0; | |||
overflow: hidden; | |||
padding-top: .5em; | |||
padding-bottom: .25em; | |||
border-bottom: 1px solid #aaa; | |||
width: auto; | |||
text-shadow: 1px 1px 1px #ACACAC; | |||
} | |||
h1 { font-size: 188%; } | |||
h1 .editsection { font-size: 53%; } | |||
h2 { font-size: 150%; } | |||
h2 .editsection { font-size: 67%; } | |||
h3, h4, h5, h6 { | |||
border-bottom: none; | |||
font-weight: bold; | |||
} | |||
h3 { font-size: 132%; } | |||
h3 .editsection { font-size: 76%; font-weight: normal; } | |||
h4 { font-size: 116%; } | |||
h4 .editsection { font-size: 86%; font-weight: normal; } | |||
h5 { font-size: 100%; } | |||
h5 .editsection { font-weight: normal; } | |||
h6 { font-size: 80%; } | |||
h6 .editsection { font-size: 125%; font-weight: normal; } | |||
.editsection { float: right; } | |||
p { | |||
margin: .4em 0 .5em 0; | |||
line-height: 1.5em; | |||
} | |||
p img { | |||
margin: 0; | |||
} | |||
q { | |||
font-family: Times, "Times New Roman", serif; | |||
font-style: italic; | |||
} | |||
#side-ads{ | |||
z-index: 1; | |||
position: absolute; | |||
right: 0px; | |||
clear: left; | |||
float: right; | |||
width: 217px; | |||
background-color: #fff; | |||
} | |||
.mw-content-container { | |||
width: calc(100% - 220px); | |||
} | |||
div.mcol2{ | |||
column-width: 420px; | |||
column-gap: 30px; | |||
column-rule-style: solid; | |||
column-rule-width: 1px; | |||
column-rule-color: #dedede; | |||
padding-top: 1em; | |||
} | |||
div.mcol3{ | |||
column-width: 240px; | |||
column-gap: 30px; | |||
column-rule-style: solid; | |||
column-rule-width: 1px; | |||
column-rule-color: #dedede; | |||
padding-top: 1em; | |||
} | |||
div.topribon{ | |||
position: fixed; | |||
border: 1px solid #E4EEFE; | |||
border-top: 0px; | |||
width: auto; | |||
min-width: 450px; | |||
top: 0px; | |||
left: 12.5em; | |||
right: 30em; | |||
padding: 0px 6px; | |||
background-color: #E4F9FE; | |||
background-image: gradient(center bottom , #ffffff 10%, #E4F9FE 100%); | |||
background-image: -moz-linear-gradient(center bottom , #ffffff 10%, #E4F9FE 100%); | |||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.05, #ffffff), color-stop(0.5, #E4F9FE), color-stop(0.64, rgb(228,249,254))); border-radius: 0px 0px 3px 3px; | |||
-moz-border-radius: 0px 0px 3px 3px; | |||
z-index: 10; | |||
} | |||
table.gallery { | |||
border: 1px solid #ccc; | |||
margin: 2px; | |||
padding: 2px; | |||
background-color: white; | |||
} | |||
table.gallery tr { | |||
vertical-align: top; | |||
} | |||
table.gallery td { | |||
vertical-align: top; | |||
background-color: #f9f9f9; | |||
border: solid 2px white; | |||
} | |||
/* Keep this temporarily so that cached pages will display right */ | |||
table.gallery td.galleryheader { | |||
text-align: center; | |||
font-weight: bold; | |||
} | |||
table.gallery caption { | |||
font-weight: bold; | |||
} | |||
div.gallerybox { | |||
margin: 2px; | |||
} | |||
div.gallerybox div.thumb { | |||
text-align: center; | |||
border: 1px solid #ccc; | |||
margin: 2px; | |||
} | |||
div.gallerytext { | |||
overflow: hidden; | |||
font-size: 94%; | |||
padding: 2px 4px; | |||
} | |||
/* Table of Contents */ | |||
#toc, | |||
.toc, | |||
.mw-warning { | |||
float: right; | |||
} | |||
h2 { | h2 { | ||
clear: both; | clear: both; | ||
1,325行目: | 1,511行目: | ||
.css_btn { | .css_btn { | ||
font-size:14px; | font-size:14px; | ||
-moz-border-radius: | -moz-border-radius:3px; | ||
-webkit-border-radius: | -webkit-border-radius:3px; | ||
border-radius: | border-radius:3px; | ||
border:1px solid #83c41a; | border:1px solid #83c41a; | ||
padding:5px 18px; | padding:5px 18px; | ||
1,342行目: | 1,528行目: | ||
-moz-box-shadow: 0px 0px 3px 3px #bef7e7; | -moz-box-shadow: 0px 0px 3px 3px #bef7e7; | ||
box-shadow: 0px 0px 3px 3px #bef7e7; | box-shadow: 0px 0px 3px 3px #bef7e7; | ||
}.css_btn:hover { | } | ||
.css_btn:hover { | |||
background:-webkit-gradient( linear, left top, left bottom, color-stop(33%, #8cb82b), color-stop(72%, #9dce2c) ); | background:-webkit-gradient( linear, left top, left bottom, color-stop(33%, #8cb82b), color-stop(72%, #9dce2c) ); | ||
background:-moz-linear-gradient( center top, #8cb82b 33%, #9dce2c 72% ); | background:-moz-linear-gradient( center top, #8cb82b 33%, #9dce2c 72% ); | ||
1,352行目: | 1,539行目: | ||
top:2px; | top:2px; | ||
} | } | ||
/* | |||
.gzfootmenu { | |||
z-index:100; | |||
bottom: 0; | |||
margin-right:240px; | |||
height:5.5em; | |||
position: fixed; | |||
overflow-y: scroll; | |||
background-color: #F8FEF8; | |||
border-top: 3px dotted #393; | |||
border-right: 3px dotted #393; | |||
border-left: 3px dotted #393; | |||
box-shadow: 0 0 3px #336633; | |||
opacity: 0.85; | |||
} | |||
.gzfootmenu:hover { | |||
height:46%; | |||
transition: height ease-in-out 500ms; | |||
-o-transition: height ease-in-out 500ms; | |||
-moz-transition: height ease-in-out 500ms; | |||
-webkit-transition: height ease-in-out 500ms; | |||
opacity: 1.0; | |||
} | |||
span.hotkey { | |||
background: none repeat scroll 0 0 #8e998e; | |||
border-color: #CECBC7 #666 #666 #CECBC7; | |||
border-image: none; | |||
border-right: 1px solid #666; | |||
border-style: solid; | |||
border-width: 1px; | |||
color: #fff; | |||
font-size: 0.8em; | |||
padding: 0.1em 0.4em; | |||
white-space: nowrap; | |||
} | |||
/* ----- End Gizmo Labs layout ----- */ |
2023年6月17日 (土) 07:45時点における最新版
/* ここに書いた 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 { font-size: 100%; } .references-small { font-size: 90%; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { background: #f9f9f9; border: 1px solid #aaa; border-collapse: collapse; overflow-x: auto; min-width: 640px; margin: 0 10px 50px; } @media screen and (max-width: 640px) { } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px solid #aaa; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, 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; } @media print { .navbox { display: none; } } @media screen { /* 「@media print」を認識できずに、スクリーンでも「.navbox {display: none;}」を適用してしまうブラウザ(IE 5.x)に対応 参照: http://ja.wikipedia.org/w/index.php?oldid=28133708#.E6.B3.A8.E6.84.8F.E5.96.9A.E8.B5.B7.E3.83.BB.E3.82.B9.E3.82.BF.E3.83.96.E3.83.86.E3.83.B3.E3.83.97.E3.83.AC.E3.83.BC.E3.83.88.E3.81.8C.E8.A1.A8.E7.A4.BA.E3.81.95.E3.82.8C.E3.81.AA.E3.81.84 */ .navbox { display: block; } table.navbox { display: table; } } /* 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. [[利用者:Gizmon|Gizmon]] 2009年10月16日 (金) 06:57 (UTC) */ .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 http://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! [[利用者:Gizmon|Gizmon]] 2009年10月16日 (金) 06:57 (UTC) */ .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: #f9f9f9; color: black; margin: 0.5em 0 0 1em; padding: 0.2em; float: right; clear: right; } .infobox th, .infobox td { vertical-align: top; } .infobox caption { margin-top: 0.5em; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .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("/images/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 { padding-left: 40px; } div.videolist, div.multivideolist { 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; } /* Coloured watchlist numbers */ .mw-plusminus-pos { color: darkgreen; } /* .mw-plusminus-null currently at developer default */ .mw-plusminus-neg { color: darkred; } /* 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(http://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, ambox) */ table.ambox { margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* 初期値: 「お知らせ」の青 */ font-size: 90%; } table.ambox th.ambox-text, table.ambox td.ambox-text { /* メッセージ本体のセル */ padding: 0.25em 0.5em; /* 左右に 0.5em ずつのパディング */ width: 100%; /* 全テンプレートでテキスト量にかかわらず同サイズに */ } table.ambox td.ambox-image { /* 左側の画像セル */ padding: 2px 0px 2px 0.5em; /* 左に 0.5em, 右に 0px のパディング */ text-align: center; } table.ambox td.ambox-imageright { /* 右側の画像セル */ padding: 2px 4px 2px 0px; /* 左に 0px , 右に 4px のパディング */ text-align: center; } table.ambox-notice { border-left: 10px solid #1e90ff; /* 青 */ /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ } table.ambox-speedy { border-left: 10px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #b22222; /* 赤 */ } table.ambox-content { border-left: 10px solid #f28500; /* 橙 */ } table.ambox-style { border-left: 10px solid #f4c430; /* 黄 */ } table.ambox-merge { border-left: 10px solid #9932cc; /* 紫 */ } table.ambox-protection { border-left: 10px solid #bba; /* 灰色 */ } table.ambox.ambox-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 272px; border-left: 1px solid #aaa; line-height: 1.2; font-size: smaller; } /* ambox - 以下、日本語版の独自拡張 */ table.ambox div.ambox-imagecontainer { /* 画像セル内の画像表示領域 */ width: 52px; } table.ambox.ambox-section { /* 節用メッセージボックス */ margin: 0; /* マージンを取らない */ font-size: 80%; } table.ambox.ambox-section div.ambox-imagecontainer { width: 30px; } table.ambox.ambox-section th.ambox-text, table.ambox.ambox-section td.ambox-text { padding: 0.1em 0.3em; } /* 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; } /* 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;} /* リンク中での改行を防ぐ */ .nowraplinks a { white-space: nowrap; } /* 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; } #toc, .toc, .mw-warning { float: right; margin-left: 1.5em; } pre, .mw-code { overflow: auto; background-color: #d5ddda; } /* </source> */ /* ----- Gizmo Labs layout ----- */ /* Links */ a { text-decoration: none; color: #0645ad; background: none; text-shadow: 0 0 2px #CACACA; } a:visited { color: #0b0080; } a:active { color: #faa700; } a:hover, a:focus { text-decoration: underline; } a.stub { color: #772233; } a.new, #p-personal a.new { color: #ba0000; } a.new:visited, #p-personal a.new:visited { color: #a55858; } /* Inline Elements */ img { border: none; vertical-align: middle; } hr { height: 1px; color: #aaa; background-color: #aaa; border: 0; margin: .2em 0 .2em 0; } /* Structural Elements */ h1, h2, h3, h4, h5, h6 { background: none; font-weight: normal; margin: 0 0 0.5em 0; overflow: hidden; padding-top: .5em; padding-bottom: .25em; border-bottom: 1px solid #aaa; width: auto; text-shadow: 1px 1px 1px #ACACAC; } h1 { font-size: 188%; } h1 .editsection { font-size: 53%; } h2 { font-size: 150%; } h2 .editsection { font-size: 67%; } h3, h4, h5, h6 { border-bottom: none; font-weight: bold; } h3 { font-size: 132%; } h3 .editsection { font-size: 76%; font-weight: normal; } h4 { font-size: 116%; } h4 .editsection { font-size: 86%; font-weight: normal; } h5 { font-size: 100%; } h5 .editsection { font-weight: normal; } h6 { font-size: 80%; } h6 .editsection { font-size: 125%; font-weight: normal; } .editsection { float: right; } p { margin: .4em 0 .5em 0; line-height: 1.5em; } p img { margin: 0; } q { font-family: Times, "Times New Roman", serif; font-style: italic; } #side-ads{ z-index: 1; position: absolute; right: 0px; clear: left; float: right; width: 217px; background-color: #fff; } .mw-content-container { width: calc(100% - 220px); } div.mcol2{ column-width: 420px; column-gap: 30px; column-rule-style: solid; column-rule-width: 1px; column-rule-color: #dedede; padding-top: 1em; } div.mcol3{ column-width: 240px; column-gap: 30px; column-rule-style: solid; column-rule-width: 1px; column-rule-color: #dedede; padding-top: 1em; } div.topribon{ position: fixed; border: 1px solid #E4EEFE; border-top: 0px; width: auto; min-width: 450px; top: 0px; left: 12.5em; right: 30em; padding: 0px 6px; background-color: #E4F9FE; background-image: gradient(center bottom , #ffffff 10%, #E4F9FE 100%); background-image: -moz-linear-gradient(center bottom , #ffffff 10%, #E4F9FE 100%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.05, #ffffff), color-stop(0.5, #E4F9FE), color-stop(0.64, rgb(228,249,254))); border-radius: 0px 0px 3px 3px; -moz-border-radius: 0px 0px 3px 3px; z-index: 10; } table.gallery { border: 1px solid #ccc; margin: 2px; padding: 2px; background-color: white; } table.gallery tr { vertical-align: top; } table.gallery td { vertical-align: top; background-color: #f9f9f9; border: solid 2px white; } /* Keep this temporarily so that cached pages will display right */ table.gallery td.galleryheader { text-align: center; font-weight: bold; } table.gallery caption { font-weight: bold; } div.gallerybox { margin: 2px; } div.gallerybox div.thumb { text-align: center; border: 1px solid #ccc; margin: 2px; } div.gallerytext { overflow: hidden; font-size: 94%; padding: 2px 4px; } /* Table of Contents */ #toc, .toc, .mw-warning { float: right; } h2 { clear: both; } .css_btn { font-size:14px; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; border:1px solid #83c41a; padding:5px 18px; text-decoration:none; background:-webkit-gradient( linear, left top, left bottom, color-stop(33%, #9dce2c), color-stop(72%, #8cb82b) ); background:-moz-linear-gradient( center top, #9dce2c 33%, #8cb82b 72% ); background:-ms-linear-gradient( top, #9dce2c 33%, #8cb82b 72% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b'); background-color:#9dce2c; color:#ffffff; display:inline-block; text-shadow:1px 1px 19px #689324; -webkit-box-shadow: 0px 0px 3px 3px #bef7e7; -moz-box-shadow: 0px 0px 3px 3px #bef7e7; box-shadow: 0px 0px 3px 3px #bef7e7; } .css_btn:hover { background:-webkit-gradient( linear, left top, left bottom, color-stop(33%, #8cb82b), color-stop(72%, #9dce2c) ); background:-moz-linear-gradient( center top, #8cb82b 33%, #9dce2c 72% ); background:-ms-linear-gradient( top, #8cb82b 33%, #9dce2c 72% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c'); background-color:#8cb82b; }.css_btn:active { position:relative; top:2px; } .gzfootmenu { z-index:100; bottom: 0; margin-right:240px; height:5.5em; position: fixed; overflow-y: scroll; background-color: #F8FEF8; border-top: 3px dotted #393; border-right: 3px dotted #393; border-left: 3px dotted #393; box-shadow: 0 0 3px #336633; opacity: 0.85; } .gzfootmenu:hover { height:46%; transition: height ease-in-out 500ms; -o-transition: height ease-in-out 500ms; -moz-transition: height ease-in-out 500ms; -webkit-transition: height ease-in-out 500ms; opacity: 1.0; } span.hotkey { background: none repeat scroll 0 0 #8e998e; border-color: #CECBC7 #666 #666 #CECBC7; border-image: none; border-right: 1px solid #666; border-style: solid; border-width: 1px; color: #fff; font-size: 0.8em; padding: 0.1em 0.4em; white-space: nowrap; } /* ----- End Gizmo Labs layout ----- */