|
/ * ここに書いた CSS はすべての外装に反映されます */ / * */ / * フォント・ファミリの設定 */ .Unicode .IPA .SAMPA / * Template:Polytonicで使用されていないため、.polytonicは不要と思われる */ :lang(grc) / *, .polytonic */ :lang(my), .interwiki-my :lang(si), .interwiki-si / * make the list of references look smaller */ ol.references, div.reflist, div.refbegin div.reflist ol.references / * wikitable/prettytable class for skinning normal tables */ table.prettytable table.prettytable th, table.prettytable td table.prettytable th table.prettytable caption / * default skin for navigation boxes */ / * navbox container style */ table.navbox / * single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ table.navbox + table.navbox / * title and above/below styles */ .navbox-title, .navbox-abovebelow, table.navbox th / * group style */ .navbox-group / * Background color */ .navbox, .navbox-subgroup / * Must match background color */ .navbox-list / * Level 1 color */ .navbox-title, table.navbox th / * Level 2 color */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title / * Level 3 color */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow / * Even row striping */ .navbox-even / * Odd row striping */ .navbox-odd / * MediaWiki:Common.js にある createCollapseButtons 関数を参照。 */ .collapseButton / * Template:Navbox に配置する場合、左に配置されている Template:Tnavbar とのバランスを取る。 */ .navbox .collapseButton / * en:MediaWiki:Common.css から複製。 */ / * Style for horizontal lists (separator following item). Note: hlist formatting will break if the resulting HTML lacks a breakable character between list items. This happens when the following conditions are true: 1) The list is made using wiki markup (where HTML is built by parser.php) 2) HTMLTidy is disabled or unavailable (such as on Special: pages) In such cases, building lists with .hlist using HTML instead of wiki markup will work around this problem. See also Bugzilla:39617. IE8-specific classes are assigned in MediaWiki:Common.js/IEFixes.js. Last updated: January 24, 2013 @source mediawiki.org/wiki/Snippets/Horizontal_lists @maintainer: User:Edokter @revision: 3.1 */ .skin-monobook .hlist dl, .skin-modern .hlist dl, .skin-vector .hlist dl .hlist dl, .hlist ol, .hlist ul / * Display list items inline and make them nowrap */ .hlist dd, .hlist dt, .hlist li / * Allow wrapping for list items (in tight spaces) */ .hlist.hwrap dd, .hlist.hwrap dt, .hlist.hwrap li / * Display nested lists inline and allow them to wrap */ .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul / * Generate interpuncts */ .hlist dt:after .hlist dd:after, .hlist li:after / * 日本語版の独自仕様。-pipe と -hyphen */ .hlist-pipe dd:after, .hlist-pipe li:after .hlist-hyphen dd:after, .hlist-hyphen li:after .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after / * For IE8 */ .hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after / * Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after / * For IE8 */ .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after / * Put numbers in front of ordered list items */ .hlist.hnum ol .hlist.hnum ol > li .hlist.hnum ol > li:before .hlist.hnum dd ol > li:first-child:before, .hlist.hnum dt ol > li:first-child:before, .hlist.hnum li ol > li:first-child:before / * Style for "notices" */ .notice #disambig #spoiler h1 / * Standard talk template style */ .Talk-Notice .Talk-Notice:after / * Make template background appear correctly on all browsers */ .Talk-Notice td / * Metadata */ table.metadata .metadata-label / * 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 ""), (b) that there is no "external link arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. ~~~~ */ .plainlinksneverexpand .plainlinksneverexpand .urlexpansion / Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow... */ .plainlinksneverexpand a / With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" following the anchor A, the anchor itself now has class "external autonumber" and the expansion is inserted when printing (see the common printing style sheet at //en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo- element of CSS. We have to switch this off for links due to Template:Ref! ~~~~ */ .plainlinksneverexpand a.external.text:after .plainlinksneverexpand a.external.autonumber:after / * Merge template style */ .messagebox .messagebox.merge .messagebox.cleanup .messagebox.standard-talk .infobox .infobox caption .infobox td, .infobox th .infobox.bordered .infobox.bordered td, .infobox.bordered th .infobox.bordered .borderless td, .infobox.bordered .borderless th .infobox.sisterproject #wpSave / * hiddenStructure from Monobook - allows selective hiding of markup in templates */ .hiddenStructure / * Icons for medialist templates Template:Listen, Template:Multi-listen_start, Template:Video, Template:Multi-video_start */ div.listenlist div.videolist, div.multivideolist / * Style rules for media list templates */ div.medialist div.medialist ul div.medialist ul li div.medialist ul li li / */ / * CommonsTicker styles */ / */ / * links */ .tickerDiffLink / * diff links in ticker */ .tickerMiscLink / * misc links in ticker */ / * remove list bullets */ .tickerList ul, .tickerList ul li .tickerList ul ul, .tickerList ul ul li / * 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 .tickerAction_deletedRev:before .tickerAction_replaced:before .tickerAction_replacedOwn:before .tickerAction_addedBad:before .tickerAction_removedBad:before .tickerAction_addedGood:before .tickerAction_removedGood:before / * ticker usage list */ .tickerUsage / * entry applies to a template used by multiple images */ .tickerTemplateEntry / * entry applies to sub-entries, i.e. images that use a specific template */ .tickerSubEntry / * minor entry styles */ / * minor entry */ .tickerMinorEntry .tickerMinorEntry a, .tickerMinorEntry a:link, .tickerMinorEntry a:visited #bodyContent .tickerMinorEntry a.extiw, #bodyContent .tickerMinorEntry a.extiw:link, #bodyContent .tickerMinorEntry a.extiw:visited / * 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 / * infoboxCountry Template:基礎情報 国等に */ dl#infoboxCountry dl#infoboxCountry dt.infoboxCountryNameJa dl#infoboxCountry dt.infoboxCountryName dl#infoboxCountry dd.infoboxCountryDataA dl#infoboxCountry table.infoboxCountryPrevSucc dl#infoboxCountry table.infoboxCountryPrevSucc td dl#infoboxCountry td.infoboxCountryPrev dl#infoboxCountry td.infoboxCountrySucc dl#infoboxCountry table.infoboxCountryInsignia dl#infoboxCountry table.infoboxCountryInsignia th dl#infoboxCountry table.infoboxCountryInsignia td dl#infoboxCountry dd.infoboxCountryAdd, dl#infoboxCountry dd.infoboxCountryMotto, dl#infoboxCountry dd.infoboxCountryAnthem, dl#infoboxCountry dd.infoboxCountryMap dl#infoboxCountry dd.infoboxCountryAdd, dl#infoboxCountry dd.infoboxCountryMotto, dl#infoboxCountry dd.infoboxCountryAnthem dl#infoboxCountry dd.infoboxCountryMap dl#infoboxCountry dd.infoboxCountryDataB dl#infoboxCountry dd.infoboxCountryDataB table dl#infoboxCountry dd.infoboxCountryDataB tr dl#infoboxCountry dd.infoboxCountryDataB th dl#infoboxCountry dd.infoboxCountryDataB td dl#infoboxCountry td.infoboxCountrySome dl#infoboxCountry td.infoboxCountrySome dl, dl#infoboxCountry td.infoboxCountrySome dl dd dl#infoboxCountry td.infoboxCountrySome dl dt dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader dl#infoboxCountry td.infoboxCountrySome dl table dl#infoboxCountry td.infoboxCountrySome dl th dl#infoboxCountry td.infoboxCountrySome dl td dd#Infobox_before-after dd#Infobox_before-after table dd#Infobox_before-after th dd#Infobox_before-after th.infoboxCountryPrev dd#Infobox_before-after th.infoboxCountrySucc dd#Infobox_before-after td.infoboxCountryPrev dd#Infobox_before-after td.infoboxCountrySucc dl#infoboxCountry dd.infoboxCountryNote / * ### nowrap for some table headings ### */ label, label, label, label, label, label, #userlogin2 label, #userloginForm label / * リダイレクトの表示 */ / * 特別:Allpages・特別:Prefixindex */ .allpagesredirect a:link, .allpagesredirect a:visited, / * カテゴリ内 */ .redirect-in-category a:link, .redirect-in-category a:visited, / * ウォッチリスト */ .watchlistredir a:link, .watchlistredir a:visited / * NavFrame関係。MediaWiki:Monobook.cssも参照 */ div.Boxmerge, div.NavFrame div.Boxmerge div.NavFrame div.NavPic div.NavFrame div.NavHead div.NavFrame p div.NavFrame div.NavContent div.NavFrame div.NavContent p div.NavEnd a.NavToggle / * Article message box styles */ table.ambox table.ambox + table.ambox .ambox th.mbox-text, .ambox td.mbox-text .ambox td.mbox-image .ambox td.mbox-imageright table.ambox-notice table.ambox-speedy table.ambox-delete table.ambox-content table.ambox-style table.ambox-move table.ambox-protection / * Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text td.mbox-image td.mbox-imageright td.mbox-empty-cell / * MediaWiki:Revision-info、MediaWiki:Revision-info-currentのフォントサイズ調整。 * 2010-07-15 by User:Penn Station */ #revision-info, #revision-info-current / * ambox - 以下、日本語版の独自拡張 */ table.ambox div.ambox-imagecontainer table.ambox.ambox-section table.ambox.ambox-section div.ambox-imagecontainer table.ambox.ambox-section th.mbox-text, table.ambox.ambox-section td.mbox-text / * Image message box styles */ table.imbox .imbox .mbox-text .imbox .mbox-inside .imbox table.imbox-notice table.imbox-speedy table.imbox-delete table.imbox-content table.imbox-style table.imbox-move table.imbox-protection table.imbox-license table.imbox-featured / * Category message box styles */ table.cmbox table.cmbox-notice table.cmbox-speedy table.cmbox-delete table.cmbox-content table.cmbox-style table.cmbox-move table.cmbox-protection / * Other pages message box styles */ table.ombox table.ombox-notice table.ombox-speedy table.ombox-delete table.ombox-content table.ombox-style table.ombox-move table.ombox-protection / * Talk page message box styles */ table.tmbox .mediawiki .mbox-inside .tmbox .mbox-inside .tmbox.mbox-small table.tmbox-speedy table.tmbox-delete table.tmbox-content table.tmbox-style table.tmbox-move table.tmbox-protection, table.tmbox-notice / * Disambig and set index box styles */ table.dmbox / * Footer and header message box styles */ table.fmbox table.fmbox-system table.fmbox-warning table.fmbox-editnotice / * Div based "warning" style fmbox messages. */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon / * Div based "system" style fmbox messages. Used in MediaWiki:Noarticletext and MediaWiki:Readonly lag. */ div.mw-lag-warn-normal, div.noarticletext, div.fmbox-system / * 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 body.mediawiki table.mbox-small-left / * Template: Pathnav */ .pathnavbox .pathnavbox ul .pathnavbox > ul .pathnavbox ul li / * 脚注ジャンプ先強調 */ ol.references > li:target sup.reference:target cite:target / * Otheruses等の冒頭曖昧さ回避テンプレート */ .dablink / * どの見出しレベルまで目次に表示するかを制限します。例えば、 とすると ==headings== と ===headings=== が目次に反映され、これより下の見出しレベルは無視されます。 */ .toclimit-2 .toclevel-2 .toclimit-3 .toclevel-3 .toclimit-4 .toclevel-4 .toclimit-5 .toclevel-5 .toclimit-6 .toclevel-6 .toclimit-7 .toclevel-7 / * 特定場所での改行を防ぐ: 1) 個別に指定した場所 2) リンク途中 3) そのページ自身へのリンク(太字部分) 4) グループ名付きの ref タグ 〔 --> "1 " */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a / * 以下のクラスを指定した場所では解除する: */ .wrap, .wraplinks a / * 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 .geo-nondefault, .geo-multi-punct .longitude, .latitude / * の下線部を標準的なディスプレイで表示したときのみ表示されるようにするクラス。 * 2009-01-03 by User:mizusumashi */ @media screen / * カテゴリページのリスト部にフロート指定のブロックを入れない。 * 2009-01-24 by User:mizusumashi */ #mw-subcategories, #mw-pages, #mw-category-media / * Content in columns with CSS instead of tables Template:Columns * 2009-02-10 by User:mizusumashi */ div.columns-2 div.column div.columns-3 div.column div.columns-4 div.column div.columns-5 div.column / * Don't display page title on the main page */ body.page-メインページ #siteSub, body.page-メインページ .subtitle, body.page-メインページ h1.firstHeading, body.page-メインページ h1.pagetitle / * セクション編集リンク * MediaWiki:Common.jsのmodifyEditsection()のための宣言 * 2009-10-03 by User:mizusumashi */ .editsection-moved .editsection-expands / * Common.js の LinkFA() を参照 */ #p-lang li.FA / * Common.js の LinkGA() を参照 */ #p-lang li.GA / * File:Wikipedia-logo-v2-200px-transparent.pngを背景画像として適用する(2013年版メインページなどで使用) */ .globegris / * 上付き脚注番号への太字適用を取り消し */ sup.reference / * Unbulleted lists */ .plainlist ol, .plainlist ul .plainlist ol li, .plainlist ul li / * Template:Asbox用のスタイル */ .asbox / * */ 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「/* ここに書いた CSS はすべての外装に反映されます *//* *//* * フォント・ファミリの設定 */.Unicode .IPA .SAMPA /* Template:Polytonicで使用されていないため、.polytonicは不要と思われる */:lang(grc) /*, .polytonic */ :lang(my), .interwiki-my :lang(si), .interwiki-si /* make the list of references look smaller */ol.references,div.reflist,div.refbegin div.reflist ol.references /* wikitable/prettytable class for skinning normal tables */table.prettytable table.prettytable th,table.prettytable td table.prettytable th table.prettytable caption /* default skin for navigation boxes *//* navbox container style */table.navbox /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */table.navbox + table.navbox /* title and above/below styles */.navbox-title,.navbox-abovebelow,table.navbox th /* group style */.navbox-group /* Background color */.navbox,.navbox-subgroup /* Must match background color */.navbox-list /* Level 1 color */.navbox-title,table.navbox th /* Level 2 color */.navbox-abovebelow,.navbox-group,.navbox-subgroup .navbox-title /* Level 3 color */.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow /* Even row striping */.navbox-even /* Odd row striping */.navbox-odd /* MediaWiki:Common.js にある createCollapseButtons 関数を参照。 */.collapseButton /* Template:Navbox に配置する場合、左に配置されている Template:Tnavbar とのバランスを取る。 */.navbox .collapseButton /* en:MediaWiki:Common.css から複製。 *//* Style for horizontal lists (separator following item). Note: hlist formatting will break if the resulting HTML lacks a breakable character between list items. This happens when the following conditions are true: 1) The list is made using wiki markup (where HTML is built by parser.php) 2) HTMLTidy is disabled or unavailable (such as on Special: pages) In such cases, building lists with .hlist using HTML instead of wiki markup will work around this problem. See also Bugzilla:39617. IE8-specific classes are assigned in MediaWiki:Common.js/IEFixes.js. Last updated: January 24, 2013 @source mediawiki.org/wiki/Snippets/Horizontal_lists @maintainer: User:Edokter @revision: 3.1*/.skin-monobook .hlist dl,.skin-modern .hlist dl,.skin-vector .hlist dl .hlist dl,.hlist ol,.hlist ul /* Display list items inline and make them nowrap */.hlist dd,.hlist dt,.hlist li /* Allow wrapping for list items (in tight spaces) */.hlist.hwrap dd,.hlist.hwrap dt,.hlist.hwrap li /* Display nested lists inline and allow them to wrap */.hlist dl dl, .hlist dl ol, .hlist dl ul,.hlist ol dl, .hlist ol ol, .hlist ol ul,.hlist ul dl, .hlist ul ol, .hlist ul ul /* Generate interpuncts */.hlist dt:after .hlist dd:after,.hlist li:after /* 日本語版の独自仕様。-pipe と -hyphen */.hlist-pipe dd:after,.hlist-pipe li:after .hlist-hyphen dd:after,.hlist-hyphen li:after .hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after /* For IE8 */.hlist dd.hlist-last-child:after,.hlist dt.hlist-last-child:after,.hlist li.hlist-last-child:after /* Add parentheses around nested lists */.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after /* For IE8 */.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after /* Put numbers in front of ordered list items */.hlist.hnum ol .hlist.hnum ol > li .hlist.hnum ol > li:before .hlist.hnum dd ol > li:first-child:before,.hlist.hnum dt ol > li:first-child:before,.hlist.hnum li ol > li:first-child:before /* Style for "notices" */.notice 」の詳細全文を読む スポンサード リンク
|