|
|
Line 11: |
Line 11: |
| .mw-redirect:active { color: #990000;} | | .mw-redirect:active { color: #990000;} |
|
| |
|
| | cite, |
| | dfn { |
| | font-style: inherit; |
| | } |
|
| |
|
| img {
| | /* Straight quote marks for <q> */ |
| max-width:250px;
| | q { |
| height:auto;
| | quotes: '"' '"' "'" "'"; |
| }
| | } |
|
| | |
|
| | /* Avoid collision of blockquote with floating elements by swapping margin and padding */ |
| /* Reset italic styling set by user agent */
| | blockquote { |
| cite,
| | overflow: hidden; |
| dfn {
| | margin: 1em 0; |
| font-style: inherit;
| | padding: 0 40px; |
| }
| | } |
|
| | |
| /* Straight quote marks for <q> */
| | /* Consistent size for <small>, <sub> and <sup> */ |
| q {
| | small { |
| quotes: '"' '"' "'" "'";
| | font-size: 85%; |
| }
| | } |
|
| | |
| /* Avoid collision of blockquote with floating elements by swapping margin and padding */
| | .mw-body-content sub, |
| blockquote {
| | .mw-body-content sup { |
| overflow: hidden;
| | font-size: 80%; |
| margin: 1em 0;
| | } |
| padding: 0 40px;
| | |
| }
| | /* Same spacing for indented and unindented paragraphs on talk pages */ |
|
| | .ns-talk .mw-body-content dd { |
| /* Consistent size for <small>, <sub> and <sup> */
| | margin-top: 0.4em; |
| small {
| | margin-bottom: 0.4em; |
| font-size: 85%;
| | } |
| }
| | |
|
| | /* Reduce page jumps by hiding collapsed/dismissed content */ |
| .mw-body-content sub,
| | .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child), |
| .mw-body-content sup,
| | |
| span.reference /* for Parsoid */ {
| | /* Avoid FOUC/reflows on collapsed elements. */ |
| font-size: 80%;
| | /* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */ |
| }
| | /* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */ |
|
| | /* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */ |
| /* Same spacing for indented and unindented paragraphs on talk pages */
| | .client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p, |
| .ns-talk .mw-body-content dd {
| | .client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table, |
| margin-top: 0.4em;
| | .client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody, |
| margin-bottom: 0.4em;
| | .client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ), |
| }
| | .client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content, |
|
| | |
| /* Main page fixes */
| | /* Hide charinsert base for those not using the gadget */ |
| #interwiki-completelist {
| | #editpage-specialchars { |
| font-weight: bold;
| | display: none; |
| }
| | } |
|
| | |
| /* Reduce page jumps by hiding collapsed/dismissed content */
| | /* Make the list of references smaller |
| .client-js .mw-special-Watchlist #watchlist-message,
| | * Keep in sync with Template:Refbegin/styles.css |
| .client-js .NavFrame.collapsed .NavContent,
| | * And Template:Reflist/styles.css |
| .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
| | */ |
| display: none;
| | ol.references { |
| }
| | font-size: 90%; |
|
| | margin-bottom: 0.5em; |
| /* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
| | } |
| .mw-rcfilters-enabled .mw-specialpage-summary {
| | |
| margin-top: 1em;
| | /* Cite customizations for Parsoid |
| }
| | * Once everything uses the one true parser these are just customizations |
|
| | */ |
| /* Hide charinsert base for those not using the gadget */
| | span[ rel="mw:referencedBy" ] { |
| #editpage-specialchars {
| | counter-reset: mw-ref-linkback 0; |
| display: none;
| | } |
| }
| | |
|
| | span[ rel='mw:referencedBy' ] > a::before { |
| /* Highlight linked elements (such as clicked references) in blue */
| | content: counter( mw-ref-linkback, lower-alpha ); |
| body.action-info .mw-body-content :target,
| | font-size: 80%; |
| .citation:target {
| | font-weight: bold; |
| background-color: #def; /* Fallback */
| | font-style: italic; |
| background-color: rgba(0, 127, 255, 0.133);
| | } |
| }
| | |
|
| | a[ rel="mw:referencedBy" ]::before { |
| /* Styling for citations. Breaks long urls, etc., rather than overflowing box */
| | font-weight: bold; |
| .citation {
| | content: "^"; |
| word-wrap: break-word;
| | } |
| }
| | |
|
| | span[ rel="mw:referencedBy" ]::before { |
| /* Make the list of references smaller */
| | content: "^ "; |
| /* Keep in sync with Template:Refbegin/styles.css */
| | } |
| ol.references,
| | |
| div.reflist {
| | .mw-ref > a[data-mw-group=lower-alpha]::after { |
| font-size: 90%; /* Default font-size */
| | content: '[' counter( mw-Ref, lower-alpha ) ']'; |
| margin-bottom: 0.5em;
| | } |
| }
| | |
|
| | .mw-ref > a[data-mw-group=upper-alpha]::after { |
| div.reflist ol.references {
| | content: '[' counter( mw-Ref, upper-alpha ) ']'; |
| font-size: 100%; /* Reset font-size when nested in div.reflist */
| | } |
| margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
| | |
| list-style-type: inherit; /* Enable custom list style types */
| | .mw-ref > a[data-mw-group=decimal]::after { |
| }
| | content: '[' counter( mw-Ref, decimal ) ']'; |
|
| | } |
| /* Reset top margin for lists embedded in columns */
| | |
| div.columns {
| | .mw-ref > a[data-mw-group=lower-roman]::after { |
| margin-top: 0.3em;
| | content: '[' counter( mw-Ref, lower-roman ) ']'; |
| }
| | } |
|
| | |
| div.columns dl,
| | .mw-ref > a[data-mw-group=upper-roman]::after { |
| div.columns ol,
| | content: '[' counter( mw-Ref, upper-roman ) ']'; |
| div.columns ul {
| | } |
| margin-top: 0;
| | |
| }
| | .mw-ref > a[data-mw-group=lower-greek]::after { |
|
| | content: '[' counter( mw-Ref, lower-greek ) ']'; |
| /* Avoid elements breaking between columns */
| | } |
| /* See also Template:No col break */
| | |
| div.columns li,
| | /* Styling for jQuery makeCollapsible, matching that of collapseButton */ |
| div.columns dd {
| | .mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) { |
| page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
| | font-weight: normal; |
| break-inside: avoid-column;
| | padding-right: 0.2em; |
| }
| | padding-left: 0.2em; |
|
| | } |
| /* Style for horizontal lists (separator following item).
| | |
| @source mediawiki.org/wiki/Snippets/Horizontal_lists
| | .mw-collapsible-leftside-toggle .mw-collapsible-toggle { |
| @revision 8 (2016-05-21)
| | /* @noflip */ |
| @author [[User:Edokter]]
| | float: left; |
| */
| | } |
| .hlist dl,
| | |
| .hlist ol,
| | /* Lists in wikitable data cells are always left-aligned */ |
| .hlist ul {
| | .wikitable td ul, |
| margin: 0;
| | .wikitable td ol, |
| padding: 0;
| | .wikitable td dl { |
| }
| | /* @noflip */ |
|
| | text-align: left; |
| /* Display list items inline */
| | } |
| .hlist dd,
| | |
| .hlist dt,
| | /* Change the external link icon to a PDF icon for all PDF files */ |
| .hlist li {
| | .mw-parser-output a[href$=".pdf"].external, |
| margin: 0;
| | .mw-parser-output a[href*=".pdf?"].external, |
| display: inline;
| | .mw-parser-output a[href*=".pdf#"].external, |
| }
| | .mw-parser-output a[href$=".PDF"].external, |
|
| | .mw-parser-output a[href*=".PDF?"].external, |
| /* Display nested lists inline */
| | .mw-parser-output a[href*=".PDF#"].external { |
| .hlist.inline,
| | background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right; |
| .hlist.inline dl,
| | /* @noflip */ |
| .hlist.inline ol,
| | padding: 8px 18px 8px 0; |
| .hlist.inline ul,
| | } |
| .hlist dl dl,
| | |
| .hlist dl ol,
| | /* System messages styled similarly to fmbox */ |
| .hlist dl ul,
| | div.mw-warning-with-logexcerpt, |
| .hlist ol dl,
| | div.mw-lag-warn-high, |
| .hlist ol ol,
| | div.mw-cascadeprotectedwarning, |
| .hlist ol ul,
| | div#mw-protect-cascadeon { |
| .hlist ul dl,
| | clear: both; |
| .hlist ul ol,
| | margin: 0.2em 0; |
| .hlist ul ul {
| | border: 1px solid #bb7070; |
| display: inline;
| | background-color: #ffdbdb; |
| }
| | padding: 0.25em 0.9em; |
|
| | box-sizing: border-box; |
| /* Hide empty list items */
| | } |
| .hlist .mw-empty-li {
| | |
| display: none;
| | /* default colors for partial block message */ |
| }
| | .mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt { |
|
| | border-color: #fc3; |
| /* Generate interpuncts */
| | background-color: #fef6e7; |
| .hlist dt:after {
| | } |
| content: ": ";
| | |
| }
| | /* Minimum thumb width */ |
|
| | figure[typeof~='mw:File/Thumb'], |
| /**
| | figure[typeof~='mw:File/Frame'], |
| * Note hlist style usage differs in Minerva and is defined in core as well!
| | .thumbinner { |
| * Please check Minerva desktop (and Minerva.css) when changing
| | min-width: 100px; |
| * See https://phabricator.wikimedia.org/T213239
| | } |
| */
| | |
| .hlist dd:after,
| | /* Prevent floating boxes from overlapping any category listings, |
| .hlist li:after {
| | file histories, edit previews, and edit [Show changes] views. */ |
| content: " · ";
| | #mw-subcategories, |
| font-weight: bold;
| | #mw-pages, |
| }
| | #mw-category-media, |
|
| | #filehistory, |
| .hlist dd:last-child:after,
| | #wikiPreview, |
| .hlist dt:last-child:after,
| | #wikiDiff { |
| .hlist li:last-child:after {
| | clear: both; |
| content: none;
| | } |
| }
| | |
|
| | /* Styling for tags in changes pages */ |
| /* Add parentheses around nested lists */
| | .mw-tag-markers { |
| .hlist dd dd:first-child:before,
| | font-style: italic; |
| .hlist dd dt:first-child:before,
| | font-size: 90%; |
| .hlist dd li:first-child:before,
| | } |
| .hlist dt dd:first-child:before,
| | |
| .hlist dt dt:first-child:before,
| | /* Hide stuff meant for accounts with special permissions. Made visible again in |
| .hlist dt li:first-child:before,
| | [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]], |
| .hlist li dd:first-child:before,
| | [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]], |
| .hlist li dt:first-child:before,
| | [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]], |
| .hlist li li:first-child:before {
| | [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */ |
| content: " (";
| | .checkuser-show, |
| font-weight: normal;
| | .sysop-show, |
| }
| | .abusefilter-show, |
|
| | .abusefilter-helper-show, |
| .hlist dd dd:last-child:after,
| | .patroller-show, |
| .hlist dd dt:last-child:after,
| | .templateeditor-show, |
| .hlist dd li:last-child:after,
| | .extendedmover-show, |
| .hlist dt dd:last-child:after,
| | .extendedconfirmed-show, |
| .hlist dt dt:last-child:after,
| | .autoconfirmed-show, |
| .hlist dt li:last-child:after,
| | .user-show { |
| .hlist li dd:last-child:after,
| | display: none; |
| .hlist li dt:last-child:after,
| | } |
| .hlist li li:last-child:after {
| | |
| content: ")";
| | /* Hide the redlink generated by {{Editnotice}}, |
| font-weight: normal;
| | this overrides the ".sysop-show { display: none; }" above that applies |
| }
| | to the same link as well. See [[phab:T45013]] |
|
| | |
| /* Put ordinals in front of ordered list items */
| | Hide the images in editnotices to keep them readable in VE view. |
| .hlist ol {
| | Long term, editnotices should become a core feature so that they can be designed responsive. */ |
| counter-reset: listitem;
| | .ve-ui-mwNoticesPopupTool-item .editnotice-redlink, |
| }
| | .ve-ui-mwNoticesPopupTool-item .mbox-image, |
|
| | .ve-ui-mwNoticesPopupTool-item .mbox-imageright { |
| .hlist ol > li {
| | display: none !important; |
| counter-increment: listitem;
| | } |
| }
| | |
|
| | /* Remove bullets when there are multiple edit page warnings */ |
| .hlist ol > li:before {
| | ul.permissions-errors { |
| content: " " counter(listitem) "\a0";
| | margin: 0; |
| }
| | } |
|
| | |
| .hlist dd ol > li:first-child:before,
| | ul.permissions-errors > li { |
| .hlist dt ol > li:first-child:before,
| | list-style: none; |
| .hlist li ol > li:first-child:before {
| | } |
| content: " (" counter(listitem) "\a0";
| | |
| }
| | /* larger inline math */ |
|
| | span.mwe-math-mathml-inline { |
| /* Unbulleted lists */
| | font-size: 118%; |
| .plainlist ol,
| | } |
| .plainlist ul {
| | |
| line-height: inherit;
| | /* Make <math display="block"> be left aligned with one space indent for |
| list-style: none none;
| | * compatibility with style conventions |
| margin: 0;
| | */ |
| }
| | .mwe-math-fallback-image-display, |
|
| | .mwe-math-mathml-display { |
| .plainlist ol li,
| | margin-left: 1.6em !important; |
| .plainlist ul li {
| | margin-top: 0.6em; |
| margin-bottom: 0;
| | margin-bottom: 0.6em; |
| }
| | } |
|
| | |
| /* Default style for navigation boxes */
| | .mwe-math-mathml-display math { |
| .navbox { /* Navbox container style */
| | display: inline; |
| box-sizing: border-box;
| | } |
| border: 1px solid #a2a9b1;
| | |
| width: 100%;
| | @media screen { |
| clear: both;
| | /* Put a chequered background behind images, only visible if they have transparency, |
| font-size: 88%;
| | * except on main, user, and portal namespaces |
| text-align: center;
| | */ |
| padding: 1px;
| | body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img { |
| margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
| | background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; |
| }
| | } |
|
| | |
| .navbox .navbox {
| | /* Display "From Wikipedia, the free encyclopedia" in skins that support it, |
| margin-top: 0; /* No top margin for nested navboxes */
| | do not apply to print mode */ |
| }
| | #siteSub { |
|
| | display: block; |
| .navbox + .navbox {
| | } |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| | } |
| }
| | |
|
| | /* Hide FlaggedRevs notice UI when there are no pending changes */ |
| .navbox-inner,
| | .flaggedrevs_draft_synced, |
| .navbox-subgroup {
| | .flaggedrevs_stable_synced, |
| width: 100%;
| | /* "Temporary" to remove links in sidebar T255381 */ |
| }
| | #t-upload, |
|
| | /* Hide broken download box on Special:Book pending T285400 */ |
| .navbox-group,
| | .mw-special-Book #coll-downloadbox { |
| .navbox-title,
| | display: none; |
| .navbox-abovebelow {
| | } |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| | |
| line-height: 1.5em;
| | /* |
| text-align: center;
| | * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS; |
| }
| | * SEE [[MediaWiki talk:Common.css/to do]] |
|
| | */ |
| th.navbox-group { /* Group style */
| | |
| white-space: nowrap;
| | /* Infobox template style */ |
| /* @noflip */
| | .infobox { |
| text-align: right;
| | border: 1px solid #a2a9b1; |
| }
| | border-spacing: 3px; |
|
| | background-color: #f8f9fa; |
| .navbox,
| | color: black; |
| .navbox-subgroup {
| | /* @noflip */ |
| background-color: #fdfdfd; /* Background color */
| | margin: 0.5em 0 0.5em 1em; |
| }
| | padding: 0.2em; |
|
| | /* @noflip */ |
| .navbox-list {
| | float: right; |
| line-height: 1.5em;
| | /* @noflip */ |
| border-color: #fdfdfd; /* Must match background color */
| | clear: right; |
| }
| | font-size: 88%; |
|
| | line-height: 1.5em; |
| /* cell spacing for navbox cells */
| | width: 22em; |
| tr + tr > .navbox-abovebelow,
| | } |
| tr + tr > .navbox-group,
| | |
| tr + tr > .navbox-image,
| | .infobox-header, |
| tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
| | .infobox-label, |
| border-top: 2px solid #fdfdfd; /* Must match background color */
| | .infobox-above, |
| }
| | .infobox-full-data, |
|
| | .infobox-data, |
| .navbox th,
| | .infobox-below, |
| .navbox-title {
| | .infobox-subheader, |
| background-color: #ccccff; /* Level 1 color */
| | .infobox-image, |
| }
| | .infobox-navbar, |
|
| | /* Remove element selector when every .infobox thing is using the standard module/templates */ |
| .navbox-abovebelow,
| | .infobox th, |
| th.navbox-group,
| | .infobox td { |
| .navbox-subgroup .navbox-title {
| | vertical-align: top; |
| background-color: #ddddff; /* Level 2 color */
| | } |
| }
| | |
|
| | .infobox-label, |
| .navbox-subgroup .navbox-group,
| | .infobox-data, |
| .navbox-subgroup .navbox-abovebelow {
| | /* Remove element selector when every .infobox thing is using the standard module/templates */ |
| background-color: #e6e6ff; /* Level 3 color */
| | .infobox th, |
| }
| | .infobox td { |
|
| | /* @noflip */ |
| .navbox-even {
| | text-align: left; |
| background-color: #f7f7f7; /* Even row striping */
| | } |
| }
| | |
|
| | /* Remove .infobox when element selectors above are removed */ |
| .navbox-odd {
| | .infobox .infobox-above, |
| background-color: transparent; /* Odd row striping */
| | .infobox .infobox-title, |
| }
| | /* Remove element selector when every .infobox thing is using the standard module/templates */ |
|
| | .infobox caption { |
| .navbox .hlist td dl,
| | font-size: 125%; |
| .navbox .hlist td ol,
| | font-weight: bold; |
| .navbox .hlist td ul,
| | text-align: center; |
| .navbox td.hlist dl,
| | } |
| .navbox td.hlist ol,
| | |
| .navbox td.hlist ul {
| | .infobox-title, |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| | /* Remove element selector when every .infobox thing is using the standard module/templates */ |
| }
| | .infobox caption { |
|
| | padding: 0.2em; |
| /* Styling for JQuery makeCollapsible, matching that of collapseButton */
| | } |
| .mw-parser-output .mw-collapsible-toggle {
| | |
| font-weight: normal;
| | /* Remove .infobox when element selectors above are removed */ |
| /* @noflip */
| | .infobox .infobox-header, |
| text-align: right;
| | .infobox .infobox-subheader, |
| padding-right: 0.2em;
| | .infobox .infobox-image, |
| padding-left: 0.2em;
| | .infobox .infobox-full-data, |
| }
| | .infobox .infobox-below { |
|
| | text-align: center; |
| .mw-collapsible-leftside-toggle .mw-collapsible-toggle {
| | } |
| /* @noflip */
| | |
| float: left;
| | /* Remove .infobox when element selectors above are removed */ |
| /* @noflip */
| | .infobox .infobox-navbar { |
| text-align: left;
| | /* @noflip */ |
| }
| | text-align: right; |
|
| | } |
| /* Infobox template style */
| | |
| .infobox {
| | /* Normal font styling for wikitable row headers with scope="row" tag */ |
| border: 1px solid #a2a9b1;
| | .wikitable.plainrowheaders th[scope=row], |
| border-spacing: 3px;
| | .wikitable.plainrowheaders th[scope=rowgroup] { |
| background-color: #f8f9fa;
| | font-weight: normal; |
| color: black;
| | /* @noflip */ |
| /* @noflip */
| | text-align: left; |
| margin: 0.5em 0 0.5em 1em;
| | } |
| padding: 0.2em;
| | |
| /* @noflip */
| | /* Remove underlines from certain links */ |
| float: right;
| | .nounderlines a, |
| /* @noflip */
| | .IPA a:link, |
| clear: right;
| | .IPA a:visited { |
| font-size: 88%;
| | text-decoration: none !important; |
| line-height: 1.5em;
| | } |
| }
| | |
|
| | /* Prevent line breaks in silly places where desired (nowrap) |
| .infobox caption {
| | and links when we don't want them to (nowraplinks a) */ |
| font-size: 125%;
| | .nowrap, |
| font-weight: bold;
| | .nowraplinks a { |
| padding: 0.2em;
| | white-space: nowrap; |
| text-align: center;
| | } |
| }
| | |
|
| | /* But allow wrapping where desired: */ |
| .infobox td,
| | .wrap, |
| .infobox th {
| | .wraplinks a { |
| vertical-align: top;
| | white-space: normal; |
| /* @noflip */
| | } |
| text-align: left;
| | |
| }
| | /* texhtml class for inline math (based on generic times-serif class) */ |
|
| | span.texhtml { |
| .infobox.bordered {
| | font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; |
| border-collapse: collapse;
| | font-size: 118%; |
| }
| | line-height: 1; |
|
| | white-space: nowrap; |
| .infobox.bordered td,
| | /* Force tabular and lining display for texhtml */ |
| .infobox.bordered th {
| | -webkit-font-feature-settings: "lnum", "tnum", "kern" 0; |
| border: 1px solid #a2a9b1;
| | font-feature-settings: "lnum", "tnum", "kern" 0; |
| }
| | font-variant-numeric: lining-nums tabular-nums; |
|
| | font-kerning: none; |
| .infobox.bordered .borderless td,
| | } |
| .infobox.bordered .borderless th {
| | |
| border: 0;
| | span.texhtml span.texhtml { |
| }
| | font-size: 100%; |
|
| | } |
| .infobox.sisterproject {
| | |
| width: 20em;
| | @media screen { |
| font-size: 90%;
| | .nochecker .gallerybox .thumb img { |
| }
| | background-image: none; |
|
| | } |
| /* styles for bordered infobox with merged rows */
| | } |
| .infobox.bordered .mergedtoprow td,
| | |
| .infobox.bordered .mergedtoprow th {
| | /* Put anything you mean to be a sitewide addition above the TemplateStyles |
| border: 0;
| | * comment above. |
| border-top: 1px solid #a2a9b1;
| | */ |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| .infobox.bordered .mergedrow td,
| |
| .infobox.bordered .mergedrow th {
| |
| border: 0;
| |
| /* @noflip */
| |
| border-right: 1px solid #a2a9b1;
| |
| }
| |
|
| |
| /* Styles for geography infoboxes, eg countries,
| |
| country subdivisions, cities, etc. */
| |
| .infobox.geography {
| |
| border-collapse: collapse;
| |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| .infobox.geography td,
| |
| .infobox.geography th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: 1px solid #a2a9b1;
| |
| padding: 0.4em 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedrow td,
| |
| .infobox.geography .mergedrow th {
| |
| border: 0;
| |
| padding: 0 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedbottomrow td,
| |
| .infobox.geography .mergedbottomrow th {
| |
| border-top: 0;
| |
| border-bottom: 1px solid #a2a9b1;
| |
| padding: 0 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .maptable td,
| |
| .infobox.geography .maptable th {
| |
| border: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| /* Normal font styling for wikitable row headers with scope="row" tag */
| |
| .wikitable.plainrowheaders th[scope=row] {
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| /* Lists in wikitable data cells are always left-aligned */
| |
| .wikitable td ul,
| |
| .wikitable td ol,
| |
| .wikitable td dl {
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| /* ...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 {
| |
| text-align: inherit;
| |
| }
| |
|
| |
| /* Icons for medialist templates [[Template:Listen]],
| |
| [[Template:Multi-listen_start]], [[Template:Video]],
| |
| [[Template:Multi-video_start]] */
| |
| /* TemplateStyles */
| |
| div.listenlist {
| |
| background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
| |
| background-size: 30px;
| |
| padding-left: 40px;
| |
| }
| |
|
| |
| /* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
| |
| table.mw-hiero-table td {
| |
| vertical-align: middle;
| |
| }
| |
|
| |
| /* Change the external link icon to an Adobe icon for all PDF files */
| |
| .mw-parser-output a[href$=".pdf"].external,
| |
| .mw-parser-output a[href*=".pdf?"].external,
| |
| .mw-parser-output a[href*=".pdf#"].external,
| |
| .mw-parser-output a[href$=".PDF"].external,
| |
| .mw-parser-output a[href*=".PDF?"].external,
| |
| .mw-parser-output a[href*=".PDF#"].external {
| |
| background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
| |
| /* @noflip */
| |
| padding-right: 18px;
| |
| }
| |
|
| |
| /* Messagebox templates */
| |
| .messagebox {
| |
| border: 1px solid #a2a9b1;
| |
| background-color: #f8f9fa;
| |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: .2em;
| |
| }
| |
|
| |
| .messagebox.merge {
| |
| border: 1px solid #c0b8cc;
| |
| background-color: #f0e5ff;
| |
| text-align: center;
| |
| }
| |
|
| |
| .messagebox.cleanup {
| |
| border: 1px solid #9f9fff;
| |
| background-color: #efefff;
| |
| text-align: center;
| |
| }
| |
|
| |
| .messagebox.standard-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| margin: 4px auto;
| |
| }
| |
|
| |
| /* For old WikiProject banners inside banner shells. */
| |
| .mbox-inside .standard-talk,
| |
| .messagebox.nested-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| width: 100%;
| |
| margin: 2px 0;
| |
| padding: 2px;
| |
| }
| |
|
| |
| .messagebox.small {
| |
| width: 238px;
| |
| font-size: 85%;
| |
| /* @noflip */
| |
| float: right;
| |
| clear: both;
| |
| /* @noflip */
| |
| margin: 0 0 1em 1em;
| |
| line-height: 1.25em;
| |
| }
| |
|
| |
| .messagebox.small-talk {
| |
| width: 238px;
| |
| font-size: 85%;
| |
| /* @noflip */
| |
| float: right;
| |
| clear: both;
| |
| /* @noflip */
| |
| margin: 0 0 1em 1em;
| |
| line-height: 1.25em;
| |
| background-color: #f8eaba;
| |
| }
| |
|
| |
| /* 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;
| |
| /* @noflip */
| |
| padding: 0.25em 0.9em; /* 0.9em left/right */
| |
| width: 100%; /* Make all mboxes the same width regardless of text length */
| |
| }
| |
|
| |
| td.mbox-image { /* The left image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
| |
| text-align: center;
| |
| }
| |
|
| |
| td.mbox-imageright { /* The right image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| 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: 0;
| |
| width: 1px;
| |
| }
| |
|
| |
| /* Article message box styles */
| |
| table.ambox {
| |
| margin: 0 10%; /* 10% = Will not overlap with other elements */
| |
| border: 1px solid #a2a9b1;
| |
| /* @noflip */
| |
| border-left: 10px solid #36c; /* Default "notice" blue */
| |
| background-color: #fbfbfb;
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
|
| |
| .ambox th.mbox-text,
| |
| .ambox td.mbox-text { /* The message body cell(s) */
| |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| |
| }
| |
|
| |
| .ambox td.mbox-image { /* The left image cell */
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| }
| |
|
| |
| .ambox td.mbox-imageright { /* The right image cell */
| |
| /* @noflip */
| |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| |
| }
| |
|
| |
| table.ambox-notice {
| |
| /* @noflip */
| |
| border-left: 10px solid #36c; /* Blue */
| |
| }
| |
|
| |
| table.ambox-speedy {
| |
| /* @noflip */
| |
| border-left: 10px solid #b32424; /* Red */
| |
| background-color: #fee7e6; /* Pink */
| |
| }
| |
|
| |
| table.ambox-delete {
| |
| /* @noflip */
| |
| border-left: 10px solid #b32424; /* Red */
| |
| }
| |
|
| |
| table.ambox-content {
| |
| /* @noflip */
| |
| border-left: 10px solid #f28500; /* Orange */
| |
| }
| |
|
| |
| table.ambox-style {
| |
| /* @noflip */
| |
| border-left: 10px solid #fc3; /* Yellow */
| |
| }
| |
|
| |
| table.ambox-move {
| |
| /* @noflip */
| |
| border-left: 10px solid #9932cc; /* Purple */
| |
| }
| |
|
| |
| table.ambox-protection {
| |
| /* @noflip */
| |
| border-left: 10px solid #a2a9b1; /* Gray-gold */
| |
| }
| |
|
| |
| /* Image message box styles */
| |
| table.imbox {
| |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 3px solid #36c; /* Default "notice" blue */
| |
| background-color: #fbfbfb;
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
| |
| margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
| |
| display: block; /* Fix for webkit to force 100% width. */
| |
| }
| |
|
| |
| .mbox-inside .imbox { /* For imboxes inside other templates. */
| |
| margin: 4px;
| |
| }
| |
|
| |
| table.imbox-notice {
| |
| border: 3px solid #36c; /* Blue */
| |
| }
| |
|
| |
| table.imbox-speedy {
| |
| border: 3px solid #b32424; /* Red */
| |
| background-color: #fee7e6; /* Pink */
| |
| }
| |
|
| |
| table.imbox-delete {
| |
| border: 3px solid #b32424; /* Red */
| |
| }
| |
|
| |
| table.imbox-content {
| |
| border: 3px solid #f28500; /* Orange */
| |
| }
| |
|
| |
| table.imbox-style {
| |
| border: 3px solid #fc3; /* Yellow */
| |
| }
| |
|
| |
| table.imbox-move {
| |
| border: 3px solid #9932cc; /* Purple */
| |
| }
| |
|
| |
| table.imbox-protection {
| |
| border: 3px solid #a2a9b1; /* Gray-gold */
| |
| }
| |
|
| |
| table.imbox-license {
| |
| border: 3px solid #88a; /* Dark gray */
| |
| background-color: #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 #a2a9b1;
| |
| background-color: #dfe8ff; /* Default "notice" blue */
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| table.cmbox-notice {
| |
| background-color: #d8e8ff; /* Blue */
| |
| }
| |
|
| |
| table.cmbox-speedy {
| |
| margin-top: 4px;
| |
| margin-bottom: 4px;
| |
| border: 4px solid #b32424; /* Red */
| |
| background-color: #ffdbdb; /* Pink */
| |
| }
| |
|
| |
| table.cmbox-delete {
| |
| background-color: #ffdbdb; /* Pink */
| |
| }
| |
|
| |
| table.cmbox-content {
| |
| background-color: #ffe7ce; /* Orange */
| |
| }
| |
|
| |
| table.cmbox-style {
| |
| background-color: #fff9db; /* Yellow */
| |
| }
| |
|
| |
| table.cmbox-move {
| |
| background-color: #e4d8ff; /* Purple */
| |
| }
| |
|
| |
| table.cmbox-protection {
| |
| background-color: #efefe1; /* Gray-gold *
| |