|
|
| (21 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| @charset "UTF-8";
| |
| /* CSS placed here will be applied to all skins */
| |
| /* Google Fonts: Marlemad (sans) and Gentium Book Basic/Trykker */
| |
| @import url(https://fonts.googleapis.com/css?family=Trykker|Gentium+Book+Basic:400,400italic|Marmelad&subset=latin,latin-ext);
| |
| @import url(https://fonts.googleapis.com/css?family=Gentium+Basic&subset=latin,latin-ext);
| |
|
| |
| /* Add the custom fonts we use on here, Charis SIL, Gentium Plus, etc. */
| |
| @import url(../assets/lexfonts.css);
| |
| /* TENGWAR */
| |
|
| |
| @import url(../assets/darn.css);
| |
| @font-face{
| |
| font-family: FreeIdgSerif, serif;
| |
| font-family: Akkadian, serif;
| |
| font-family: 'Gentium Basic', serif;
| |
| font-family: 'Trykker', serif;
| |
| font-family: 'Gentium Book Basic', serif;
| |
| font-family: 'Marmelad', sans-serif;
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'Tagati';
| |
| src: url("https://cdn.jsdelivr.net/gh/carbeck/tagatibookg@master/Tagati Book Regular G.ttf") format('truetype');
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'Tagati';
| |
| src: url("https://cdn.jsdelivr.net/gh/carbeck/tagatibookg@master/Tagati Book Italic G.ttf") format('truetype');
| |
| font-style: italic;
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'AH Rokajang';
| |
| src: url("https://cdn.jsdelivr.net/gh/Astralneko/ahrokajang@master/AHRokajang.ttf") format('truetype');
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'Antinoou';
| |
| src: url("https://coptot.manuscriptroom.com/community/fonts/antinoou-webfont.ttf") format('truetype');
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'Antinoou';
| |
| src: url("https://coptot.manuscriptroom.com/community/fonts/antinoouitalic-webfont.ttf") format('truetype');
| |
| font-style: italic;
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'Alcarin';
| |
| src: url("https://cdn.jsdelivr.net/gh/Tosche/Alcarin-Tengwar@main/Fonts Variable/AlcarinTengwarVF.woff2") format('woff2'),
| |
| url("https://cdn.jsdelivr.net/gh/Tosche/Alcarin-Tengwar@main/Fonts Variable/AlcarinTengwarVF.woff") format('woff'),
| |
| url("https://cdn.jsdelivr.net/gh/Tosche/Alcarin-Tengwar@main/Fonts Variable/AlcarinTengwarVF.ttf") format('truetype');
| |
| }
| |
|
| |
| @font-face{
| |
| font-family: 'AH Rokajang Shika';
| |
| src: url("https://cdn.jsdelivr.net/gh/Astralneko/ahrokajang@master/AHRokajangShika.ttf") format('truetype');
| |
| }
| |
|
| |
| .Latn[lang=anldk]{
| |
| font-family: 'AH Rokajang Shika', sans-serif;
| |
| font-size: 110%;
| |
| }
| |
|
| |
| .Ayer{
| |
| font-family: 'Tagati', sans-serif;
| |
| font-size: 24px;
| |
| }
| |
|
| |
| /* Chiingimec */
| |
| .Cyrl[lang=xchc]{
| |
| font-family: 'Cambria', sans-serif;
| |
| font-size: 110%;
| |
| }
| |
| .headword[lang=xchc]{
| |
| font-size: 120%;
| |
| }
| |
|
| |
| .Roka{
| |
| font-family: 'AH Rokajang', sans-serif;
| |
| font-size: 110%;
| |
| }
| |
|
| |
| .Copt{
| |
| font-family: 'Antinoou', 'Noto Sans Coptic';
| |
| font-size: 115%;
| |
| }
| |
|
| |
| /* Classical Mongolian, Manchu, Xibe, Clear Script */
| |
| .Mong,
| |
| .mnc-Mong, /* Manchu */
| |
| .sjo-Mong, /* Xibe */
| |
| .xwo-Mong /* Clear Script, Todo */ {
| |
| font-family: 'Mongolian Baiti', 'Noto Sans Mongolian', sans-serif;
| |
| font-size: 140%;
| |
| -webkit-writing-mode: vertical-lr;
| |
| -moz-writing-mode: vertical-lr;
| |
| writing-mode: vertical-lr;
| |
| layout-flow: vertical-ideographic;
| |
| }
| |
|
| |
| .Teng {
| |
| font-family: 'Alcarin', 'Brill', serif;
| |
| }
| |
|
| |
| /* ATTEMPTING TO ADD ULTRALIGATURE SUPPORT */
| |
|
| |
| @font-face{
| |
| font-family: 'Cardo';
| |
| font-style: normal;
| |
| font-weight: 400;
| |
| src: local('Cardo'), url(https://brick.a.ssl.fastly.net/fonts/cardo/400.woff) format('woff');
| |
| }
| |
|
| |
| @font-face{font-family:'Cardo';font-style:normal;font-weight:400;src:url(//brick.a.ssl.fastly.net/fonts/cardo/400.woff) format('woff')}@font-face{font-family:'Cardo';font-style:normal;font-weight:700;src:url(//brick.a.ssl.fastly.net/fonts/cardo/700.woff) format('woff')}@font-face{font-family:'Cardo';font-style:italic;font-weight:400;src:url(//brick.a.ssl.fastly.net/fonts/cardo/400i.woff) format('woff')}
| |
|
| |
| /** CSS-classes for Portal:Main Page **/
| |
| body.page-Main_Page h1.firstHeading { display:none; }/* Banner */
| |
|
| |
| .MainPageBG {
| |
| width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;
| |
| }
| |
|
| |
| #bannerintro { background-image: url(https://linguifex.com/w/images/0/05/Linguifex.png); } | | #bannerintro { background-image: url(https://linguifex.com/w/images/0/05/Linguifex.png); } |
| #triangleintro { background-image: url(https://linguifex.com/w/images/9/99/Triangular.png); } | | #triangleintro { background-image: url(https://linguifex.com/w/images/9/99/Triangular.png); } |
| Line 195: |
Line 72: |
| /** End of Portal:Main Page **/ | | /** End of Portal:Main Page **/ |
|
| |
|
| /* Wikitables */ | | /* Other pages message box styles */ |
|
| |
| table.wikitable {
| |
| margin: .5em;
| |
| background: #f9f9f9;
| |
| border: 1px #aaa solid;
| |
| border-collapse: collapse;
| |
| }
| |
|
| |
| table.wikitable th, table.wikitable td {
| |
| border: 1px #aaa solid;
| |
| padding: .2em;
| |
| }
| |
|
| |
| table.wikitable th {
| |
| background: #f2f2f2;
| |
| text-align: center;
| |
| }
| |
|
| |
| table.wikitable caption {
| |
| margin-left: inherit;
| |
| margin-right: inherit;
| |
| }
| |
| /** End of Wikitables **/
| |
| | |
| | |
| /* Standard Colour Tables */
| |
| | |
| .bluetable .bg1, .blueinfobox .bg1, .lightbluebg { background: #f7faff; }
| |
| .graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #fffafa; }
| |
| .browntable .bg1, .browninfobox .bg1, .lightbrownbg { background: #fffaf7; }
| |
| .greentable .bg1, .greeninfobox .bg1, .lightgreenbg { background: #f2fffb; }
| |
| .redtable .bg1, .redinfobox .bg1, .lightredbg { background: #fff7f7; }
| |
| | |
| .softtable, .softtable td, .softtable .bg1,
| |
| .softinfobox, .softinfobox td, .softinfobox .bg1, .softbg, .lightsoftbg
| |
| { background: #fffafa; }
| |
| | |
| .blueborder { border: 1px solid #8091ab; }
| |
| .grayborder { border: 1px solid #abaaaa; }
| |
| .brownborder { border: 1px solid #b38d7d; }
| |
| .greenborder { border: 1px solid #89aba1; }
| |
| .redborder { border: 1px solid #b37d7d; }
| |
| .softborder { border: 1px solid #cccaca; }
| |
| | |
| .bluetable .bg2, .blueinfobox .bg2, .bluetable .bg2 td, .blueinfobox .bg2 td { background: #e6eefa; }
| |
| .bluetable .bg3, .blueinfobox .bg3, .bluetable .bg3 td, .blueinfobox .bg3 td { background: #d3dff2; }
| |
| .bluetable .bg4, .blueinfobox .bg4, .bluetable .bg4 td, .blueinfobox .bg4 td, .bluebg { background: #c2d4ed; }
| |
| | |
| .graytable .bg2, .grayinfobox .bg2, .graytable .bg2 td, .grayinfobox .bg2 td { background: #eeeaea; }
| |
| .graytable .bg3, .grayinfobox .bg3, .graytable .bg3 td, .grayinfobox .bg3 td { background: #dddada; }
| |
| .graytable .bg4, .grayinfobox .bg4, .graytable .bg4 td, .grayinfobox .bg4 td, .graybg { background: #cccaca; }
| |
| | |
| .browntable .bg2, .browninfobox .bg2, .browntable .bg2 td, .browninfobox .bg2 td { background: #f7e9e4; }
| |
| .browntable .bg3, .browninfobox .bg3, .browntable .bg3 td, .browninfobox .bg3 td { background: #f0dad1; }
| |
| .browntable .bg4, .browninfobox .bg4, .browntable .bg4 td, .browninfobox .bg4 td, .brownbg { background: #ebcdc0; }
| |
| | |
| .greentable .bg2, .greeninfobox .bg2, .greentable .bg2 td, .greeninfobox .bg2 td { background: #e1f7f1; }
| |
| .greentable .bg3, .greeninfobox .bg3, .greentable .bg3 td, .greeninfobox .bg3 td { background: #d5f2ea; }
| |
| .greentable .bg4, .greeninfobox .bg4, .greentable .bg4 td, .greeninfobox .bg4 td, .greenbg { background: #c1e0d7; }
| |
| | |
| .redtable .bg2, .redinfobox .bg2, .redtable .bg2 td, .redinfobox .bg2 td { background: #f7e4e4; }
| |
| .redtable .bg3, .redinfobox .bg3, .redtable .bg3 td, .redinfobox .bg4 td { background: #f0d1d1; }
| |
| .redtable .bg4, .redinfobox .bg4, .redtable .bg4 td, .redinfobox .bg3 td, .redbg { background: #ffcccc; }
| |
| | |
| .softtable .bg2, .softinfobox .bg2,
| |
| .softtable .bg3, .softinfobox .bg3,
| |
| .softtable .bg4, .softinfobox .bg4,
| |
| .softtable .bg2 td, .softinfobox .bg2 td,
| |
| .softtable .bg3 td, .softinfobox .bg3 td,
| |
| .softtable .bg4 td, .softinfobox .bg4 td
| |
| { background: #eeeaea; }
| |
| | |
| .bluetable, .graytable, .browntable, .greentable, .redtable,
| |
| .blueinfobox, .grayinfobox, .browninfobox, .greeninfobox, .redinfobox { border-collapse: collapse; }
| |
| | |
| .blueinfobox, .grayinfobox, .browninfobox, .greeninfobox, .redinfobox, .softinfobox {
| |
| float: right;
| |
| margin: 0 0 0.5em 0.5em;
| |
| }
| |
| | |
| .blueinfobox { background: #f7faff; }
| |
| .grayinfobox { background: #fffafa; }
| |
| .browninfobox { background: #fffaf7; }
| |
| .greeninfobox { background: #f2fffb; }
| |
| .redinfobox { background: #fff7f7; }
| |
| | |
| .bluetable, .blueinfobox { border: 1px solid #8091ab; }
| |
| .graytable, .grayinfobox { border: 1px solid #abaaaa; }
| |
| .browntable, .browninfobox { border: 1px solid #b38d7d; }
| |
| .greentable, .greeninfobox { border: 1px solid #89aba1; }
| |
| .redtable, .redinfobox { border: 1px solid #b37d7d; }
| |
| .softtable, .softinfobox { border: 1px solid #cccaca; }
| |
| | |
| .bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #8091ab; }
| |
| .graytable td, .graytable th, .grayinfobox td, .grayinfobox th { border: 1px solid #abaaaa; }
| |
| .browntable td, .browntable th, .browninfobox td, .browninfobox th { border: 1px solid #b38d7d; }
| |
| .greentable td, .greentable th, .greeninfobox td, .greeninfobox th { border: 1px solid #89aba1; }
| |
| .redtable td, .redtable th, .redinfobox td, .redinfobox th { border: 1px solid #b37d7d; }
| |
| | |
| .bluetable td, .bluetable th, .graytable td, .graytable th,
| |
| .browntable td, .browntable th, .greentable td, .greentable th,
| |
| .redtable td, .redtable th, .softtable td, .softtable th,
| |
| .blueinfobox td, .blueinfobox th, .grayinfobox td, .grayinfobox th,
| |
| .browninfobox td, .browninfobox th, .greeninfobox td, .greeninfobox th,
| |
| .redinfobox td, .redinfobox th, .softinfobox td, .softinfobox th
| |
| { padding: 4px; }
| |
| | |
| .bluetable th { background: #c2d4ed; }
| |
| .graytable th { background: #cccaca; }
| |
| .browntable th { background: #ebcdc0; }
| |
| .greentable th { background: #c1e0d7; }
| |
| .redtable th { background: #ffcccc; }
| |
| .softtable th, .softinfobox th { background: #eeeaea; }
| |
| | |
| .bluetable th:first-child, .graytable th:first-child, .browntable th:first-child, .greentable th:first-child, .redtable th:first-child, .softtable th:first-child,
| |
| .blueinfobox th, .grayinfobox th, .browninfobox th, .greeninfobox th, .redinfobox th, .softinfobox th { text-align: center; padding-right: 0.2em; }
| |
| | |
| | |
| .bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header,
| |
| .graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header,
| |
| .browntable .divider, .browninfobox .divider, .browntable .header, .browninfobox .header,
| |
| .greentable .divider, .greeninfobox .divider, .greentable .header, .greeninfobox .header,
| |
| .redtable .divider, .redinfobox .divider, .redtable .header, .redinfobox .header,
| |
| .softtable .divider, .softinfobox .divider, .softtable .header, .softinfobox .header { text-align: center !important; }
| |
| | |
| .bluetable .header, .bluetable .divider, .blueinfobox .header { background: #c2d4ed; }
| |
| .graytable .header, .graytable .divider, .grayinfobox .header { background: #cccaca; }
| |
| .browntable .header, .browntable .divider, .browninfobox .header { background: #ebcdc0; }
| |
| .greentable .header, .greentable .divider, .greeninfobox .header { background: #c1e0d7; }
| |
| .redtable .header, .redtable .divider, .redinfobox .header { background: #ffcccc; }
| |
| .softtable .header, .softtable .divider, .softinfobox .header { background: #eeeaea; }
| |
| | |
| .blueinfobox .divider { background: #e6eefa; }
| |
| .grayinfobox .divider { background: #eeeaea; }
| |
| .browninfobox .divider { background: #f7e9e4; }
| |
| .greeninfobox .divider { background: #e1f7f1; }
| |
| .redinfobox .divider { background: #f7e4e4; }
| |
| .softinfobox .divider { background: #eeeaea; }
| |
| | |
| /** End of Standard Colour Tables**/
| |
| | |
| | |
| sup,
| |
| sub {
| |
| /* prevent odd line-height for raised and lowered characters */
| |
| line-height: 1em;
| |
| }
| |
| | |
| /* and keep links at normal font size/weight, else they inherit the header
| |
| attributes */
| |
| .editsection {
| |
| font-size: 100%;
| |
| font-weight: normal;
| |
| }
| |
| | |
| pre code,
| |
| code code {
| |
| border: none;
| |
| padding: 0;
| |
| }
| |
| | |
| pre var,
| |
| code var {
| |
| color: #777;
| |
| }
| |
| | |
| /* This fixes a bug where certain Tibetan terms are cut off at the bottom... */
| |
| | |
| #firstHeading {
| |
| overflow: visible;
| |
| }
| |
| | |
| .ns-0 .timed-text {
| |
| display: none;
| |
| }
| |
| | |
| .client-js .audiometa {
| |
| display: none;
| |
| }
| |
| | |
| .client-nojs .audiofile {
| |
| display: none;
| |
| }
| |
| | |
| .nowrap {
| |
| white-space: nowrap;
| |
| }
| |
| | |
| /* wikitable is part of core. prettytable is deprecated but still used in some
| |
| places, until fully replaced: */
| |
|
| |
|
| table.prettytable {
| | .ombox { |
| margin: 1em 1em 1em 0; | | margin: 4px 0; |
| background: #f8f9fa;
| |
| border: 1px #aaaaaa solid;
| |
| border-collapse: collapse; | | border-collapse: collapse; |
| | border: 1px solid #a2a9b1; /* Default "notice" gray */ |
| | background-color: var(--background-color-neutral-subtle, #f8f9fa); |
| | box-sizing: border-box; |
| | color: var(--color-base, #202122); |
| } | | } |
|
| |
|
| table.prettytable th,
| | /* For the "small=yes" option. */ |
| table.prettytable td {
| | .ombox.mbox-small { |
| border: 1px #aaaaaa solid; | | font-size: 88%; |
| padding: 0.2em; | | line-height: 1.25em; |
| } | | } |
|
| |
|
| table.prettytable th {
| | .ombox-speedy { |
| background: #eeeeee; | | border: 2px solid #b32424; /* Red */ |
| text-align: center; | | background-color: #fee7e6; /* Pink */ |
| } | | } |
|
| |
|
| table.prettytable caption {
| | .ombox-delete { |
| margin-left: inherit; | | border: 2px solid #b32424; /* Red */ |
| margin-right: inherit;
| |
| } | | } |
|
| |
|
| /* default setting for {{qualifier}} and {{sense}}.
| | .ombox-content { |
| (Related classes that can be overridden: .qualifier-comma,
| | border: 1px solid #f28500; /* Orange */ |
| .qualifier-content, .ib-brac, .qualifier-brac, .sense-qualifier-colon.) */
| |
| .ib-comma {
| |
| font-style: normal; | |
| } | | } |
|
| |
|
| .ib-content { | | .ombox-style { |
| font-style: italic; | | border: 1px solid #fc3; /* Yellow */ |
| } | | } |
|
| |
|
| .ib-content i, | | .ombox-move { |
| .ib-content em {
| | border: 1px solid #9932cc; /* Purple */ |
| font-style: normal; | |
| } | | } |
|
| |
|
| .context-qualifier-colon { | | .ombox-protection { |
| display: none; | | border: 2px solid #a2a9b1; /* Gray-gold */ |
| } | | } |
|
| |
|
| /* default style for indented "see also" */
| | .ombox .mbox-text { |
| .disambig-see-also { | | border: none; |
| text-indent: 2em;
| | /* @noflip */ |
| }
| | padding: 0.25em 0.9em; |
| | |
| .mention-tr {
| |
| font-style: italic;
| |
| }
| |
| | |
| /* add left-to-right mark */
| |
| .mention-gloss-paren::before,
| |
| .mention-tr-paren::before {
| |
| content: "";
| |
| }
| |
| | |
| /* 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; | |
| }
| |
| | |
| /* default style for "form of" definitions */ | |
| .use-with-mention,
| |
| .form-of-definition {
| |
| font-style: italic; | |
| }
| |
| | |
| .use-with-mention i, | |
| .form-of-definition-link {
| |
| font-style: normal;
| |
| }
| |
| | |
| .use-with-mention .mention,
| |
| .form-of-definition-link .mention {
| |
| font-style: normal;
| |
| font-weight: bold;
| |
| }
| |
| | |
| /* display normalization in {{ux}}/{{usex}}, {{quote}}, {{quote-*}} in italics */
| |
| .e-normalization {
| |
| font-style: italic;
| |
| }
| |
| | |
| /* Inflection tables
| |
| ----------------------------- */
| |
| | |
| /* To colour links in inflection tables (currently done with
| |
| {{notred}}) black without using #ifexist and allowing for user
| |
| override */
| |
| .inflection-table .new {
| |
| color: inherit;
| |
| }
| |
| | |
| /* fill a parent NavContent collapsing box */
| |
| .NavContent table.inflection,
| |
| .NavContent table.inflection-table {
| |
| margin-top: 0;
| |
| width: 100%; | | width: 100%; |
| display: table;
| |
| border: 0;
| |
| } | | } |
|
| |
|
| /* basic inflection table styles */
| | .ombox .mbox-image { |
| table.inflection {
| | border: none; |
| border-collapse: collapse; | | /* @noflip */ |
| border: 1px solid;
| | padding: 2px 0 2px 0.9em; |
| background: #ffffff;
| |
| /* TODO consider palettizing */ | |
| }
| |
| | |
| table.inflection caption {
| |
| caption-side: bottom;
| |
| padding: 0.33em 1em; | |
| text-align: left;
| |
| font-size: smaller;
| |
| }
| |
| | |
| /* subtle grey for alternate row backgrounds */
| |
| table.inflection tr:nth-child(odd) {
| |
| background: #fcfcfc;
| |
| /* TODO consider palettizing */
| |
| }
| |
| | |
| /* and for row headers */
| |
| table.inflection tr:nth-child(odd):not(.rowgroup) th {
| |
| background: #f6f6f6;
| |
| /* TODO consider palettizing */
| |
| }
| |
| | |
| /* dark mode background colors for table.inflection */
| |
| @media screen {
| |
| html.skin-theme-clientpref-night table.inflection { background-color: #242424; }
| |
| 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) {
| |
| html.skin-theme-clientpref-os table.inflection { background-color: #242424; }
| |
| html.skin-theme-clientpref-os table.inflection tr:nth-child(odd) { background-color: #2E2E2E; }
| |
| html.skin-theme-clientpref-os table.inflection tr:nth-child(odd):not(.rowgroup) th { background-color: #303030; }
| |
| }
| |
| | |
| table.inflection td,
| |
| table.inflection th {
| |
| padding: 0.33em 1em;
| |
| vertical-align: baseline;
| |
| }
| |
| | |
| /* but vertically center multi-row cells */
| |
| table.inflection td[rowspan] {
| |
| vertical-align: middle;
| |
| }
| |
| | |
| table.inflection td {
| |
| text-align: center; | | text-align: center; |
| } | | } |
|
| |
|
| /* regular row headers, in the left column */
| | .ombox .mbox-imageright { |
| table.inflection th {
| | border: none; |
| background: #f8f9fa; | | /* @noflip */ |
| text-align: left; | | padding: 2px 0.9em 2px 0; |
| }
| |
| | |
| /* rowgroup header rows */ | |
| table.inflection tr.rowgroup th {
| |
| background: #eeeeee; | |
| text-align: center; | | text-align: center; |
| } | | } |
|
| |
|
| /* first-of-several rowgroup header cells is aligned left */ | | /* An empty narrow cell */ |
| table.inflection tr.rowgroup th:first-child {
| | .ombox .mbox-empty-cell { |
| text-align: left; | | border: none; |
| | padding: 0; |
| | width: 1px; |
| } | | } |
|
| |
|
| table.inflection tr.rowgroup th:first-child:only-child {
| | /* keep synced with each other type of message box as this isn't qualified */ |
| | .mbox-invalid-type { |
| text-align: center; | | text-align: center; |
| } | | } |
|
| |
|
| /* rows with dividers above */ | | @media (min-width: 720px) { |
| table.inflection tr.divider th {
| | .ombox { |
| border-top: 3px solid #999999;
| | margin: 4px 10%; |
| | } |
| | |
| | .ombox.mbox-small { |
| | /* @noflip */ |
| | clear: right; |
| | /* @noflip */ |
| | float: right; |
| | /* @noflip */ |
| | margin: 4px 0 4px 1em; |
| | width: 238px; |
| | } |
| } | | } |
|
| |
|
| /* transliterations */ | | /** T367463 */ |
| table.inflection .translit { | | .skin--responsive table.ombox img { |
| color: #888; | | max-width: none !important; |
| } | | } |
|
| |
|
| /* header links aren’t coloured until hover/active */
| |
| table.inflection th a:link,
| |
| table.inflection th a:visited {
| |
| color: inherit;
| |
| text-decoration: inherit;
| |
| }
| |
|
| |
| table.inflection th a:hover {
| |
| color: #0645ad;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| table.inflection th a:active {
| |
| color: #faa700;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* ----
| |
| end of Inflection tables */
| |
|
| |
| /* Hide interproject links used by [[MediaWiki:Gadget-AggregateInterprojectLinks.js]] */
| |
|
| |
| .interProject {
| |
| display: none;
| |
| clear: both;
| |
| border-top: 2px dotted #AAAAAA;
| |
| margin-top: 2em;
| |
| }
| |
|
| |
| /* Translation styling */
| |
|
| |
| .checktrans,
| |
| .rfc-trans,
| |
| .trreq,
| |
| .ttbc {
| |
| background: #f0fff0;
| |
| }
| |
|
| |
| /* t+ t t- templates: */
| |
|
| |
| .tneg,
| |
| .tpos,
| |
| .tunk {
| |
| vertical-align: 20%;
| |
| font-size: 80%;
| |
| }
| |
|
| |
| .tneg a {
| |
| color: #cc2200 !important;
| |
| }
| |
|
| |
| /* monobook redlink colour, standard #ba0000 */
| |
| .tneg a:visited {
| |
| color: #a55858 !important;
| |
| }
| |
|
| |
| /* standard visited redlink colour */
| |
|
| |
| .tpos a {
| |
| color: var(--wikt-palette-deepblue);
| |
| }
| |
|
| |
| /* standard bluelink colour */
| |
| .tpos a:visited {
| |
| color: var(--wikt-palette-blue);
| |
| }
| |
|
| |
| /* standard bluelink colour */
| |
|
| |
| .tunk a {
| |
| color: #3366BB !important;
| |
| }
| |
|
| |
| /* standard external interwiki colour */
| |
| .tunk a:active {
| |
| color: #3366BB !important;
| |
| }
| |
|
| |
| /* redundant */
| |
|
| |
| /* for parentheses, we use .tlc and .tlcp, the latter has no definition here
| |
| (display:inline) */
| |
| .tlc {
| |
| display: none;
| |
| }
| |
|
| |
| /* Main Page heading removal */
| |
| .page-Wiktionary_Main_Page #lastmod,
| |
| .page-Wiktionary_Main_Page #siteSub,
| |
| .page-Wiktionary_Main_Page #contentSub,
| |
| .page-Wiktionary_Main_Page h1.firstHeading {
| |
| display: none;
| |
| /* NOT important */
| |
| }
| |
|
| |
| /* Main page fixes */
| |
| #interwiki-completelist {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* Try to make search results more obviously links */
| |
| .mw-special-Search #bodyContent li a {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| .mw-special-Search .searchmatch {
| |
| font-weight: normal;
| |
| color: #000000;
| |
| background-color: #FFEE77;
| |
| }
| |
|
| |
| /* [[WT:FEED]] */
| |
| #p-feedback a {
| |
| cursor: pointer;
| |
| }
| |
|
| |
| /* Old revisions */
| |
|
| |
| #mw-revision-info {
| |
| border: 2px solid #8888FF;
| |
| /* TODO consider palettizing */
| |
| border-left: 0px;
| |
| border-right: 0px;
| |
| font-size: 110%;
| |
| margin: 5px;
| |
| margin-left: 0px;
| |
| }
| |
|
| |
| /* dark mode border color for #mw-revision-info */
| |
| @media screen { html.skin-theme-clientpref-night #mw-revision-info { border-color: #4444BB; } }
| |
| @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os #mw-revision-info { border-color: #4444BB; } }
| |
|
| |
| #mw-editingold {
| |
| margin-left: 15px;
| |
| margin: 5px;
| |
| padding: 5px;
| |
| border: 2px solid #CC0000;
| |
| border-width: 2px 0px;
| |
| }
| |
|
| |
| /* maintenance line */
| |
| .maintenance-line {
| |
| color: #777777;
| |
| /* TODO consider palettizing */
| |
| }
| |
|
| |
| /* dark mode text color for maintenance line */
| |
| @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 { | | @media screen { |
| html.skin-theme-clientpref-night img.mw-logo-icon { | | html.skin-theme-clientpref-night .ombox-speedy { |
| color-scheme: light;
| | background-color: #310402; /* Dark red, same hue/saturation as light */ |
| filter: invert(1) brightness(55%) contrast(250%) hue-rotate(180deg);
| |
| } | | } |
| } | | } |
| | |
| @media screen and (prefers-color-scheme: dark) { | | @media screen and (prefers-color-scheme: dark) { |
| html.skin-theme-clientpref-os img.mw-logo-icon { | | html.skin-theme-clientpref-os .ombox-speedy { |
| color-scheme: light;
| | background-color: #310402; /* Dark red, same hue/saturation as light */ |
| filter: invert(1) brightness(55%) contrast(250%) hue-rotate(180deg);
| |
| } | | } |
| } | | } |
|
| |
|
| /* Make Recent changes look nice again */ | | /* Infobox template style */ |
| span.newpage,
| | .infobox { |
| span.minor,
| | border: 1px solid #aaa; |
| span.searchmatch,
| | background-color: #f9f9f9; |
| span.bot,
| | color: black; |
| span.unpatrolled {
| | margin: 0.5em 0 0.5em 1em; |
| font-family: sans-serif !important;
| | padding: 0.2em; |
| | float: right; |
| | clear: right; |
| } | | } |
| | | .infobox td, |
| /* Styling for the different kinds of collapsible boxes and lists */
| | .infobox th { |
| | | vertical-align: top; |
| /* NavFrames */
| |
| div.NavFrame,
| |
| details.NavFrame {
| |
| border: 1px solid #9e9e9e;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| overflow: auto;
| |
| width: auto;
| |
| } | | } |
| | | .infobox caption { |
| div.NavFrame > ul, div.NavFrame > ol {
| | font-size: larger; |
| text-align: left;
| |
| } | | } |
| | | .infobox.bordered { |
| div.NavFrame div.NavHead,
| | border-collapse: collapse; |
| 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;
| |
| } | | } |
| | | .infobox.bordered td, |
| div.NavFrame p {
| | .infobox.bordered th { |
| font-size: 100%;
| | border: 1px solid #aaa; |
| } | | } |
| | | .infobox.bordered .borderless td, |
| div.NavFrame div.NavContent,
| | .infobox.bordered .borderless th { |
| details.NavFrame div.NavContent {
| | border: 0; |
| font-size: 100%;
| |
| border-top: 1px solid #9e9e9e;
| |
| } | | } |
| | | |
| div.NavFrame div.NavContent p,
| | .infobox.sisterproject { |
| details.NavFrame div.NavContent p {
| | width: 20em; |
| font-size: 100%;
| | font-size: 90%; |
| } | | } |
| | | |
| /* Used by box-top/box-bottom */
| | .infobox.standard-talk { |
| .NavContent.boxcontent { | | border: 1px solid #c0c090; |
| padding: 0.25em 0.5em;
| | background-color: #f8eaba; |
| } | | } |
| .NavContent.boxcontent > p:last-child { | | .infobox.standard-talk.bordered td, |
| margin-bottom: 0.5em; /* from 1em to avoid some extra asymmetric space */
| | .infobox.standard-talk.bordered th { |
| | border: 1px solid #c0c090; |
| } | | } |
| | | |
| /* Override default added margins which mess up the background */ | | /* styles for bordered infobox with merged rows */ |
| .NavContent.derivedterms > p, | | .infobox.bordered .mergedtoprow td, |
| .NavContent.columns-bg > p { | | .infobox.bordered .mergedtoprow th { |
| margin: 0;
| | border: 0; |
| | border-top: 1px solid #aaa; |
| | border-right: 1px solid #aaa; |
| } | | } |
| | | |
| .NavContent.derivedterms > p, | | .infobox.bordered .mergedrow td, |
| .NavContent.derivedterms > ul,
| | .infobox.bordered .mergedrow th { |
| .NavContent.columns-bg > p, | | border: 0; |
| .NavContent.columns-bg > ul { | | border-right: 1px solid #aaa; |
| padding: 0.5em;
| |
| } | | } |
| | | |
| span.NavToggle {
| | /* Styles for geography infoboxes, eg countries, |
| cursor: pointer;
| | country subdivisions, cities, etc. */ |
| float: right;
| | .infobox.geography { |
| font-weight: normal;
| | text-align: left; |
| font-size: smaller;
| | border-collapse: collapse; |
| margin-top: 1px;
| | line-height: 1.2em; |
| | font-size: 90%; |
| } | | } |
| | | |
| /* add slight gap between NavToggle and rest of the heading */
| | .infobox.geography td, |
| .NavToggle { | | .infobox.geography th { |
| margin-left: 0.5em;
| | border-top: solid 1px #aaa; |
| | padding: 0.4em 0.6em 0.4em 0.6em; |
| } | | } |
| | | .infobox.geography .mergedtoprow td, |
| /* Collapsible term lists */
| | .infobox.geography .mergedtoprow th { |
| | | border-top: solid 1px #aaa; |
| .list-switcher { | | padding: 0.4em 0.6em 0.2em 0.6em; |
| /* 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;
| |
| } | | } |
| | | |
| .list-switcher-wrapper, | | .infobox.geography .mergedrow td, |
| :not(.list-switcher-wrapper) > .list-switcher {
| | .infobox.geography .mergedrow th { |
| contain: layout; /* stop floating elements from messing with layout */
| | border: 0; |
| margin-top: 0.3em; /* replaces margin lost on <ul> in following ruleset */
| | padding: 0 0.6em 0.2em 0.6em; |
| } | | } |
| | | |
| .list-switcher > div > ul { | | .infobox.geography .mergedbottomrow td, |
| margin-top: 0; /* needed to avoid jumps when collapsing/uncollapsing */
| | .infobox.geography .mergedbottomrow th { |
| | border-top: 0; |
| | border-bottom: solid 1px #aaa; |
| | padding: 0 0.6em 0.4em 0.6em; |
| } | | } |
| | | |
| .list-switcher ul ul { | | .infobox.geography .maptable td, |
| margin-top: 0.1em; /* make margin above nested lists equal to margin at bottom of <li>s */
| | .infobox.geography .maptable th { |
| | border: 0; |
| | padding: 0; |
| } | | } |
| | | |
| .list-switcher-collapsed {
| | /* Makes redirects appear in italics in categories and on [[Special:Allpages]] */ |
| /* If changing this value, change .list-switcher `bottom` above */
| | .redirect-in-category, .allpagesredirect { |
| max-height: calc(3.2 * 1.6em); /* for browsers that don't support `lh` units */
| | font-style: italic; |
| max-height: 3.2lh;
| |
| overflow-y: hidden;
| |
| } | | } |
| | | |
| .list-switcher-header {
| | /* Icons for medialist templates [[Template:Listen]], |
| background: var(--wikt-palette-grey-indigo-2);
| | [[Template:Multi-listen_start]], [[Template:Video]], |
| font-weight: bold;
| | [[Template:Multi-video_start]] |
| font-size: 95%;
| | */ |
| padding: 0.2em 0.4em 0.1em 0.6em;
| | div.listenlist { |
| | background: |
| | url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png"); |
| | padding-left: 40px; |
| } | | } |
| | | |
| .list-switcher-header + .list-switcher .term-list {
| | /* Style rules for media list templates */ |
| padding-top: 0.1em;
| | div.medialist { |
| | min-height: 50px; |
| | margin: 1em; |
| | background-position: top left; |
| | background-repeat: no-repeat; |
| } | | } |
| | | div.medialist ul { |
| .list-switcher-edit {
| | list-style-type: none; |
| margin-left: 1.5em;
| | list-style-image: none; |
| font-size: 87.75%; /* exactly match font size of [show more] button (in Chromium-based browsers at least) */ | | margin: 0; |
| font-weight: normal; | |
| } | | } |
| .list-switcher-edit::before { | | div.medialist ul li { |
| content: "[";
| | padding-bottom: 0.5em; |
| } | | } |
| .list-switcher-edit::after { | | div.medialist ul li li { |
| content: "]";
| | font-size: 91%; |
| | padding-bottom: 0; |
| } | | } |
|
| |
|
| .list-switcher-large-text {
| | /**********/ |
| /* Keep in sync with next ruleset */
| | /* portal */ |
| bottom: calc(4 * 1.6em); /* for browsers that don't support `lh` units */
| | /**********/ |
| bottom: 4lh;
| | .portal_container { } |
| } | | .portal_section ul { list-style: disc; } |
| .list-switcher-large-text.list-switcher-collapsed { | | .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); } |
| /* Keep in sync with previous ruleset */
| | .portal_header { padding: 0 1em; position: relative; } |
| max-height: calc(4 * 1.6em); /* for browsers that don't support `lh` units */
| | .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; } |
| max-height: 4lh;
| | .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) ; } |
|
| |
|
| .list-switcher-element {
| | /******************/ |
| text-align: center;
| | /* portal: slider */ |
| cursor: pointer;
| | /******************/ |
| background: var(--wikt-palette-grey-indigo-2);
| | #portal_slider { margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; position: relative; height: 500px; } |
| border-bottom-left-radius: calc(0.31 * 1.6em); /* for browsers that don't support `lh` units */
| | #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; } |
| border-bottom-left-radius: 0.3lh;
| | #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); } |
| border-bottom-right-radius: calc(0.31 * 1.6em); /* for browsers that don't support `lh` units */
| | #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; } |
| border-bottom-right-radius: 0.3lh;
| | #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; } |
|
| |
|
| .list-switcher-element .NavToggle {
| |
| float: none;
| |
| }
| |
|
| |
|
| .columns-bg:not(.term-list) .CategoryTreeChildren { | | /*******************/ |
| -moz-column-count: 3;
| | /* portal: content */ |
| column-count: 3;
| | /*******************/ |
| } | | #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 */ |
|
| |
|
| /* Hidden Quotes and *nyms toggle */ | | /******************/ |
| .HQToggle,
| | /* portal: forums */ |
| .nyms-toggle, | | /******************/ |
| .usex-toggle { | | #portal_forums .forum_title { } |
| font-size: smaller;
| | #portal_forums .forum_edited { text-align: right; } |
| position: relative;
| |
| bottom: 1px;
| |
| left: 5px;
| |
| } | |
|
| |
|
| /* Hidden quotes */ | | /*******************/ |
| .client-js .ns-0 ol>li>ul {
| | /* portal: twitter */ |
| display: none;
| | /*******************/ |
| } | | #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; } |
|
| |
|
| /* wrap toggle links with [ and ] */ | | /*********************************/ |
| .HQToggle:before, | | /* main page jquery tabs/sliders */ |
| .NavToggle:before, | | /*********************************/ |
| .nyms-toggle:before, | | .ui-tabs { position: relative; padding: .2em; zoom: 1; } |
| .usex-toggle:before { | | .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } |
| content: '[';
| | .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; } |
|
| |
|
| .HQToggle:after,
| | /**********************/ |
| .NavToggle:after,
| | /**Portal definitons */ |
| .nyms-toggle:after,
| | /**********************/ |
| .usex-toggle:after {
| |
| content: ']';
| |
| }
| |
|
| |
|
| .HQToggle a, | | .portal_sliderlink_1, .portal_sliderlink_2, .portal_sliderlink_3, .portal_sliderlink_4, .portal_sliderlink_6, .portal_sliderlink_5, .portal_sliderlink_6, .portal_sliderlink_7 { |
| .NavToggle a, | | border: 1px solid #f9f9f9; |
| .nyms-toggle a, | |
| .usex-toggle a { | |
| -webkit-user-select: none;
| |
| -moz-user-select: none;
| |
| user-select: none;
| |
| } | | } |
|
| |
|
| .client-js .NavFrame .NavContent { | | .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 { |
| display: none;
| | border: 1.4px solid #8CB2FF; |
| } | | } |
|
| |
|
| .client-js .not .NavContent { | | .use-with-mention { |
| /* ??? */
| | font-style: italic; |
| display: block;
| |
| } | | } |
|
| |
|
| /* View switcher */ | | /*Template:WIGO NAV*/ |
| .vsShow { | | .wigonav-button a, .wigonav-button strong { |
| display: none;
| | background-image:url('https://linguifex.com/w/images/4/42/Welcome.png'); |
| | background-repeat: no-repeat; |
| | background-attachment: scroll; |
| | padding-top:90px; |
| | width:100px; |
| | display:block; |
| | margin:auto; |
| } | | } |
|
| |
|
| /* End styling for collapsible lists */
| | #wigonav-button-logo a { |
| | | background-position: 0 0; |
| /* Quote clarifications, e.g. {{quote-gloss}}, {{quote-qualifier}} */
| |
| .quote-note {
| |
| color: #999;
| |
| } | | } |
|
| |
|
| /* stuff visible when previewing an edit only */
| | #wigonav-button-logo a:hover, #wigonav-button-logo strong { |
| | | background-position: -600px 0; |
| .previewonly {
| |
| display: none;
| |
| } | | } |
|
| |
|
| #wikiPreview .previewonly { | | #wigonav-button-languages a { |
| display: inline;
| | background-position: -100px 0; |
| } | | } |
|
| |
|
| /* Highlight the relevant sense when the user follows a link to a {{senseid}}.
| | #wigonav-button-languages a:hover, #wigonav-button-languages strong { |
| The class="senseid" should ideally be on the enclosing <li> tag. We attempt to make the
| | background-position: -700px 0; |
| 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;
| |
| } | | } |
|
| |
|
| li:has(> span.senseid:target) {
| | #wigonav-button-featured a { |
| background: #DEF;
| | background-position: -200px 0; |
| } | | } |
|
| |
|
| .etymid:target {
| | #wigonav-button-featured a:hover, #wigonav-button-featured strong { |
| background: #DEF;
| | background-position: -800px 0; |
| } | | } |
|
| |
|
| p:has(> span.etymid:target) {
| | #wigonav-button-forum a { |
| background: #DEF;
| | background-position: -300px 0; |
| } | | } |
|
| |
|
| /* fix extra gap if there is something between etymid and rest of etymology */
| | #wigonav-button-forum a:hover, #wigonav-button-forum strong { |
| p:has(> span.etymid:only-child) {
| | background-position: -900px 0; |
| display: inline;
| |
| } | | } |
|
| |
|
| /* and highlight the next paragraph too if that happened,
| | #wigonav-button-contionary a { |
| since otherwise the highlight may be lost entirely on the invisible etymid */
| | background-position: -400px 0; |
| p:has(> span.etymid:target:only-child) + p {
| |
| background: #DEF;
| |
| } | | } |
|
| |
|
| /* Skin CSS highlights table rows targeted by the current browser location
| | #wigonav-button-contionary a:hover, #wigonav-button-contionary strong { |
| (tr:target). This rule highlight table rows containing target cells so that
| | background-position: -1000px 0; |
| 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;
| |
| } | | } |
|
| |
|
| /* show the "serial and" in the disambiguation see also */
| | #wigonav-button-library a { |
| .serial-and {
| | background-position: -500px 0; |
| display: inline;
| |
| } | | } |
|
| |
|
| /* hide the serial commas */
| | #wigonav-button-library a:hover, #wigonav-button-library strong { |
| .serial-comma {
| | background-position: -1100px 0; |
| display: none;
| |
| } | | } |
|
| |
|
| /* Gender and number templates */ | | /*WIGO*/ |
| .gender,
| |
| .number,
| |
| .noun-class {
| |
| font-style: italic;
| |
| }
| |
|
| |
|
| abbr {
| | /*Spacing between wigo buttons*/ |
| border-bottom-width: 0;
| | .wigobutton { |
| | padding: 0; |
| } | | } |
|
| |
|
| /* hide "did you mean" on Noarticletext self-links */ | | /*wigo button effects*/ |
| .did-you-mean strong { | | .wigobutton img { |
| display: none;
| | background-color: transparent; |
| | border: 1px transparent solid; |
| } | | } |
|
| |
|
| /* make script/module errors smaller */
| | .wigobutton img:hover { |
| .scribunto-error {
| | background: PaleTurquoise; |
| font-size: 75%;
| | border: 1px solid grey; |
| | 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; |
| } | | } |
|
| |
|
| /* allow inline hieroglyphs */
| | .wigobutton img:active { |
| .mw-hiero-outer { | | background: LightGrey; |
| display: inline-table !important; /* override skin styling on mobile */
| | border: 1px inset grey; |
| vertical-align: middle;
| | margin: 0; |
| font-size: 10px;
| | -moz-border-radius:2px; |
| | -webkit-border-radius:2px; |
| | border-radius:2px; |
| } | | } |
|
| |
|
| /* allow mirrored custom hieroglyph (and other) images */ | | /* Standard Colour Tables */ |
| .mw-mirrored img {
| |
| transform: scaleX(-1);
| |
| }
| |
|
| |
|
| /* softer highlighting of 'updated since last visit' */
| | .bluetable .bg1, .blueinfobox .bg1, .lightbluebg { background: #f7faff; } |
| span.updatedmarker {
| | .graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #fffafa; } |
| background-color: #c0e4c0;
| | .browntable .bg1, .browninfobox .bg1, .lightbrownbg { background: #fffaf7; } |
| } | | .greentable .bg1, .greeninfobox .bg1, .lightgreenbg { background: #f2fffb; } |
| | .redtable .bg1, .redinfobox .bg1, .lightredbg { background: #fff7f7; } |
|
| |
|
| /* {{TOC limit}} */
| | .softtable, .softtable td, .softtable .bg1, |
| /* Allow limiting of which header levels are shown in a TOC;
| | .softinfobox, .softinfobox td, .softinfobox .bg1, .softbg, .lightsoftbg |
| <div class="toclimit-3">, for instance, will limit to showing ==headings==
| | { background: #fffafa; } |
| and ===headings=== but no further (as long as there are no =headings= on the
| |
| page, which there shouldn't be according to the MoS). */
| |
| .toclimit-2 .toclevel-1 ul, | |
| .toclimit-3 .toclevel-2 ul, | |
| .toclimit-4 .toclevel-3 ul, | |
| .toclimit-5 .toclevel-4 ul,
| |
| .toclimit-6 .toclevel-5 ul, | |
| .toclimit-7 .toclevel-6 ul {
| |
| display: none;
| |
| } | |
|
| |
|
| /*
| | .blueborder { border: 1px solid #8091ab; } |
| * Script and language-related styles are in [[MediaWiki:Gadget-LanguagesAndScripts.css]]
| | .grayborder { border: 1px solid #abaaaa; } |
| */
| | .brownborder { border: 1px solid #b38d7d; } |
| | .greenborder { border: 1px solid #89aba1; } |
| | .redborder { border: 1px solid #b37d7d; } |
| | .softborder { border: 1px solid #cccaca; } |
|
| |
|
| /* A kludge that lets the members of [[:Category:Redirected combining characters]] be displayed. */
| | .bluetable .bg2, .blueinfobox .bg2, .bluetable .bg2 td, .blueinfobox .bg2 td { background: #e6eefa; } |
| body.page-Category_Combining_characters div#mw-pages li,
| | .bluetable .bg3, .blueinfobox .bg3, .bluetable .bg3 td, .blueinfobox .bg3 td { background: #d3dff2; } |
| body.page-Category_Redirected_combining_characters div#mw-pages li,
| | .bluetable .bg4, .blueinfobox .bg4, .bluetable .bg4 td, .blueinfobox .bg4 td, .bluebg { background: #c2d4ed; } |
| body.page-Category_IPA_combining_characters div#mw-pages li {
| |
| letter-spacing: 0.3em;
| |
| } | |
|
| |
|
| /* Grease Pit edit button fix */
| | .graytable .bg2, .grayinfobox .bg2, .graytable .bg2 td, .grayinfobox .bg2 td { background: #eeeaea; } |
| .page-Wiktionary_Grease_pit.skin-vector #ca-edit, | | .graytable .bg3, .grayinfobox .bg3, .graytable .bg3 td, .grayinfobox .bg3 td { background: #dddada; } |
| .page-Wiktionary_Etymology_scriptorium.skin-vector #ca-edit, | | .graytable .bg4, .grayinfobox .bg4, .graytable .bg4 td, .grayinfobox .bg4 td, .graybg { background: #cccaca; } |
| .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;
| |
| } | |
|
| |
|
| /* Definition dates, in {{defdate}} */
| | .browntable .bg2, .browninfobox .bg2, .browntable .bg2 td, .browninfobox .bg2 td { background: #f7e9e4; } |
| .defdate { | | .browntable .bg3, .browninfobox .bg3, .browntable .bg3 td, .browninfobox .bg3 td { background: #f0dad1; } |
| font-size: smaller;
| | .browntable .bg4, .browninfobox .bg4, .browntable .bg4 td, .browninfobox .bg4 td, .brownbg { background: #ebcdc0; } |
| } | |
|
| |
|
| /* unit tests filter */
| | .greentable .bg2, .greeninfobox .bg2, .greentable .bg2 td, .greeninfobox .bg2 td { background: #e1f7f1; } |
| table.unit-tests.unit-tests-hide-passing tr.unit-test-pass {
| | .greentable .bg3, .greeninfobox .bg3, .greentable .bg3 td, .greeninfobox .bg3 td { background: #d5f2ea; } |
| display: none;
| | .greentable .bg4, .greeninfobox .bg4, .greentable .bg4 td, .greeninfobox .bg4 td, .greenbg { background: #c1e0d7; } |
| } | |
|
| |
|
| table.unit-tests th.unit-tests-img-corner {
| | .redtable .bg2, .redinfobox .bg2, .redtable .bg2 td, .redinfobox .bg2 td { background: #f7e4e4; } |
| background: #d9ebff;
| | .redtable .bg3, .redinfobox .bg3, .redtable .bg3 td, .redinfobox .bg4 td { background: #f0d1d1; } |
| min-width: 1em;
| | .redtable .bg4, .redinfobox .bg4, .redtable .bg4 td, .redinfobox .bg3 td, .redbg { background: #ffcccc; } |
| } | |
|
| |
|
| table.unit-tests.unit-tests-hide-passing th.unit-tests-img-corner {
| | .softtable .bg2, .softinfobox .bg2, |
| background: red;
| | .softtable .bg3, .softinfobox .bg3, |
| } | | .softtable .bg4, .softinfobox .bg4, |
| | .softtable .bg2 td, .softinfobox .bg2 td, |
| | .softtable .bg3 td, .softinfobox .bg3 td, |
| | .softtable .bg4 td, .softinfobox .bg4 td |
| | { background: #eeeaea; } |
|
| |
|
| /* multi-column lists */
| | .bluetable, .graytable, .browntable, .greentable, .redtable, |
| li,
| | .blueinfobox, .grayinfobox, .browninfobox, .greeninfobox, .redinfobox { border-collapse: collapse; } |
| .group-in-column { | |
| -moz-column-break-inside: avoid;
| |
| break-inside: avoid;
| |
| } | |
|
| |
|
| /* {{shortcut}} */
| | .blueinfobox, .grayinfobox, .browninfobox, .greeninfobox, .redinfobox, .softinfobox { |
| .shortcut-box, | | float: right; |
| .category-edit-box { | | margin: 0 0 0.5em 0.5em; |
| 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;
| |
| } | | } |
|
| |
|
| /* Display tabs with 4 spaces, see [[phab:T59824]] and [[phab:T59825]] */
| | .blueinfobox { background: #f7faff; } |
| textarea#wpTextbox1+div:last-child,
| | .grayinfobox { background: #fffafa; } |
| /* workaround for [[mw:User:Remember the dot/Syntax highlighter]] */
| | .browninfobox { background: #fffaf7; } |
| textarea,
| | .greeninfobox { background: #f2fffb; } |
| pre,
| | .redinfobox { background: #fff7f7; } |
| code,
| |
| .mw-highlight { | |
| -moz-tab-size: 4;
| |
| -o-tab-size: 4;
| |
| tab-size: 4;
| |
| } | |
|
| |
|
| /* stop double-bolding of self-links like in [[acquit]], [[fishbone]] */
| | .bluetable, .blueinfobox { border: 1px solid #8091ab; } |
| /* old code: b .selflink, strong .selflink { font-weight: inherit; } */
| | .graytable, .grayinfobox { border: 1px solid #abaaaa; } |
| b,
| | .browntable, .browninfobox { border: 1px solid #b38d7d; } |
| strong {
| | .greentable, .greeninfobox { border: 1px solid #89aba1; } |
| font-weight: bold;
| | .redtable, .redinfobox { border: 1px solid #b37d7d; } |
| } | | .softtable, .softinfobox { border: 1px solid #cccaca; } |
|
| |
|
| tr:target {
| | .bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #8091ab; } |
| background: #DEF;
| | .graytable td, .graytable th, .grayinfobox td, .grayinfobox th { border: 1px solid #abaaaa; } |
| } | | .browntable td, .browntable th, .browninfobox td, .browninfobox th { border: 1px solid #b38d7d; } |
| | .greentable td, .greentable th, .greeninfobox td, .greeninfobox th { border: 1px solid #89aba1; } |
| | .redtable td, .redtable th, .redinfobox td, .redinfobox th { border: 1px solid #b37d7d; } |
|
| |
|
| #firstHeading var,
| | .bluetable td, .bluetable th, .graytable td, .graytable th, |
| .headword var { | | .browntable td, .browntable th, .greentable td, .greentable th, |
| color: #888;
| | .redtable td, .redtable th, .softtable td, .softtable th, |
| } | | .blueinfobox td, .blueinfobox th, .grayinfobox td, .grayinfobox th, |
| | .browninfobox td, .browninfobox th, .greeninfobox td, .greeninfobox th, |
| | .redinfobox td, .redinfobox th, .softinfobox td, .softinfobox th |
| | { padding: 4px; } |
|
| |
|
| /* Display a {{tlb}} / {{term-label}} template on its own line if it comes right after a headword template.
| | .bluetable th { background: #c2d4ed; } |
| It is too easy to miss after headwords (especially long ones). */
| | .graytable th { background: #cccaca; } |
| p .headword-line ~ .usage-label-term::before {
| | .browntable th { background: #ebcdc0; } |
| content: "\a"; /* newline */
| | .greentable th { background: #c1e0d7; } |
| white-space: pre;
| | .redtable th { background: #ffcccc; } |
| } | | .softtable th, .softinfobox th { background: #eeeaea; } |
|
| |
|
| /* Temporary kludge to be used because categoryTree is generating a newline. This CSS line should be removed after the developers fix it. */
| | .bluetable th:first-child, .graytable th:first-child, .browntable th:first-child, .greentable th:first-child, .redtable th:first-child, .softtable th:first-child, |
| .CategoryTreeTag+p br:first-child { | | .blueinfobox th, .grayinfobox th, .browninfobox th, .greeninfobox th, .redinfobox th, .softinfobox th { text-align: center; padding-right: 0.2em; } |
| display: none;
| |
| } | |
|
| |
|
| /* Used by column templates (see [[Module:columns]]). */
| |
| .ul-column-count>ul,
| |
| .ul-column-count>ol,
| |
| .ul-column-count>dl {
| |
| -moz-column-gap: 20px;
| |
| column-gap: 20px;
| |
| }
| |
|
| |
|
| .ul-column-count[data-column-count="2"]>ul, | | .bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header, |
| .ul-column-count[data-column-count="2"]>ol, | | .graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header, |
| .ul-column-count[data-column-count="2"]>dl { | | .browntable .divider, .browninfobox .divider, .browntable .header, .browninfobox .header, |
| -moz-column-count: 2;
| | .greentable .divider, .greeninfobox .divider, .greentable .header, .greeninfobox .header, |
| column-count: 2;
| | .redtable .divider, .redinfobox .divider, .redtable .header, .redinfobox .header, |
| } | | .softtable .divider, .softinfobox .divider, .softtable .header, .softinfobox .header { text-align: center !important; } |
|
| |
|
| .ul-column-count[data-column-count="3"]>ul, | | .bluetable .header, .bluetable .divider, .blueinfobox .header { background: #c2d4ed; } |
| .ul-column-count[data-column-count="3"]>ol, | | .graytable .header, .graytable .divider, .grayinfobox .header { background: #cccaca; } |
| .ul-column-count[data-column-count="3"]>dl { | | .browntable .header, .browntable .divider, .browninfobox .header { background: #ebcdc0; } |
| -moz-column-count: 3;
| | .greentable .header, .greentable .divider, .greeninfobox .header { background: #c1e0d7; } |
| column-count: 3;
| | .redtable .header, .redtable .divider, .redinfobox .header { background: #ffcccc; } |
| } | | .softtable .header, .softtable .divider, .softinfobox .header { background: #eeeaea; } |
|
| |
|
| .ul-column-count[data-column-count="4"]>ul, | | .blueinfobox .divider { background: #e6eefa; } |
| .ul-column-count[data-column-count="4"]>ol, | | .grayinfobox .divider { background: #eeeaea; } |
| .ul-column-count[data-column-count="4"]>dl { | | .browninfobox .divider { background: #f7e9e4; } |
| -moz-column-count: 4;
| | .greeninfobox .divider { background: #e1f7f1; } |
| column-count: 4;
| | .redinfobox .divider { background: #f7e4e4; } |
| } | | .softinfobox .divider { background: #eeeaea; } |
| | |
| .ul-column-count[data-column-count="5"]>ul, | |
| .ul-column-count[data-column-count="5"]>ol, | |
| .ul-column-count[data-column-count="5"]>dl { | |
| -moz-column-count: 5;
| |
| column-count: 5;
| |
| } | |
|
| |
|
| .ul-column-count[data-column-count="6"]>ul,
| | /** End of Standard Colour Tables **/ |
| .ul-column-count[data-column-count="6"]>ol,
| |
| .ul-column-count[data-column-count="6"]>dl {
| |
| -moz-column-count: 6;
| |
| column-count: 6;
| |
| }
| |
| | |
| .columns-bg {
| |
| /* Default background color for multi-column lists. */
| |
| background: #f8f8ff;
| |
| /* prevent text crashing into edge of box */
| |
| padding-right: 0.3em;
| |
| }
| |
| | |
| /* Default style for hypothetical inflections -- currently italic. */
| |
| .hypothetical {
| |
| font-style: italic;
| |
| }
| |
| | |
| /* Style for entries using deprecated templates */
| |
| .deprecated {
| |
| color: olivedrab;
| |
| }
| |
| | |
| .deprecated a {
| |
| color: darkgreen;
| |
| }
| |
| | |
| /* Style for entries using deprecated labels */
| |
| .deprecated-label {
| |
| color: olivedrab;
| |
| text-decoration: line-through;
| |
| }
| |
| | |
| .deprecated-label a {
| |
| color: darkgreen;
| |
| text-decoration: line-through;
| |
| }
| |
| | |
| /* Style for notes added using the bad= param in {{audio}} */
| |
| .bad-audio-note {
| |
| color: #FF2200;
| |
| font-weight: bold;
| |
| }
| |
| | |
| /* WikiHiero kludge */
| |
| /* disable for now, apparently not necessary and breaks wrapping
| |
| .wikt-hierokludge {
| |
| display: inline-block;
| |
| } */
| |
| | |
| /* Support lists that automatically split into limited-width columns (for translations tables and the like): */
| |
| .multicolumn-list>ul {
| |
| -moz-column-width: 25em;
| |
| column-width: 25em;
| |
| -moz-column-gap: 20px;
| |
| column-gap: 20px;
| |
| }
| |
| | |
| .multicolumn-list-wide>ul {
| |
| -moz-column-width: 55em;
| |
| column-width: 55em;
| |
| -moz-column-gap: 20px;
| |
| column-gap: 20px;
| |
| }
| |
| | |
| .multicolumn-list-narrow>ul {
| |
| -moz-column-width: 22em;
| |
| column-width: 22em;
| |
| -moz-column-gap: 20px;
| |
| column-gap: 20px;
| |
| }
| |
| | |
| /* Horizontal rules; the second line is because of changes to the HTML generated due to Parsoid (see https://www.mediawiki.org/wiki/Parsoid). */
| |
| 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;
| |
| }
| |
| | |
| /* [[phab:T156351]]: Support for Parsoid's Cite implementation */
| |
| a[ rel="mw:referencedBy"]::before {
| |
| content: " ^";
| |
| }
| |
| | |
| /* [[phab:T316670]]: fix header issues */
| |
| .mw-heading * {
| |
| word-break: normal;
| |
| }
| |
| | |
| /* From [[Module:shortcut box/styles.css]] */
| |
| a .redlink {
| |
| color: #d73333;
| |
| }
| |
| | |
| a:visited .redlink {
| |
| color: #a55858;
| |
| }
| |
| | |
| a:visited:hover .redlink {
| |
| color: #a55858;
| |
| }
| |
| | |
| a:hover .redlink {
| |
| color: #ff4242;
| |
| text-decoration: underline;
| |
| }
| |
| | |
| a:active .redlink {
| |
| color: #b32424;
| |
| text-decoration: underline;
| |
| }
| |
| | |
| a:focus .redlink {
| |
| outline-color: #36c;
| |
| }
| |
| | |
| /* approximate replacement for .toccolours, which is not defined in the Vector 2022 skin */
| |
| .standard-box {
| |
| background-color: #f8f9fa;
| |
| border: 1px solid #9e9e9e; /* was #aabbdd but no real equivalent in our palette */
| |
| padding: 5px;
| |
| }
| |
| | |
| .mw-parser-output a[role="button"] {
| |
| color: var(--wikt-palette-black);
| |
| font-weight: normal;
| |
| }
| |
| | |
| /* override default behaviour for button links */
| |
| .mw-parser-output a[role="button"]:focus:not(:hover) {
| |
| text-decoration: none;
| |
| }
| |
| /* </nowiki> */
| |