翻訳と辞書 |
MediaWiki:Common.css : ウィキペディア英語版 | MediaWiki:Common.css / * Reset italic styling set by user agent */ cite, dfn / * Straight quote marks for */ q / * Avoid collision of blockquote with floating elements by swapping margin and padding */ blockquote / * Prevent the 'double bold' bug in Firefox when using DirectWrite */ strong.selflink / * Consistent size for and */ .mw-body sub, .mw-body sup, span.reference / * for Parsoid */ / * Main page fixes */ #interwiki-completelist body.page-Main_Page #ca-delete body.page-Main_Page #mp-topbanner / * Unhorrify 'Changed since last visit' colors */ .updatedmarker / * Edit window toolbar */ #toolbar / * Hide charinsert base for those not using the gadget */ #editpage-specialchars / * Highlight linked elements (such as clicked references) in blue */ body.action-info :target, .citation:target / * Styling for citations. Breaks long urls, etc., rather than overflowing box */ .citation / * For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */ @media screen, handheld / * Make the list of references smaller */ ol.references, div.reflist, div.refbegin div.refbegin-100 div.reflist ol.references / * Ensure refs in table headers and the like aren't bold or italic */ sup.reference / * Allow hidden ref errors to be shown by user CSS */ span.brokenref / * Reset top margin for lists embedded in columns */ div.columns div.columns dl, div.columns ol, div.columns ul / * Avoid elements from breaking between columns */ .nocolbreak, div.columns li, div.columns dd dd / * Style for Template:Flowlist that Lets lists flow around floating objecs */ .flowlist ul .flowlist ol .flowlist dl / * Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 7 (2015-11-12) @author User:Edokter */ .hlist dl, .hlist ol, .hlist ul / * Display list items inline */ .hlist dd, .hlist dt, .hlist li / * Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .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 / * Hide empty list itmes */ .hlist .mw-empty-li / * Generate interpuncts */ .hlist dt:after .hlist dd:after, .hlist li:after .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li: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 / * Put ordinals in front of ordered list items */ .hlist ol .hlist ol > li .hlist ol > li:before .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before / * Unbulleted lists */ .plainlist ol, .plainlist ul .plainlist ol li, .plainlist ul li / * Default style for navigation boxes */ .navbox .navbox-inner, .navbox-subgroup .navbox-group, .navbox-title, .navbox-abovebelow th.navbox-group .navbox, .navbox-subgroup .navbox-list .navbox th, .navbox-title .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow .navbox-even .navbox-odd table.navbox table.navbox table.navbox table.navbox + table.navbox .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul / * Default styling for Navbar template */ .navbar .navbar ul .mw-body-content .navbar ul .navbar li .navbar.mini li abbr() / * Navbar styling when nested in infobox and navbox */ .infobox .navbar .navbox .navbar .navbox-title .navbar / * 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in MediaWiki:Common.js are styled here so they can be customised. */ .collapseButton / * In navboxes, the show/hide button balances the v·d·e links from Template:Navbar, so they need to be the same width. */ .navbox .collapseButton / * Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle .navbox .mw-collapsible-toggle / * Infobox template style */ .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 .infobox.standard-talk .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th / * styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th / * Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography .infobox.geography td, .infobox.geography th .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th .infobox.geography .mergedrow td, .infobox.geography .mergedrow th .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th .infobox.geography .maptable td, .infobox.geography .maptable th / * Normal font styling for table row headers with scope="row" tag */ .wikitable.plainrowheaders th() / * Lists in data cells are always left-aligned */ .wikitable td ul, .wikitable td ol, .wikitable td dl / * ...unless they also use the hlist class */ .toc.hlist ul, #toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl / * Icons for medialist templates Template:Listen, Template:Multi-listen_start, Template:Video, Template:Multi-video_start */ div.listenlist / * Fix for hieroglyphs specificality issue in infoboxes (Phabricator:43869) */ table.mw-hiero-table td / * Style rules for media list templates */ div.medialist div.medialist ul div.medialist ul li div.medialist ul li li / * Change the external link icon to an Adobe icon for all PDF files in browsers that support these CSS selectors, like Mozilla and Opera */ div#content a().external, div#content a().external, div#content a().external, div#content a().external, div#content a().external, div#content a().external, div#mw_content a().external, div#mw_content a().external, div#mw_content a().external, div#mw_content a().external, div#mw_content a().external, div#mw_content a().external / * 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. */ div#content span.PDFlink a, div#mw_content span.PDFlink a / * Content in columns with CSS instead of tables (Template:Columns) */ div.columns-2 div.column div.columns-3 div.column div.columns-4 div.column div.columns-5 div.column / * Messagebox templates */ .messagebox .messagebox.merge .messagebox.cleanup .messagebox.standard-talk / * For old WikiProject banners inside banner shells. */ .mbox-inside .standard-talk, .messagebox.nested-talk .messagebox.small .messagebox.small-talk / * 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 / * 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 / * 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.titleblacklist-warning, div.locked-warning / * Div based "system" style fmbox messages. Used in MediaWiki:Readonly lag. */ div.mw-lag-warn-normal, 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 / * Style for compact ambox */ / * Hide the images */ .compact-ambox table .mbox-image, .compact-ambox table .mbox-imageright, .compact-ambox table .mbox-empty-cell / * Remove borders, backgrounds, padding, etc. */ .compact-ambox table.ambox body.mediawiki .compact-ambox table.mbox-small-left / * Style the text cell as a list item and remove its padding */ .compact-ambox table .mbox-text .compact-ambox table .mbox-text-span .skin-vector .compact-ambox table .mbox-text-span / * Allow for hiding text in compact form */ .compact-ambox .hide-when-compact / * Remove default styles for MediaWiki:Noarticletext. */ div.noarticletext / * Hide (formatting) elements from screen, but not from screenreaders */ .visualhide / * Bold save button */ #wpSave / * class hiddenStructure is defunct. See Wikipedia:hiddenStructure */ .hiddenStructure / * suppress missing interwiki image links where #ifexist cannot be used due to high number of requests see .hidden-redlink on m:MediaWiki:Common.css */ .check-icon a.new / * Removes underlines from certain links */ .nounderlines a, .IPA a:link, .IPA a:visited / * Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at Wikipedia:NavFrame. */ div.NavFrame div.NavFrame + div.NavFrame div.NavPic div.NavFrame div.NavHead div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p div.NavEnd a.NavToggle / * Hatnotes and disambiguation notices */ .hatnote .hatnote i div.hatnote div.hatnote + div.hatnote / * Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */ .listify td .listify tr .listify table / * Geographical coordinates defaults. See Template:Coord/link for how these are used. The classes "geo", "longitude", and "latitude" are used by the Geo microformat. */ .geo-default, .geo-dms, .geo-dec .geo-nondefault, .geo-multi-punct .longitude, .latitude / * Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */ .hlist .tocnumber, .hlist .toctext / * When is used on the table of contents, the ToC will display without numbers */ .nonumtoc .tocnumber .nonumtoc #toc ul, .nonumtoc .toc ul .hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul / * Allow limiting of which header levels are shown in a TOC; , for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul / * Styling for Template:Quote */ blockquote.templatequote div.templatequotecite / * User block messages */ div.user-block / * Prevent line breaks in silly places: 1) Where desired 2) Links when we don't want them to 3) Bold "links" to the page itself 4) Ref tags with group names 〔 --> "( 1 )" */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a .nowrap pre / * But allow wrapping where desired: */ .wrap, .wraplinks a / * For template documentation */ .template-documentation / * Inline divs in ImageMaps (code borrowed from de.wiki) */ .imagemap-inline div / * Increase the height of the image upload box */ #wpUploadDescription / * Minimum thumb width */ .thumbinner / * Makes the background of a framed image white instead of gray. Only visible with transparent images. */ div.thumb .thumbimage / * The backgrounds for galleries. */ div#content .gallerybox div.thumb / * Put a chequered background behind images, only visible if they have transparency. '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ .gallerybox .thumb img / * But not on articles, user pages, portals or with opt-out. */ .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img / * Prevent floating boxes from overlapping any category listings, file histories, edit previews, and edit ( changes ) views. */ #mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback / * Selectively hide headers in WikiProject banners */ .wpb .wpb-header .wpbs-inner .wpb .wpb-header / * for IE */ .wpbs-inner .wpb .wpb-header / * for real browsers */ .wpbs-inner .wpb-outside / * hide things that should only display outside shells */ / * Styling for Abuse Filter tags */ .mw-tag-markers / * Hide stuff meant for accounts with special permissions. Made visible again in MediaWiki:Group-sysop.css, MediaWiki:Group-accountcreator.css, MediaWiki:Group-templateeditor.css and Mediawiki:Group-autoconfirmed.css. */ .sysop-show, .accountcreator-show, .templateeditor-show, .autoconfirmed-show / * * * Hide the redlink generated by , * this overrides the ".sysop-show " above that applies * to the same link as well. * * See Phabricator:45013. */ .ve-ui-mwNoticesPopupTool-item .editnotice-redlink, .mw-ve-editNotice .editnotice-redlink / * Remove bullets when there are multiple edit page warnings */ ul.permissions-errors > li ul.permissions-errors / * No linewrap on the labels of the login/signup page */ body.page-Special_UserLogin .mw-label label, body.page-Special_UserLogin_signup .mw-label label / * Pie chart test: Transparent borders */ .transborder * html .transborder / * Generic class for Times-based serif, texhtml class for inline math */ .times-serif, span.texhtml span.texhtml span.texhtml span.texhtml / * Force tabular and lining display for digits and texhtml */ .digits, .texhtml / * Make |