|
|
| Line 338: |
Line 338: |
|
| |
|
|
| |
|
| /* NavFrames */
| | sup, |
| div.Boxmerge,
| | sub { |
| div.NavFrame, details.NavFrame {
| | /* prevent odd line-height for raised and lowered characters */ |
| margin: 0px 0px -1px 0px;
| | line-height: 1em; |
| padding: 2px;
| |
| border: 1px solid #aaaaaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| overflow: auto;
| |
| width: auto;
| |
| } | | } |
| div.Boxmerge div.NavFrame {
| | |
| border-style: none;
| | /* and keep links at normal font size/weight, else they inherit the header |
| border-style: hidden;
| | attributes */ |
| | .editsection { |
| | font-size: 100%; |
| | font-weight: normal; |
| } | | } |
| div.NavPic {
| | |
| background-color: #ffffff;
| | pre code, |
| margin: 0px;
| | code code { |
| padding: 2px;
| | border: none; |
| float: left;
| | padding: 0; |
| } | | } |
| div.NavFrame div.NavHead, details.NavFrame summary.NavHead {
| | |
| min-height: 1.6em;
| | pre var, |
| font-weight: bold;
| | code var { |
| font-size: 100%;
| | color: #777; |
| background-color: #efefef;
| |
| padding-left: 10px;
| |
| background-image:-webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DFDFDF), color-stop(0.6, #E3E3E3));
| |
| background-image:-moz-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);
| |
| background-image:-o-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);
| |
| }
| |
| div.NavFrame div.NavHead:hover, details.NavFrame summary.NavHead:hover {
| |
| background-color:#F6F6F6;
| |
| background-image:-webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#F3F3F3), color-stop(0.6, #EAEAEA));
| |
| background-image:-moz-linear-gradient(top, #EFEFEF, #EAEAEA 60%, #F3F3F3);
| |
| background-image:-o-linear-gradient(top, #EFEFEF, #EAEAEA 60%, #F3F3F3);
| |
| }
| |
| div.NavFrame div.NavHead:active, details.NavFrame summary.NavHead:active {
| |
| background-color:#E3E3E3;
| |
| background-image:-webkit-gradient(linear, left top, left bottom, from(#E3E3E3), to(#DFDFDF), color-stop(0.6, #D3D3D3));
| |
| background-image:-moz-linear-gradient(top, #E3E3E3, #D3D3D3 60%, #DFDFDF);
| |
| background-image:-o-linear-gradient(top, #E3E3E3, #D3D3D3 60%, #DFDFDF);
| |
| }
| |
| div.pseudo div.NavHead:hover {background-color:#EFEFEF;}
| |
| div.pseudo div.NavHeadpseudo:active {background-color:#EFEFEF;}
| |
| div.NavFrame p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent, details.NavFrame div.NavContent {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent p, details.NavFrame div.NavContent p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavEnd {
| |
| margin: 0px;
| |
| padding: 0px;
| |
| line-height: 1px;
| |
| clear: both;
| |
| }
| |
| span.NavToggle {
| |
| cursor: pointer;
| |
| float: right;
| |
| font-weight:normal;
| |
| font-size:smaller;
| |
| } | | } |
| .client-js .NavContent { display: none; }
| |
| .client-js .not .NavContent { display: block; }
| |
|
| |
|
| | /* This fixes a bug where certain Tibetan terms are cut off at the bottom... */ |
|
| |
|
| /* Other pages message box styles */
| | #firstHeading { |
| table.ombox {
| | overflow: visible; |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| } | | } |
|
| | |
| table.ombox-notice {
| | .ns-0 .timed-text { |
| border: 1px solid #aaa; /* Gray */
| | display: none; |
| } | | } |
| table.ombox-speedy {
| | |
| border: 2px solid #b22222; /* Red */
| | .client-js .audiometa { |
| background: #fee; /* Pink */
| | display: none; |
| } | | } |
| table.ombox-delete {
| | |
| border: 2px solid #b22222; /* Red */
| | .client-nojs .audiofile { |
| | display: none; |
| } | | } |
| table.ombox-content {
| | |
| border: 1px solid #f28500; /* Orange */
| | .nowrap { |
| | white-space: nowrap; |
| } | | } |
| 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 */
| |
| }
| |
|
| |
| /* Hm, still broken */
| |
|
| |
|
| | /* wikitable is part of core. prettytable is deprecated but still used in some |
| | places, until fully replaced: */ |
|
| |
|
| /* Edit window toolbar */
| |
| #toolbar {
| |
| height: 22px;
| |
| margin-bottom: 6px;
| |
| }
| |
|
| |
| /* Margins for <ol> and <ul> */
| |
| #content ol, #content ul,
| |
| #mw_content ol, #mw_content ul {
| |
| margin-bottom: 0.5em;
| |
| }
| |
|
| |
| /* Make the list of references smaller */
| |
| ol.references {
| |
| font-size: 100%;
| |
| }
| |
| .references-small {
| |
| font-size: 90%;
| |
| }
| |
|
| |
| /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
| |
| /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
| |
| /* column-count is from the CSS3 module "CSS Multi-column Layout" */
| |
| /* Please ignore any validator errors caused by these two lines */
| |
| .references-2column {
| |
| font-size: 90%;
| |
| -moz-column-count: 2;
| |
| -webkit-column-count: 2;
| |
| column-count: 2;
| |
| }
| |
|
| |
| /* Highlight clicked reference in blue to help navigation */
| |
| ol.references > li:target,
| |
| sup.reference:target,
| |
| cite:target {
| |
| background-color: #DEF;
| |
| }
| |
|
| |
| /* Ensure refs in table headers and the like aren't bold or italic */
| |
| sup.reference {
| |
| font-weight: normal;
| |
| font-style: normal;
| |
| }
| |
|
| |
|
| |
| /* Styling for citations */
| |
| cite {
| |
| font-style: normal;
| |
| word-wrap: break-word;
| |
| }
| |
|
| |
| /* 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, projection {
| |
| cite *.printonly {
| |
| display: none;
| |
| }
| |
| }
| |
|
| |
|
| |
| /* wikitable/prettytable class for skinning normal tables */
| |
| table.wikitable,
| |
| table.prettytable { | | table.prettytable { |
| margin: 1em 1em 1em 0;
| | margin: 1em 1em 1em 0; |
| background: #f9f9f9;
| | background: #f8f9fa; |
| border: 1px #aaa solid;
| | border: 1px #aaaaaa solid; |
| border-collapse: collapse;
| | border-collapse: collapse; |
| } | | } |
|
| |
|
| /* Default skin for navigation boxes */
| | table.prettytable th, |
| table.navbox { /* Navbox container style */ | | table.prettytable td { |
| border: 1px solid #aaa;
| | border: 1px #aaaaaa solid; |
| width: 100%;
| | padding: 0.2em; |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| } | | } |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | | |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| | table.prettytable th { |
| | background: #eeeeee; |
| | text-align: center; |
| } | | } |
| .navbox-title,
| | |
| .navbox-abovebelow,
| | table.prettytable caption { |
| table.navbox th { | | margin-left: inherit; |
| text-align: center; /* Title and above/below styles */
| | margin-right: inherit; |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| } | | } |
| .navbox-group { /* Group style */
| | |
| white-space: nowrap;
| | /* default setting for {{qualifier}} and {{sense}}. |
| text-align: right;
| | (Related classes that can be overridden: .qualifier-comma, |
| font-weight: bold;
| | .qualifier-content, .ib-brac, .qualifier-brac, .sense-qualifier-colon.) */ |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| } | |
| .navbox, .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| } | |
| .navbox-list { | |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox-title, | |
| table.navbox th {
| |
| background: #ccccff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow, | |
| .navbox-group, | |
| .navbox-subgroup .navbox-title {
| |
| background: #ddddff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
| |
| background: #e6e6ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
|
| |
| .collapseButton { /* 'show'/'hide' buttons created dynamically */
| |
| float: right; /* by the CollapsibleTables javascript in */
| |
| font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
| |
| text-align: right; /* so they can be customised. */
| |
| width: auto;
| |
| }
| |
| .navbox .collapseButton { /* In navboxes, the show/hide button balances */
| |
| width: 6em; /* the vde links from [[Template:Tnavbar]], */
| |
| } /* so they need to be the same width. */
| |
|
| |
| .ib-comma { | | .ib-comma { |
| font-style: normal; | | font-style: normal; |
| Line 592: |
Line 429: |
| display: none; | | display: none; |
| } | | } |
|
| | |
| /* Infobox template style */ | | /* default style for indented "see also" */ |
| .infobox { | | .disambig-see-also { |
| border: 1px solid #aaa;
| | text-indent: 2em; |
| background-color: #f9f9f9;
| |
| color: black;
| |
| margin: 0.5em 0 0.5em 1em;
| |
| padding: 0.2em;
| |
| float: right;
| |
| clear: right;
| |
| } | | } |
| .infobox td,
| | |
| .infobox th { | | .mention-tr { |
| vertical-align: top;
| | font-style: italic; |
| } | | } |
| .infobox caption { | | |
| font-size: larger;
| | /* add left-to-right mark */ |
| | .mention-gloss-paren::before, |
| | .mention-tr-paren::before { |
| | content: ""; |
| } | | } |
| .infobox.bordered { | | |
| border-collapse: collapse;
| | /* non-italic and non-bold gloss */ |
| | .mention-gloss-double-quote, |
| | .mention-gloss-paren, |
| | .mention-tr-gloss-separator-comma, |
| | .mention-tr-paren, |
| | .mention-tr-gloss-separator-comma { |
| | font-style: normal; |
| | font-weight: inherit; |
| } | | } |
| .infobox.bordered td, | | |
| .infobox.bordered th { | | /* default style for "form of" definitions */ |
| border: 1px solid #aaa;
| | .use-with-mention, |
| | .form-of-definition { |
| | font-style: italic; |
| } | | } |
| .infobox.bordered .borderless td, | | |
| .infobox.bordered .borderless th { | | .use-with-mention i, |
| border: 0;
| | .form-of-definition-link { |
| | font-style: normal; |
| } | | } |
|
| | |
| .infobox.sisterproject { | | .use-with-mention .mention, |
| width: 20em;
| | .form-of-definition-link .mention { |
| font-size: 90%;
| | font-style: normal; |
| | font-weight: bold; |
| } | | } |
|
| | |
| .infobox.standard-talk { | | /* display normalization in {{ux}}/{{usex}}, {{quote}}, {{quote-*}} in italics */ |
| border: 1px solid #c0c090;
| | .e-normalization { |
| background-color: #f8eaba;
| | font-style: italic; |
| } | | } |
| .infobox.standard-talk.bordered td,
| | |
| .infobox.standard-talk.bordered th { | | /* Inflection tables |
| border: 1px solid #c0c090;
| | ----------------------------- */ |
| | |
| | /* To colour links in inflection tables (currently done with |
| | {{notred}}) black without using #ifexist and allowing for user |
| | override */ |
| | .inflection-table .new { |
| | color: inherit; |
| } | | } |
|
| | |
| /* styles for bordered infobox with merged rows */ | | /* fill a parent NavContent collapsing box */ |
| .infobox.bordered .mergedtoprow td, | | .NavContent table.inflection, |
| .infobox.bordered .mergedtoprow th { | | .NavContent table.inflection-table { |
| border: 0;
| | margin-top: 0; |
| border-top: 1px solid #aaa;
| | width: 100%; |
| border-right: 1px solid #aaa;
| | display: table; |
| | border: 0; |
| } | | } |
|
| | |
| .infobox.bordered .mergedrow td,
| | /* basic inflection table styles */ |
| .infobox.bordered .mergedrow th { | | table.inflection { |
| border: 0;
| | border-collapse: collapse; |
| border-right: 1px solid #aaa;
| | border: 1px solid; |
| | background: #ffffff; |
| | /* TODO consider palettizing */ |
| } | | } |
|
| | |
| /* Styles for geography infoboxes, eg countries,
| | table.inflection caption { |
| country subdivisions, cities, etc. */
| | caption-side: bottom; |
| .infobox.geography { | | padding: 0.33em 1em; |
| text-align: left;
| | text-align: left; |
| border-collapse: collapse;
| | font-size: smaller; |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| } | | } |
|
| | |
| .infobox.geography td,
| | /* subtle grey for alternate row backgrounds */ |
| .infobox.geography th { | | table.inflection tr:nth-child(odd) { |
| border-top: solid 1px #aaa;
| | background: #fcfcfc; |
| padding: 0.4em 0.6em 0.4em 0.6em;
| | /* TODO consider palettizing */ |
| } | | } |
| .infobox.geography .mergedtoprow td,
| | |
| .infobox.geography .mergedtoprow th { | | /* and for row headers */ |
| border-top: solid 1px #aaa;
| | table.inflection tr:nth-child(odd):not(.rowgroup) th { |
| padding: 0.4em 0.6em 0.2em 0.6em;
| | background: #f6f6f6; |
| | /* TODO consider palettizing */ |
| } | | } |
|
| | |
| .infobox.geography .mergedrow td, | | /* dark mode background colors for table.inflection */ |
| .infobox.geography .mergedrow th { | | @media screen { |
| border: 0;
| | html.skin-theme-clientpref-night table.inflection { background-color: #242424; } |
| padding: 0 0.6em 0.2em 0.6em; | | html.skin-theme-clientpref-night table.inflection tr:nth-child(odd) { background-color: #2E2E2E; } |
| | html.skin-theme-clientpref-night table.inflection tr:nth-child(odd):not(.rowgroup) th { background-color: #303030; } |
| } | | } |
|
| | @media screen and (prefers-color-scheme: dark) { |
| .infobox.geography .mergedbottomrow td, | | html.skin-theme-clientpref-os table.inflection { background-color: #242424; } |
| .infobox.geography .mergedbottomrow th {
| | html.skin-theme-clientpref-os table.inflection tr:nth-child(odd) { background-color: #2E2E2E; } |
| border-top: 0;
| | html.skin-theme-clientpref-os table.inflection tr:nth-child(odd):not(.rowgroup) th { background-color: #303030; } |
| border-bottom: solid 1px #aaa; | |
| padding: 0 0.6em 0.4em 0.6em; | |
| } | | } |
|
| | |
| .infobox.geography .maptable td, | | table.inflection td, |
| .infobox.geography .maptable th { | | table.inflection th { |
| border: 0;
| | padding: 0.33em 1em; |
| padding: 0;
| | vertical-align: baseline; |
| } | | } |
|
| | |
| /* Makes redirects appear in italics in categories and on [[Special:Allpages]] */ | | /* but vertically center multi-row cells */ |
| .redirect-in-category, .allpagesredirect { | | table.inflection td[rowspan] { |
| font-style: italic;
| | vertical-align: middle; |
| } | | } |
|
| | |
| /* Icons for medialist templates [[Template:Listen]],
| | table.inflection td { |
| [[Template:Multi-listen_start]], [[Template:Video]],
| | text-align: center; |
| [[Template:Multi-video_start]]
| |
| */
| |
| div.listenlist {
| |
| background:
| |
| url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
| |
| padding-left: 40px;
| |
| } | | } |
|
| | |
| /* Style rules for media list templates */ | | /* regular row headers, in the left column */ |
| div.medialist {
| | table.inflection th { |
| min-height: 50px;
| | background: #f8f9fa; |
| margin: 1em;
| | text-align: left; |
| background-position: top left;
| |
| background-repeat: no-repeat;
| |
| } | | } |
| div.medialist ul {
| | |
| list-style-type: none;
| | /* rowgroup header rows */ |
| list-style-image: none;
| | table.inflection tr.rowgroup th { |
| margin: 0;
| | background: #eeeeee; |
| | text-align: center; |
| } | | } |
| div.medialist ul li {
| | |
| padding-bottom: 0.5em;
| | /* first-of-several rowgroup header cells is aligned left */ |
| | table.inflection tr.rowgroup th:first-child { |
| | text-align: left; |
| } | | } |
| div.medialist ul li li {
| | |
| font-size: 91%;
| | table.inflection tr.rowgroup th:first-child:only-child { |
| padding-bottom: 0;
| | text-align: center; |
| } | | } |
|
| | |
| /* Change the external link icon to an Adobe icon for all PDF files | | /* rows with dividers above */ |
| in browsers that support these CSS selectors, like Mozilla and Opera */
| | table.inflection tr.divider th { |
| #bodyContent a[href$=".pdf"].external,
| | border-top: 3px solid #999999; |
| #bodyContent a[href*=".pdf?"].external,
| |
| #bodyContent a[href*=".pdf#"].external,
| |
| #bodyContent a[href$=".PDF"].external,
| |
| #bodyContent a[href*=".PDF?"].external,
| |
| #bodyContent a[href*=".PDF#"].external,
| |
| #mw_content a[href$=".pdf"].external,
| |
| #mw_content a[href*=".pdf?"].external,
| |
| #mw_content a[href*=".pdf#"].external,
| |
| #mw_content a[href$=".PDF"].external,
| |
| #mw_content a[href*=".PDF?"].external,
| |
| #mw_content a[href*=".PDF#"].external {
| |
| background:
| |
| url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif")
| |
| center right no-repeat;
| |
| padding-right: 16px;
| |
| } | | } |
|
| | |
| /* Change the external link icon to an Adobe icon anywhere the PDFlink class | | /* transliterations */ |
| is used (notably Template:PDFlink). This works in IE, unlike the above. */
| | table.inflection .translit { |
| #bodyContent span.PDFlink a,
| | color: #888; |
| #mw_content span.PDFlink a {
| |
| background:
| |
| url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif")
| |
| center right no-repeat;
| |
| padding-right: 17px;
| |
| } | | } |
|
| | |
| /* Remove link styling. Already defined in monobook | | /* header links aren’t coloured until hover/active */ |
| and modern, but not defined in the other skins. Bug 18708 */
| | table.inflection th a:link, |
| #bodyContent .plainlinks a {
| | table.inflection th a:visited { |
| background: none !important;
| | color: inherit; |
| padding: 0 !important;
| | text-decoration: inherit; |
| } | | } |
|
| | |
| /* Content in columns with CSS instead of tables [[Template:Columns]] */
| | table.inflection th a:hover { |
| div.columns-2 div.column {
| | color: #0645ad; |
| float: left;
| | text-decoration: underline; |
| width: 50%;
| |
| min-width: 300px;
| |
| } | | } |
| div.columns-3 div.column {
| | |
| float: left;
| | table.inflection th a:active { |
| width: 33.3%;
| | color: #faa700; |
| min-width: 200px;
| | text-decoration: underline; |
| } | | } |
| div.columns-4 div.column {
| | |
| float: left;
| | /* ---- |
| width: 25%;
| | end of Inflection tables */ |
| min-width: 150px;
| | |
| | /* Hide interproject links used by [[MediaWiki:Gadget-AggregateInterprojectLinks.js]] */ |
| | |
| | .interProject { |
| | display: none; |
| | clear: both; |
| | border-top: 2px dotted #AAAAAA; |
| | margin-top: 2em; |
| } | | } |
| div.columns-5 div.column {
| | |
| float: left;
| | /* Translation styling */ |
| width: 20%;
| | |
| min-width: 120px;
| | .checktrans, |
| | .rfc-trans, |
| | .trreq, |
| | .ttbc { |
| | background: #f0fff0; |
| } | | } |
|
| | |
| /* Make sure that "external references" from templates like [[Template:Ref]] | | /* t+ t t- templates: */ |
| do not get URL expansion, not even when printed. The anchor itself has
| | |
| class "external autonumber" and the url expansion is inserted when printing
| | .tneg, |
| (see [http://en.wikipedia.org/skins-1.5/common/commonPrint.css]) using the
| | .tpos, |
| ":after" pseudo-element.
| | .tunk { |
| */
| | vertical-align: 20%; |
| .nourlexpansion a.external.text:after, | | font-size: 80%; |
| .nourlexpansion a.external.autonumber:after {
| |
| display: none !important;
| |
| } | | } |
|
| | |
| /* The legacy implementation of this was with "plainlinksneverexpand", which
| | .tneg a { |
| also simulated "plainlinks". "plainlinksneverexpand" is deprecated and
| | color: #cc2200 !important; |
| should be replaced with "plainlinks nourlexpansion". When this has been
| |
| done, the rules below can be removed.
| |
| */
| |
| .plainlinksneverexpand a {
| |
| background: none !important;
| |
| padding: 0 !important;
| |
| } | | } |
| .plainlinksneverexpand a.external.text:after,
| | |
| .plainlinksneverexpand a.external.autonumber:after { | | /* monobook redlink colour, standard #ba0000 */ |
| display: none !important;
| | .tneg a:visited { |
| | color: #a55858 !important; |
| } | | } |
|
| | |
| /* Messagebox templates */ | | /* standard visited redlink colour */ |
| .messagebox { | | |
| border: 1px solid #aaa;
| | .tpos a { |
| background-color: #f9f9f9;
| | color: var(--wikt-palette-deepblue); |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: .2em;
| |
| } | | } |
| .messagebox.merge { | | |
| border: 1px solid #c0b8cc;
| | /* standard bluelink colour */ |
| background-color: #f0e5ff;
| | .tpos a:visited { |
| text-align: center;
| | color: var(--wikt-palette-blue); |
| } | | } |
| .messagebox.cleanup { | | |
| border: 1px solid #9f9fff;
| | /* standard bluelink colour */ |
| background-color: #efefff;
| | |
| text-align: center;
| | .tunk a { |
| | color: #3366BB !important; |
| } | | } |
| .messagebox.standard-talk {
| | |
| border: 1px solid #c0c090;
| | /* standard external interwiki colour */ |
| background-color: #f8eaba;
| | .tunk a:active { |
| margin: 4px auto;
| | color: #3366BB !important; |
| } | | } |
| /* For old WikiProject banners inside banner shells. */ | | |
| .mbox-inside .standard-talk, | | /* redundant */ |
| .messagebox.nested-talk { | | |
| border: 1px solid #c0c090;
| | /* for parentheses, we use .tlc and .tlcp, the latter has no definition here |
| background-color: #f8eaba;
| | (display:inline) */ |
| width: 100%;
| | .tlc { |
| margin: 2px 0;
| | display: none; |
| padding: 2px;
| |
| } | | } |
| .messagebox.small { | | |
| width: 238px;
| | /* Main Page heading removal */ |
| font-size: 85%;
| | .page-Wiktionary_Main_Page #lastmod, |
| float: right;
| | .page-Wiktionary_Main_Page #siteSub, |
| clear: both;
| | .page-Wiktionary_Main_Page #contentSub, |
| margin: 0 0 1em 1em;
| | .page-Wiktionary_Main_Page h1.firstHeading { |
| line-height: 1.25em;
| | display: none; |
| | /* NOT important */ |
| } | | } |
| .messagebox.small-talk {
| | |
| width: 238px;
| | /* Main page fixes */ |
| font-size: 85%;
| | #interwiki-completelist { |
| float: right;
| | font-weight: bold; |
| clear: both;
| |
| margin: 0 0 1em 1em;
| |
| line-height: 1.25em;
| |
| background: #F8EABA;
| |
| } | | } |
|
| | |
|
| | /* Try to make search results more obviously links */ |
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | | .mw-special-Search #bodyContent li a { |
| th.mbox-text, td.mbox-text { /* The message body cell(s) */
| | font-weight: bold; |
| border: none;
| |
| 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;
| | .mw-special-Search .searchmatch { |
| padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
| | font-weight: normal; |
| text-align: center;
| | color: #000000; |
| | background-color: #FFEE77; |
| } | | } |
| td.mbox-imageright { /* The right image cell */
| | |
| border: none;
| | /* [[WT:FEED]] */ |
| padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
| | #p-feedback a { |
| text-align: center;
| | cursor: pointer; |
| } | | } |
| td.mbox-empty-cell { /* An empty narrow cell */
| | |
| border: none;
| | /* Old revisions */ |
| padding: 0px;
| | |
| width: 1px;
| | #mw-revision-info { |
| | border: 2px solid #8888FF; |
| | /* TODO consider palettizing */ |
| | border-left: 0px; |
| | border-right: 0px; |
| | font-size: 110%; |
| | margin: 5px; |
| | margin-left: 0px; |
| } | | } |
|
| | |
| /* Article message box styles */ | | /* dark mode border color for #mw-revision-info */ |
| table.ambox {
| | @media screen { html.skin-theme-clientpref-night #mw-revision-info { border-color: #4444BB; } } |
| margin: 0px 10%; /* 10% = Will not overlap with other elements */
| | @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os #mw-revision-info { border-color: #4444BB; } } |
| border: 1px solid #aaa;
| | |
| border-left: 10px solid #1e90ff; /* Default "notice" blue */
| | #mw-editingold { |
| background: #fbfbfb;
| | margin-left: 15px; |
| | margin: 5px; |
| | padding: 5px; |
| | border: 2px solid #CC0000; |
| | border-width: 2px 0px; |
| } | | } |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| | |
| margin-top: -1px;
| | /* maintenance line */ |
| | .maintenance-line { |
| | color: #777777; |
| | /* TODO consider palettizing */ |
| } | | } |
| .ambox th.mbox-text, | | |
| .ambox td.mbox-text { /* The message body cell(s) */ | | /* dark mode text color for maintenance line */ |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| | @media screen { html.skin-theme-clientpref-night .maintenance-line { color: #adb7bf; } } |
| | @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .maintenance-line { color: #adb7bf; } } |
| | |
| | /* Night mode logo appearance, see [[Wiktionary:Grease pit/2025/January#Top left Wiktionary logo in dark mode]] */ |
| | @media screen { |
| | html.skin-theme-clientpref-night img.mw-logo-icon { |
| | color-scheme: light; |
| | filter: invert(1) brightness(55%) contrast(250%) hue-rotate(180deg); |
| | } |
| } | | } |
| .ambox td.mbox-image { /* The left image cell */ | | @media screen and (prefers-color-scheme: dark) { |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| | html.skin-theme-clientpref-os img.mw-logo-icon { |
| | color-scheme: light; |
| | filter: invert(1) brightness(55%) contrast(250%) hue-rotate(180deg); |
| | } |
| } | | } |
| .ambox td.mbox-imageright { /* The right image cell */
| | |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| | /* Make Recent changes look nice again */ |
| | span.newpage, |
| | span.minor, |
| | span.searchmatch, |
| | span.bot, |
| | span.unpatrolled { |
| | font-family: sans-serif !important; |
| } | | } |
|
| | |
| table.ambox-notice {
| | /* Styling for the different kinds of collapsible boxes and lists */ |
| border-left: 10px solid #1e90ff; /* Blue notice*/
| | |
| | /* NavFrames */ |
| | div.NavFrame, |
| | details.NavFrame { |
| | border: 1px solid #9e9e9e; |
| | text-align: center; |
| | border-collapse: collapse; |
| | font-size: 95%; |
| | overflow: auto; |
| | width: auto; |
| } | | } |
| table.ambox-rednotice{
| |
| border-left: 10px solid #e60000; /*Light red notice*/
| |
|
| |
|
| | div.NavFrame > ul, div.NavFrame > ol { |
| | text-align: left; |
| } | | } |
| table.ambox-speedy {
| | |
| border-left: 10px solid #b22222; /* Red */
| | div.NavFrame div.NavHead, |
| background: #fee; /* Pink */
| | details.NavFrame summary.NavHead { |
| | margin: 2px; |
| | min-height: 1.6em; |
| | font-weight: bold; |
| | font-size: 100%; |
| | text-align: left; |
| | padding: 1px 5px 1px 10px; |
| | background-color: #eaecf0; |
| } | | } |
| table.ambox-delete {
| | |
| border-left: 10px solid #b22222; /* Red */
| | div.NavFrame p { |
| | font-size: 100%; |
| } | | } |
| table.ambox-content {
| | |
| border-left: 10px solid #f28500; /* Orange */
| | div.NavFrame div.NavContent, |
| | details.NavFrame div.NavContent { |
| | font-size: 100%; |
| | border-top: 1px solid #9e9e9e; |
| } | | } |
| table.ambox-style {
| | |
| border-left: 10px solid #f4c430; /* Yellow */
| | div.NavFrame div.NavContent p, |
| | details.NavFrame div.NavContent p { |
| | font-size: 100%; |
| } | | } |
| table.ambox-move {
| | |
| border-left: 10px solid #9932cc; /* Purple */
| | /* Used by box-top/box-bottom */ |
| | .NavContent.boxcontent { |
| | padding: 0.25em 0.5em; |
| } | | } |
| table.ambox-protection {
| | .NavContent.boxcontent > p:last-child { |
| border-left: 10px solid #bba; /* Gray-gold */
| | margin-bottom: 0.5em; /* from 1em to avoid some extra asymmetric space */ |
| } | | } |
|
| | |
| /* Image message box styles */ | | /* Override default added margins which mess up the background */ |
| table.imbox {
| | .NavContent.derivedterms > p, |
| margin: 4px 10%;
| | .NavContent.columns-bg > p { |
| border-collapse: collapse;
| | margin: 0; |
| 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. */
| | .NavContent.derivedterms > p, |
| | .NavContent.derivedterms > ul, |
| | .NavContent.columns-bg > p, |
| | .NavContent.columns-bg > ul { |
| | padding: 0.5em; |
| } | | } |
| .mbox-inside .imbox { /* For imboxes inside other templates. */ | | |
| margin: 4px;
| | span.NavToggle { |
| | cursor: pointer; |
| | float: right; |
| | font-weight: normal; |
| | font-size: smaller; |
| | margin-top: 1px; |
| } | | } |
|
| | |
| table.imbox-notice {
| | /* add slight gap between NavToggle and rest of the heading */ |
| border: 3px solid #1e90ff; /* Blue */
| | .NavToggle { |
| | margin-left: 0.5em; |
| } | | } |
| table.imbox-speedy {
| | |
| border: 3px solid #b22222; /* Red */
| | /* Collapsible term lists */ |
| background: #fee; /* Pink */
| | |
| | .list-switcher { |
| | /* This is a hack so we can use getComputedStyle to find the |
| | maximum permissible height value of a list-switcher. |
| | It must be kept in sync with .list-switcher-collapsed `max-height` */ |
| | bottom: calc(3.2 * 1.6em); /* for browsers that don't support `lh` units */ |
| | bottom: 3.2lh; |
| } | | } |
| table.imbox-delete {
| | |
| border: 3px solid #b22222; /* Red */
| | .list-switcher-wrapper, |
| | :not(.list-switcher-wrapper) > .list-switcher { |
| | contain: layout; /* stop floating elements from messing with layout */ |
| | margin-top: 0.3em; /* replaces margin lost on <ul> in following ruleset */ |
| } | | } |
| table.imbox-content {
| | |
| border: 3px solid #f28500; /* Orange */
| | .list-switcher > div > ul { |
| | margin-top: 0; /* needed to avoid jumps when collapsing/uncollapsing */ |
| } | | } |
| table.imbox-style {
| | |
| border: 3px solid #f4c430; /* Yellow */
| | .list-switcher ul ul { |
| | margin-top: 0.1em; /* make margin above nested lists equal to margin at bottom of <li>s */ |
| } | | } |
| table.imbox-move {
| | |
| border: 3px solid #9932cc; /* Purple */
| | .list-switcher-collapsed { |
| | /* If changing this value, change .list-switcher `bottom` above */ |
| | max-height: calc(3.2 * 1.6em); /* for browsers that don't support `lh` units */ |
| | max-height: 3.2lh; |
| | overflow-y: hidden; |
| } | | } |
| table.imbox-protection {
| | |
| border: 3px solid #bba; /* Gray-gold */
| | .list-switcher-header { |
| | background: var(--wikt-palette-grey-indigo-2); |
| | font-weight: bold; |
| | font-size: 95%; |
| | padding: 0.2em 0.4em 0.1em 0.6em; |
| } | | } |
| table.imbox-license {
| | |
| border: 3px solid #88a; /* Dark gray */
| | .list-switcher-header + .list-switcher .term-list { |
| background: #f7f8ff; /* Light gray */
| | padding-top: 0.1em; |
| } | | } |
| table.imbox-featured {
| | |
| border: 3px solid #cba135; /* Brown-gold */ | | .list-switcher-edit { |
| | margin-left: 1.5em; |
| | font-size: 87.75%; /* exactly match font size of [show more] button (in Chromium-based browsers at least) */ |
| | font-weight: normal; |
| } | | } |
|
| | .list-switcher-edit::before { |
| /* Category message box styles */
| | content: "["; |
| table.cmbox {
| |
| margin: 3px 10%;
| |
| border-collapse: collapse;
| |
| border: 1px solid #aaa;
| |
| background: #DFE8FF; /* Default "notice" blue */
| |
| } | | } |
|
| | .list-switcher-edit::after { |
| table.cmbox-notice {
| | content: "]"; |
| background: #D8E8FF; /* Blue */
| |
| } | | } |
| table.cmbox-speedy {
| | |
| margin-top: 4px;
| | .list-switcher-large-text { |
| margin-bottom: 4px;
| | /* Keep in sync with next ruleset */ |
| border: 4px solid #b22222; /* Red */
| | bottom: calc(4 * 1.6em); /* for browsers that don't support `lh` units */ |
| background: #FFDBDB; /* Pink */
| | bottom: 4lh; |
| } | | } |
| table.cmbox-delete {
| | .list-switcher-large-text.list-switcher-collapsed { |
| background: #FFDBDB; /* Red */
| | /* Keep in sync with previous ruleset */ |
| | max-height: calc(4 * 1.6em); /* for browsers that don't support `lh` units */ |
| | max-height: 4lh; |
| } | | } |
| table.cmbox-content {
| | |
| background: #FFE7CE; /* Orange */
| | .list-switcher-element { |
| | text-align: center; |
| | cursor: pointer; |
| | background: var(--wikt-palette-grey-indigo-2); |
| | border-bottom-left-radius: calc(0.31 * 1.6em); /* for browsers that don't support `lh` units */ |
| | border-bottom-left-radius: 0.3lh; |
| | border-bottom-right-radius: calc(0.31 * 1.6em); /* for browsers that don't support `lh` units */ |
| | border-bottom-right-radius: 0.3lh; |
| } | | } |
| table.cmbox-style {
| | |
| background: #FFF9DB; /* Yellow */
| | .list-switcher-element .NavToggle { |
| | float: none; |
| } | | } |
| table.cmbox-move {
| | |
| background: #E4D8FF; /* Purple */
| | .columns-bg:not(.term-list) .CategoryTreeChildren { |
| | -moz-column-count: 3; |
| | column-count: 3; |
| } | | } |
| table.cmbox-protection {
| | |
| background: #EFEFE1; /* Gray-gold */
| | /* Hidden Quotes and *nyms toggle */ |
| | .HQToggle, |
| | .nyms-toggle, |
| | .usex-toggle { |
| | font-size: smaller; |
| | position: relative; |
| | bottom: 1px; |
| | left: 5px; |
| } | | } |
|
| | |
| /* Other pages message box styles */ | | /* Hidden quotes */ |
| table.ombox {
| | .client-js .ns-0 ol>li>ul { |
| margin: 4px 10%;
| | display: none; |
| border-collapse: collapse;
| |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| } | | } |
|
| | |
| table.ombox-notice {
| | /* wrap toggle links with [ and ] */ |
| border: 1px solid #aaa; /* Gray */
| | .HQToggle:before, |
| | .NavToggle:before, |
| | .nyms-toggle:before, |
| | .usex-toggle:before { |
| | content: '['; |
| } | | } |
| table.ombox-speedy {
| | |
| border: 2px solid #b22222; /* Red */
| | .HQToggle:after, |
| background: #fee; /* Pink */
| | .NavToggle:after, |
| | .nyms-toggle:after, |
| | .usex-toggle:after { |
| | content: ']'; |
| } | | } |
| table.ombox-delete {
| | |
| border: 2px solid #b22222; /* Red */
| | .HQToggle a, |
| | .NavToggle a, |
| | .nyms-toggle a, |
| | .usex-toggle a { |
| | -webkit-user-select: none; |
| | -moz-user-select: none; |
| | user-select: none; |
| } | | } |
| table.ombox-content {
| | |
| border: 1px solid #f28500; /* Orange */
| | .client-js .NavFrame .NavContent { |
| | display: none; |
| } | | } |
| table.ombox-style {
| | |
| border: 1px solid #f4c430; /* Yellow */
| | .client-js .not .NavContent { |
| | /* ??? */ |
| | display: block; |
| } | | } |
| table.ombox-move {
| | |
| border: 1px solid #9932cc; /* Purple */
| | /* View switcher */ |
| | .vsShow { |
| | display: none; |
| } | | } |
| table.ombox-protection {
| | |
| border: 2px solid #bba; /* Gray-gold */
| | /* End styling for collapsible lists */ |
| | |
| | /* Quote clarifications, e.g. {{quote-gloss}}, {{quote-qualifier}} */ |
| | .quote-note { |
| | color: #999; |
| } | | } |
|
| | |
| /* Talk page message box styles */ | | /* stuff visible when previewing an edit only */ |
| table.tmbox {
| | |
| margin: 4px 10%;
| | .previewonly { |
| border-collapse: collapse;
| | display: none; |
| 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 */
| | #wikiPreview .previewonly { |
| width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */
| | display: inline; |
| } | | } |
| .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
| | |
| line-height: 1.5em; /* also "nested", so reset styles that are */
| | /* Highlight the relevant sense when the user follows a link to a {{senseid}}. |
| font-size: 100%; /* set in "mbox-small" above. */
| | The class="senseid" should ideally be on the enclosing <li> tag. We attempt to make the |
| | highlight work when the class="senseid" is on a <span> inside the <li>, but the :has |
| | selector was not supported by all browsers as of late 2023. This feature was nonetheless |
| | requested by Benwing at [[Wiktionary:Grease_pit/2023/November#Why_does_Template%3Asenseid_use_HTML_li_tag%3F]]. |
| | THe version with :has is provided as a separate declaration to ensure maximum compatibility. */ |
| | .senseid:target { |
| | background: #DEF; |
| } | | } |
|
| | |
| table.tmbox-speedy {
| | li:has(> span.senseid:target) { |
| border: 2px solid #b22222; /* Red */
| | background: #DEF; |
| background: #fee; /* Pink */
| |
| } | | } |
| table.tmbox-delete {
| | |
| border: 2px solid #b22222; /* Red */
| | .etymid:target { |
| | background: #DEF; |
| } | | } |
| table.tmbox-content {
| | |
| border: 2px solid #f28500; /* Orange */
| | p:has(> span.etymid:target) { |
| | background: #DEF; |
| } | | } |
| table.tmbox-style {
| | |
| border: 2px solid #f4c430; /* Yellow */
| | /* fix extra gap if there is something between etymid and rest of etymology */ |
| | p:has(> span.etymid:only-child) { |
| | display: inline; |
| } | | } |
| table.tmbox-move {
| | |
| border: 2px solid #9932cc; /* Purple */
| | /* and highlight the next paragraph too if that happened, |
| | since otherwise the highlight may be lost entirely on the invisible etymid */ |
| | p:has(> span.etymid:target:only-child) + p { |
| | background: #DEF; |
| } | | } |
| table.tmbox-protection, | | |
| table.tmbox-notice {
| | /* Skin CSS highlights table rows targeted by the current browser location |
| border: 1px solid #c0c090; /* Gray-brown */
| | (tr:target). This rule highlight table rows containing target cells so that |
| | there can be multiple IDs in a table row in [[Wiktionary:List of languages]] |
| | and [[Wiktionary:List of languages/special#Etymology-only languages]]. */ |
| | tr:has(> :target), |
| | tr:has(> td > code:target) { |
| | background: #DEF; |
| } | | } |
|
| | |
| /* Disambig and set index box styles */ | | /* show the "serial and" in the disambiguation see also */ |
| table.dmbox {
| | .serial-and { |
| clear: both;
| | display: inline; |
| margin: 0.9em 1em;
| |
| border-top: 1px solid #ccc;
| |
| border-bottom: 1px solid #ccc;
| |
| background: transparent;
| |
| } | | } |
|
| | |
| /* Footer and header message box styles */ | | /* hide the serial commas */ |
| table.fmbox {
| | .serial-comma { |
| clear: both;
| | display: none; |
| margin: 0.2em 0;
| |
| width: 100%;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9; /* Default "system" gray */
| |
| } | | } |
| table.fmbox-system {
| | |
| background: #f9f9f9;
| | /* Gender and number templates */ |
| | .gender, |
| | .number, |
| | .noun-class { |
| | font-style: italic; |
| } | | } |
| table.fmbox-warning {
| | |
| border: 1px solid #bb7070; /* Dark pink */
| | abbr { |
| background: #ffdbdb; /* Pink */
| | border-bottom-width: 0; |
| } | | } |
| table.fmbox-editnotice {
| | |
| background: transparent;
| | /* hide "did you mean" on Noarticletext self-links */ |
| | .did-you-mean strong { |
| | display: none; |
| } | | } |
| /* Div based "warning" style fmbox messages. */ | | |
| div.mw-warning-with-logexcerpt,
| | /* make script/module errors smaller */ |
| div.mw-lag-warn-high,
| | .scribunto-error { |
| div.mw-cascadeprotectedwarning {
| | font-size: 75%; |
| 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]]. */
| | /* allow inline hieroglyphs */ |
| div.mw-lag-warn-normal,
| | .mw-hiero-outer { |
| div.noarticletext,
| | display: inline-table !important; /* override skin styling on mobile */ |
| div.fmbox-system {
| | vertical-align: middle; |
| clear: both;
| | font-size: 10px; |
| 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 | | /* allow mirrored custom hieroglyph (and other) images */ |
| ambox/tmbox/ombox etc classes. "body.mediawiki" is so
| | .mw-mirrored img { |
| they override "table.ambox + table.ambox" above. */
| | transform: scaleX(-1); |
| 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;
| | /* softer highlighting of 'updated since last visit' */ |
| width: 238px;
| | span.updatedmarker { |
| border-collapse: collapse;
| | background-color: #c0e4c0; |
| font-size: 88%;
| |
| line-height: 1.25em;
| |
| } | | } |
|
| | |
|
| | /* {{TOC limit}} */ |
| /* Support for Template:IPA, Template:Unicode and Template:Polytonic. | | /* Allow limiting of which header levels are shown in a TOC; |
| The second declarations reset the styles for all browsers except
| | <div class="toclimit-3">, for instance, will limit to showing ==headings== |
| IE6, which chokes on the empty comment tags. Please copy any changes
| | and ===headings=== but no further (as long as there are no =headings= on the |
| to [[Template:IPA fonts]] and [[Template:Unicode fonts]].
| | page, which there shouldn't be according to the MoS). */ |
| */ | | .toclimit-2 .toclevel-1 ul, |
| .IPA { | | .toclimit-3 .toclevel-2 ul, |
| font-family: Gentium,'Gentium Plus',GentiumAlt,'DejaVu Sans','Segoe UI','Lucida Grande','Charis SIL','Doulos SIL','TITUS Cyberbit Basic','Code2000','Lucida Sans Unicode',sans-serif;
| | .toclimit-4 .toclevel-3 ul, |
| font-size: 110%;
| | .toclimit-5 .toclevel-4 ul, |
| font-family /**/:inherit;
| | .toclimit-6 .toclevel-5 ul, |
| | .toclimit-7 .toclevel-6 ul { |
| | display: none; |
| } | | } |
|
| |
|
| .Unicode {
| | /* |
| font-family: GentiumPlus, Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic",
| | * Script and language-related styles are in [[MediaWiki:Gadget-LanguagesAndScripts.css]] |
| "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit",
| |
| "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt,
| |
| "Lucida Grande", "Free Sans", "Arial Unicode MS",
| |
| "Microsoft Sans Serif", "Lucida Sans Unicode";
| |
| font-family /**/: inherit;
| |
| }
| |
| .latinx {
| |
| font-family: GentiumPlus, Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
| |
| font-family /**/: inherit;
| |
| }
| |
| .polytonic {
| |
| font-family: GentiumPlus, "Athena Unicode", Gentium, "Palatino Linotype",
| |
| "Arial Unicode MS", "Lucida Sans Unicode",
| |
| "Lucida Grande", Code2000;
| |
| font-family /**/: inherit;
| |
| }
| |
|
| |
| #wpSave {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
| |
| .hiddenStructure {
| |
| display: inline ! important;
| |
| color: #f00;
| |
| background-color: #0f0;
| |
| }
| |
|
| |
| /* suppress missing interwiki image links where #ifexist cannot
| |
| be used due to high number of requests see .hidden-redlink on
| |
| http://meta.wikimedia.org/wiki/MediaWiki:Common.css
| |
| */
| |
| .check-icon a.new {
| |
| display: none;
| |
| speak: none;
| |
| }
| |
|
| |
| /* Removes underlines from links */
| |
| .nounderlines a {
| |
| text-decoration: none;
| |
| }
| |
|
| |
| /* Remove underline from IPA links */
| |
| .IPA a:link, .IPA a:visited {
| |
| text-decoration: none;
| |
| }
| |
|
| |
| /* Standard Navigationsleisten, aka box hiding thingy
| |
| from .de. Documentation at [[Wikipedia:NavFrame]]. */
| |
| div.NavFrame {
| |
| margin: 0;
| |
| padding: 4px;
| |
| border: 1px solid #aaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
| div.NavFrame + div.NavFrame {
| |
| border-top-style: none;
| |
| border-top-style: hidden;
| |
| }
| |
| div.NavPic {
| |
| background-color: #fff;
| |
| margin: 0;
| |
| padding: 2px;
| |
| float: left;
| |
| }
| |
| div.NavFrame div.NavHead {
| |
| height: 1.6em;
| |
| font-weight: bold;
| |
| background-color: #ccf;
| |
| position: relative;
| |
| }
| |
| div.NavFrame p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavEnd {
| |
| margin: 0;
| |
| padding: 0;
| |
| line-height: 1px;
| |
| clear: both;
| |
| }
| |
| a.NavToggle {
| |
| position: absolute;
| |
| top: 0;
| |
| right: 3px;
| |
| font-weight: normal;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| /* Coloured watchlist numbers */
| |
| .mw-plusminus-pos { color: #006400; } /* dark green */
| |
| .mw-plusminus-neg { color: #8B0000; } /* dark red */
| |
|
| |
| .rellink,
| |
| .dablink {
| |
| font-style: italic;
| |
| padding-left: 2em;
| |
| }
| |
| .rellink i,
| |
| .dablink i {
| |
| font-style: normal;
| |
| }
| |
|
| |
| /* Style for horizontal UL lists */
| |
| .horizontal ul {
| |
| padding: 0;
| |
| margin: 0;
| |
| }
| |
| .horizontal li {
| |
| padding: 0 0.6em 0 0.4em;
| |
| display: inline;
| |
| border-right: 1px solid;
| |
| }
| |
| .horizontal li:last-child {
| |
| border-right: none;
| |
| padding-right: 0;
| |
| }
| |
|
| |
| /* Allow transcluded pages to display in lists rather than a table.
| |
| Compatible in Firefox; incompatible in IE6. */
| |
| .listify td { display: list-item; }
| |
| .listify tr { display: block; }
| |
| .listify table { display: block; }
| |
|
| |
| /* 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 { display: inline; }
| | |
| .geo-nondefault, .geo-multi-punct { display: none; }
| | /* A kludge that lets the members of [[:Category:Redirected combining characters]] be displayed. */ |
| .longitude, .latitude { white-space: nowrap; }
| | body.page-Category_Combining_characters div#mw-pages li, |
|
| | body.page-Category_Redirected_combining_characters div#mw-pages li, |
| /* When <div class="nonumtoc"> is used on the table of contents, | | body.page-Category_IPA_combining_characters div#mw-pages li { |
| the ToC will display without numbers */
| | letter-spacing: 0.3em; |
| .nonumtoc .tocnumber { display: none; } | |
| .nonumtoc #toc ul, | |
| .nonumtoc .toc ul { | |
| line-height: 1.5em;
| |
| list-style: none;
| |
| margin: .3em 0 0;
| |
| padding: 0;
| |
| } | | } |
| .nonumtoc #toc ul ul, | | |
| .nonumtoc .toc ul ul { | | /* Grease Pit edit button fix */ |
| margin: 0 0 0 2em;
| | .page-Wiktionary_Grease_pit.skin-vector #ca-edit, |
| | .page-Wiktionary_Etymology_scriptorium.skin-vector #ca-edit, |
| | .page-Wiktionary_Information_desk.skin-vector #ca-edit, |
| | .page-Wiktionary_Beer_parlour.skin-vector #ca-edit, |
| | .page-Wiktionary_Tea_room.skin-vector #ca-edit { |
| | display: none; |
| } | | } |
|
| | |
| /* Allow limiting of which header levels are shown in a TOC; | | /* Definition dates, in {{defdate}} */ |
| <div class="toclimit-3">, for instance, will limit to
| | .defdate { |
| showing ==headings== and ===headings=== but no further
| | font-size: smaller; |
| (as long as there are no =headings= on the page, which
| |
| there shouldn't be according to the MoS).
| |
| */
| |
| .toclimit-2 .toclevel-2,
| |
| .toclimit-3 .toclevel-3,
| |
| .toclimit-4 .toclevel-4,
| |
| .toclimit-5 .toclevel-5,
| |
| .toclimit-6 .toclevel-6,
| |
| .toclimit-7 .toclevel-7 { display: none; }
| |
|
| |
| /* Styling for Template:Quote */
| |
| blockquote.templatequote {
| |
| margin-top: 0;
| |
| } | | } |
| blockquote.templatequote div.templatequotecite {
| | |
| line-height: 1em;
| | /* unit tests filter */ |
| text-align: left;
| | table.unit-tests.unit-tests-hide-passing tr.unit-test-pass { |
| padding-left: 2em;
| | display: none; |
| margin-top: 0;
| |
| } | | } |
| blockquote.templatequote div.templatequotecite cite {
| | |
| font-size: 85%;
| | table.unit-tests th.unit-tests-img-corner { |
| | background: #d9ebff; |
| | min-width: 1em; |
| } | | } |
|
| |
|
| .mw-body h1, | | table.unit-tests.unit-tests-hide-passing th.unit-tests-img-corner { |
| .mw-body-content h1, | | background: red; |
| .mw-body-content h2 { | |
| font-family: 'Linux Libertine', 'Times', 'Georgia', serif; | |
| } | | } |
|
| |
|
| .mw-body h1,
| | /* multi-column lists */ |
| .mw-body-content h1 { | | li, |
| font-size: 2em; | | .group-in-column { |
| | -moz-column-break-inside: avoid; |
| | break-inside: avoid; |
| } | | } |
|
| |
|
| .mw-body-content h2 { | | /* {{shortcut}} */ |
| font-size: 1.66666667em; | | .shortcut-box, |
| | .category-edit-box { |
| | border: 1px solid #aaaaaa; |
| | color: var(--color-base, black); |
| | background: #f9f9f9; |
| | margin: 0 0 .5em 1em; |
| | text-align: center; |
| | padding: 5px; |
| | float: right; |
| | clear: both; |
| | font-weight: bold; |
| | font-size: smaller; |
| } | | } |
|
| |
|
| div.user-block { | | /* Display tabs with 4 spaces, see [[phab:T59824]] and [[phab:T59825]] */ |
| padding: 5px;
| | textarea#wpTextbox1+div:last-child, |
| border: 1px solid #A9A9A9;
| | /* workaround for [[mw:User:Remember the dot/Syntax highlighter]] */ |
| background-color: #FFEFD5;
| | textarea, |
| | pre, |
| | code, |
| | .mw-highlight { |
| | -moz-tab-size: 4; |
| | -o-tab-size: 4; |
| | tab-size: 4; |
| } | | } |
|
| |
|
| /* Prevent line breaks in silly places where desired (nowrap) | | /* stop double-bolding of self-links like in [[acquit]], [[fishbone]] */ |
| and links when we don't want them to (nowraplinks a) */
| | /* old code: b .selflink, strong .selflink { font-weight: inherit; } */ |
| .nowrap,
| | b, |
| .nowraplinks a {
| | strong { |
| white-space: nowrap; | | font-weight: bold; |
| } | | } |
|
| |
|
| /* But allow wrapping where desired: */
| | tr:target { |
| .wrap,
| | background: #DEF; |
| .wraplinks a {
| |
| white-space: normal; | |
| } | | } |
|
| |
|
| /* Prevent line breaks in silly places:
| | #firstHeading var, |
| 1) links when we don't want them to
| | .headword var { |
| 2) HTML formulae
| | color: #888; |
| 3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
| |
| */
| |
| .nowraplinks a,
| |
| span.texhtml,
| |
| sup.reference a { white-space: nowrap; }
| |
|
| |
| /* For template documentation */
| |
| .template-documentation { | |
| clear: both;
| |
| margin: 1em 0 0 0;
| |
| border: 1px solid #aaa;
| |
| background-color: #ecfcf4;
| |
| padding: 5px;
| |
| } | | } |
|
| | |
| .thumbinner { | | /* Display a {{tlb}} / {{term-label}} template on its own line if it comes right after a headword template. |
| min-width: 100px;
| | It is too easy to miss after headwords (especially long ones). */ |
| | p .headword-line ~ .usage-label-term::before { |
| | content: "\a"; /* newline */ |
| | white-space: pre; |
| } | | } |
|
| | |
| /* Inline divs in ImageMaps (code borrowed from de.wiki) */ | | /* Temporary kludge to be used because categoryTree is generating a newline. This CSS line should be removed after the developers fix it. */ |
| .imagemap-inline div { | | .CategoryTreeTag+p br:first-child { |
| display: inline;
| | display: none; |
| } | | } |
|
| | |
| /* Increase the height of the image upload box */ | | /* Used by column templates (see [[Module:columns]]). */ |
| #wpUploadDescription {
| | .ul-column-count>ul, |
| height: 13em;
| | .ul-column-count>ol, |
| | .ul-column-count>dl { |
| | -moz-column-gap: 20px; |
| | column-gap: 20px; |
| } | | } |
|
| | |
| /* Reduce line-height for <sup> and <sub> */
| | .ul-column-count[data-column-count="2"]>ul, |
| sup, sub {
| | .ul-column-count[data-column-count="2"]>ol, |
| line-height: 1em;
| | .ul-column-count[data-column-count="2"]>dl { |
| | -moz-column-count: 2; |
| | column-count: 2; |
| } | | } |
|
| | |
|
| | .ul-column-count[data-column-count="3"]>ul, |
| /* The backgrounds for galleries. */
| | .ul-column-count[data-column-count="3"]>ol, |
| #content .gallerybox div.thumb {
| | .ul-column-count[data-column-count="3"]>dl { |
| background-color: #F9F9F9; /* Light gray padding */
| | -moz-column-count: 3; |
| | column-count: 3; |
| } | | } |
| /* Put a chequered background behind images, only visible if they have transparency */
| | |
| .gallerybox .thumb img, | | .ul-column-count[data-column-count="4"]>ul, |
| #file img {
| | .ul-column-count[data-column-count="4"]>ol, |
| background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
| | .ul-column-count[data-column-count="4"]>dl { |
| | -moz-column-count: 4; |
| | column-count: 4; |
| } | | } |
| /* But no chequered background on articles, user pages or portals. */
| | |
| .ns-0 .gallerybox .thumb img, | | .ul-column-count[data-column-count="5"]>ul, |
| .ns-2 .gallerybox .thumb img, | | .ul-column-count[data-column-count="5"]>ol, |
| .ns-100 .gallerybox .thumb img { | | .ul-column-count[data-column-count="5"]>dl { |
| background: white;
| | -moz-column-count: 5; |
| | column-count: 5; |
| } | | } |
|
| |
| /* Prevent floating boxes from overlapping any category listings,
| |
| file histories, edit previews, and edit [Show changes] views */
| |
| #mw-subcategories, #mw-pages, #mw-category-media,
| |
| #filehistory, #wikiPreview, #wikiDiff {
| |
| clear: both;
| |
| }
| |
|
| |
| /* Selectively hide headers in WikiProject banners */
| |
| .wpb .wpb-header { display: none; }
| |
| .wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
| |
| .wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
| |
| .wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
| |
|
| |
|
| |
| /**********/
| |
| /* portal */
| |
| /**********/
| |
| .portal_container { }
| |
| .portal_section ul { list-style: disc; }
| |
| .portal_section { border: 2px solid rgb(0,0,0); margin: 0 0 10px 0; background: transparent; background-image: -moz-linear-gradient(top, rgba(149,213,255, 0.1) 0, rgba(0,26,43,0.4) 100%); -moz-border-radius: 1em; -moz-box-shadow:0px 0px 4px rgba(240,248,255,0.5); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0, rgba(149,213,255, 0.1)), color-stop(100%, rgba(0,26,43,0.4))); -webkit-border-radius: 1em; -webkit-box-shadow: 0px 0px 4px rgba(240,248,255,0.5); border-radius: 1em; box-shadow: 0px 0px 4px rgba(240,248,255,0.5); }
| |
| .portal_header { padding: 0 1em; position: relative; }
| |
| .portal_header_text { display: table; width: 100%; padding: 0.6em 0 0 0; border-bottom: 1px dotted rgb(240,248,255); text-align: center; font-family: IMFELLDWPicaPRORegular; font-size: 2em; }
| |
| .portal_headerlinks { font-size: 0.8em; position: absolute; right: 1em; bottom: -2em; }
| |
| .portal_header, .portal_header a:link, .portal_header a:visited, .portal_header a:hover, .portal_header a:active { color: rgb(240,248,255) !important; }
| |
| .portal_body { padding: 0.8em; }
| |
| .portal_subheader { padding: 0 1em; position: relative; font-size: 0.9em; }
| |
| .portal_subheader, .portal_subheader a:link, .portal_subheader a:visited, .portal_subheader a:hover, .portal_subheader a:active { color: rgb(240,248,255) !important; }
| |
| .portal_subheader_text { display: table; width: 100%; padding: 0.4em 0 0 0; border-bottom: 1px dotted rgb(240,248,255); text-align: left; font-family: IMFELLDWPicaPRORegular; font-size: 1.8em; color: rgb(240,248,255) ; }
| |
|
| |
| /******************/
| |
| /* portal: slider */
| |
| /******************/
| |
| #portal_slider { margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; position: relative; height: 500px; }
| |
| #portal_slider #portal_next, #portal_slider #portal_prev { text-align: center; cursor: pointer; border: 0px solid #FEC356; height: 30px !important; width: 20px; font-family: arial, san-serif; font-size: 36px; line-height: 22px; font-weight: bold; cursor: pointer; position: absolute; bottom: 8px; background: transparent; -moz-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); -webkit-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); background-image: -moz-linear-gradient(bottom, rgb(0,128,170) 0, rgb(85,213,255) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(0,128,170)), color-stop(100%, rgb(85,213,255))); text-shadow: 1px 1px rgba(255, 255, 255, 0.3), -1px 0 rgba(0,0,0,0.3); color: rgb(0, 143, 191); -moz-user-select: none; -webkit-user-select: none; user-select: none; }
| |
| #portal_slider #portal_next:hover, #portal_slider #portal_prev:hover { background-image: -moz-linear-gradient(bottom, rgb(0,175,234) 0, rgb(149,228,255) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(0,175,234)), color-stop(100%, rgb(149,228,255))); color: rgb(0,175,234); }
| |
| #portal_slider #portal_next { right: 10px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; -webkit-border-top-right-radius: 8px; -webkit-border-bottom-right-radiust: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
| |
| #portal_slider #portal_prev { right: 31px; -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; -webkit-border-top-left-radius: 8px; -webkit-border-bottom-left-radius: 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
| |
| #portal_slider > .portal_body { padding: 0; }
| |
|
| |
|
| |
| /*******************/
| |
| /* portal: content */
| |
| /*******************/
| |
| #portal_content { font-size: 0.9em; line-height: 1.7em; }
| |
| #portal_content .portal_body > table { height: 400px; }
| |
| #portal_content ul { list-style: disc outside; }
| |
| #portal_content ul ul { margin-left: 1em; }
| |
|
| |
| /****************/
| |
| /* portal: news */
| |
| /****************/
| |
| #portal_news .WikiaBlogListingBox, #portal_news ul, .CommunityCornerModule .WikiaBlogListingBox { font-size: 100%; width: auto; float: none; clear: none; border: 0; padding: 0; background: transparent; }
| |
| #portal_news .WikiaBlogListingBox h3, #portal_news .wikia-button, .CommunityCornerModule .WikiaBlogListingBox h3 { display: none; }
| |
| #portal_news .WikiaBlogListingBox ul li { border-top: 0px !important; border-bottom: 1px dotted rgb(240,248,255) !important; list-style-type: none;} /* override the default border #portal_news colors */
| |
| .WikiaBlogListingBox ul li:first-child { border: none !important; } /* override the override */
| |
|
| |
| /******************/
| |
| /* portal: forums */
| |
| /******************/
| |
| #portal_forums .forum_title { }
| |
| #portal_forums .forum_edited { text-align: right; }
| |
|
| |
| /*******************/
| |
| /* portal: twitter */
| |
| /*******************/
| |
| #portal_twitter ul li { border-top: 0px !important; border-bottom: 1px dotted rgb(240,248,255) !important; padding: 0.2em 0; list-style: none; } /* change it from a bulleted list into a unbulleted list */
| |
| #portal_twitter ul { margin-left: 0em !important; }
| |
|
| |
| /*********************************/
| |
| /* main page jquery tabs/sliders */
| |
| /*********************************/
| |
| .ui-tabs { position: relative; padding: .2em; zoom: 1; }
| |
| .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
| |
| .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
| |
| .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
| |
| .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
| |
| .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
| |
| .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; }
| |
| .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 0; background: none; }
| |
| .ui-tabs .ui-tabs-hide { display: none !important; }
| |
| .ui-tabs-hide { display: none !important; }
| |
|
| |
| /**********************/
| |
| /**Portal definitons */
| |
| /**********************/
| |
|
| |
|
| .portal_sliderlink_1, .portal_sliderlink_2, .portal_sliderlink_3, .portal_sliderlink_4, .portal_sliderlink_6, .portal_sliderlink_5, .portal_sliderlink_6, .portal_sliderlink_7 { | | .ul-column-count[data-column-count="6"]>ul, |
| border: 1px solid #f9f9f9;
| | .ul-column-count[data-column-count="6"]>ol, |
| | .ul-column-count[data-column-count="6"]>dl { |
| | -moz-column-count: 6; |
| | column-count: 6; |
| } | | } |
|
| |
|
| .portal_sliderlink_1:hover, .portal_sliderlink_2:hover, .portal_sliderlink_3:hover, .portal_sliderlink_4:hover, .portal_sliderlink_6:hover, .portal_sliderlink_5:hover, .portal_sliderlink_6:hover, .portal_sliderlink_7:hover { | | .columns-bg { |
| border: 1.4px solid #8CB2FF;
| | /* Default background color for multi-column lists. */ |
| | background: #f8f8ff; |
| | /* prevent text crashing into edge of box */ |
| | padding-right: 0.3em; |
| } | | } |
|
| |
|
| .use-with-mention {
| | /* Default style for hypothetical inflections -- currently italic. */ |
| font-style: italic; | | .hypothetical { |
| | font-style: italic; |
| } | | } |
|
| |
|
| /*Template:WIGO NAV*/ | | /* Style for entries using deprecated templates */ |
| .wigonav-button a, .wigonav-button strong { | | .deprecated { |
| background-image:url('https://linguifex.com/w/images/4/42/Welcome.png');
| | color: olivedrab; |
| background-repeat: no-repeat;
| |
| background-attachment: scroll;
| |
| padding-top:90px;
| |
| width:100px;
| |
| display:block;
| |
| margin:auto;
| |
| } | | } |
|
| |
|
| #wigonav-button-logo a {
| | .deprecated a { |
| background-position: 0 0;
| | color: darkgreen; |
| } | | } |
|
| |
|
| #wigonav-button-logo a:hover, #wigonav-button-logo strong {
| | /* Style for entries using deprecated labels */ |
| background-position: -600px 0;
| | .deprecated-label { |
| | color: olivedrab; |
| | text-decoration: line-through; |
| } | | } |
|
| |
|
| #wigonav-button-languages a {
| | .deprecated-label a { |
| background-position: -100px 0;
| | color: darkgreen; |
| | text-decoration: line-through; |
| } | | } |
|
| |
|
| #wigonav-button-languages a:hover, #wigonav-button-languages strong {
| | /* Style for notes added using the bad= param in {{audio}} */ |
| background-position: -700px 0;
| | .bad-audio-note { |
| | color: #FF2200; |
| | font-weight: bold; |
| } | | } |
|
| |
|
| #wigonav-button-featured a {
| | /* WikiHiero kludge */ |
| background-position: -200px 0;
| | /* disable for now, apparently not necessary and breaks wrapping |
| } | | .wikt-hierokludge { |
| | display: inline-block; |
| | } */ |
|
| |
|
| #wigonav-button-featured a:hover, #wigonav-button-featured strong {
| | /* Support lists that automatically split into limited-width columns (for translations tables and the like): */ |
| background-position: -800px 0;
| | .multicolumn-list>ul { |
| | -moz-column-width: 25em; |
| | column-width: 25em; |
| | -moz-column-gap: 20px; |
| | column-gap: 20px; |
| } | | } |
|
| |
|
| #wigonav-button-forum a {
| | .multicolumn-list-wide>ul { |
| background-position: -300px 0;
| | -moz-column-width: 55em; |
| | column-width: 55em; |
| | -moz-column-gap: 20px; |
| | column-gap: 20px; |
| } | | } |
|
| |
|
| #wigonav-button-forum a:hover, #wigonav-button-forum strong {
| | .multicolumn-list-narrow>ul { |
| background-position: -900px 0;
| | -moz-column-width: 22em; |
| | column-width: 22em; |
| | -moz-column-gap: 20px; |
| | column-gap: 20px; |
| } | | } |
|
| |
|
| #wigonav-button-contionary a {
| | /* Horizontal rules; the second line is because of changes to the HTML generated due to Parsoid (see https://www.mediawiki.org/wiki/Parsoid). */ |
| background-position: -400px 0;
| | body.ns-0 .mw-parser-output> :not(.collapsible-block)+h2:not(:first-of-type), |
| | body.ns-0 .mw-parser-output> :not(.collapsible-block):not(.toc):not(.disambig-see-also):not(.character-info):not(meta[property="mw:PageProp/toc"])+div.mw-heading2:not(:first-of-type) { |
| | border-top: 1px solid #a2a9b1; |
| | padding-top: 1em; |
| | margin-top: 0.2em; |
| } | | } |
|
| |
|
| #wigonav-button-contionary a:hover, #wigonav-button-contionary strong {
| | /* [[phab:T156351]]: Support for Parsoid's Cite implementation */ |
| background-position: -1000px 0;
| | a[ rel="mw:referencedBy"]::before { |
| | content: " ^"; |
| } | | } |
|
| |
|
| #wigonav-button-library a {
| | /* [[phab:T316670]]: fix header issues */ |
| background-position: -500px 0;
| | .mw-heading * { |
| | word-break: normal; |
| } | | } |
|
| |
|
| #wigonav-button-library a:hover, #wigonav-button-library strong {
| | /* From [[Module:shortcut box/styles.css]] */ |
| background-position: -1100px 0;
| | a .redlink { |
| | color: #d73333; |
| } | | } |
|
| |
|
| /*WIGO*/
| | a:visited .redlink { |
| | | color: #a55858; |
| /*Spacing between wigo buttons*/
| |
| .wigobutton { | |
| padding: 0;
| |
| } | | } |
|
| |
|
| /*wigo button effects*/
| | a:visited:hover .redlink { |
| .wigobutton img { | | color: #a55858; |
| background-color: transparent;
| |
| border: 1px transparent solid;
| |
| } | | } |
|
| |
|
| .wigobutton img:hover {
| | a:hover .redlink { |
| background: PaleTurquoise;
| | color: #ff4242; |
| border: 1px solid grey;
| | text-decoration: underline; |
| margin: 0;
| |
| -moz-border-radius:2px;
| |
| -webkit-border-radius:2px;
| |
| border-radius:2px;
| |
| -o-box-shadow: 0px 0px 2px #888;
| |
| -icab-box-shadow: 0px 0px 2px #888;
| |
| -khtml-box-shadow: 0px 0px 2px #888;
| |
| -moz-box-shadow: 0px 0px 2px #888;
| |
| -webkit-box-shadow: 0px 0px 2px #888;
| |
| box-shadow: 0px 0px 2px #888;
| |
| } | | } |
|
| |
|
| .wigobutton img:active {
| | a:active .redlink { |
| background: LightGrey;
| | color: #b32424; |
| border: 1px inset grey;
| | text-decoration: underline; |
| margin: 0;
| |
| -moz-border-radius:2px;
| |
| -webkit-border-radius:2px;
| |
| border-radius:2px;
| |
| } | | } |
|
| |
|
| /* make the Cite extension list of references look smaller and highlight clicked reference in blue */
| | a:focus .redlink { |
| ol.references { font-size: 90%; }
| | outline-color: #36c; |
| ol.references li:target { background-color: #ddeeff; }
| |
| sup.reference:target { background-color: #ddeeff; }
| |
| | |
| /* Used by column templates (see [[Module:columns]]). */
| |
| .ul-column-count[data-column-count="2"] ul {
| |
| -moz-column-count: 2; -webkit-column-count: 2; -ms-column-count: 2; column-count: 2;
| |
| } | | } |
|
| |
|
| .ul-column-count[data-column-count="3"] ul { | | /* approximate replacement for .toccolours, which is not defined in the Vector 2022 skin */ |
| -moz-column-count: 3; -webkit-column-count: 3; -ms-column-count: 3; column-count: 3; | | .standard-box { |
| | background-color: #f8f9fa; |
| | border: 1px solid #9e9e9e; /* was #aabbdd but no real equivalent in our palette */ |
| | padding: 5px; |
| } | | } |
|
| |
|
| .ul-column-count[data-column-count="4"] ul { | | .mw-parser-output a[role="button"] { |
| -moz-column-count: 4; -webkit-column-count: 4; -ms-column-count: 4; column-count: 4; | | color: var(--wikt-palette-black); |
| | font-weight: normal; |
| } | | } |
|
| |
|
| .ul-column-count[data-column-count="5"] ul { | | /* override default behaviour for button links */ |
| -moz-column-count: 5; -webkit-column-count: 5; -ms-column-count: 5; column-count: 5; | | .mw-parser-output a[role="button"]:focus:not(:hover) { |
| | text-decoration: none; |
| } | | } |
| | | /* </nowiki> */ |
| | |
| /* formats derived terms */ | |
| .derivedterms { background: #F8F8FF; }
| |
| | |
| .derivedterms .CategoryTreeChildren { column-count: 3; -moz-column-count: 3; -webkit-column-count: 3; }
| |