User:Mzajac/common.css

/* watchlist line-height */ table.mw-enhanced-rc { line-height: 2.25; }

/* monospace font in code-editing pages */

body.action-edit.ns-10 textarea#wpTextbox1, /* edit textareas in templates */ body.action-submit.ns-10 textarea#wpTextbox1 { font-family: menlo, monospace; font-size: small; }

/* module editing */

body.action-edit.ns-828 textarea#wpTextbox1, /* flash of unstyled editor (FOUE) */ body.action-edit.ns-828 textarea#wpTextbox1 { font-family: menlo, monospace; font-size: small; }

/* module display */

.source-lua { font-family: menlo, monospace; }

div.ace_editor { /* the actual editor */ font-family: menlo, monospace; font-size: small; }

/* override ugly site fonts */ .Cyrl { font-family: inherit; }

.IPA { font-family: inherit; font-size: inherit; }

/* Cyrs font from ponomar.net */

.Cyrs { /* reset Common.css */ font-family: inherit; font-size: inherit; font-style: inherit; }


 * lang(cu),
 * lang(orv) {

font-family: Hirmos Ponomar, BukyVede, Kliment Std, RomanCyrillic Std, Menaion, Menaion Medieval, Lazov, Dilyana, Code2000, DejaVu Sans, Lucida Grande, Arial Unicode MS, Lucida Sans Unicode, sans-serif; font-size: 119%; }
 * lang(cu-Latn),
 * lang(orv-Latn) { /* transliterations */

font-family: inherit; font-size: inherit; }

/* Cyrs boldface > letter-spaced */

b:lang(cu), b:lang(orv), strong:lang(cu), strong:lang(orv) { font-weight: normal; letter-spacing: 0.1em; font-size: larger; }

/* Old Armenian */

.Armn:lang(xcl) { font-family: TITUS Cyberbit Basic, sans-serif; font-size: 150%; }

/* fix raised and lowered text */

sup, sub { line-height: 1em; /* neutralize extra line spacing */ font-size: 0.7em; /* normally, superscripts and subscripts are css “smaller”, or about 0.83em */ }

sup { position: relative; left: 0; bottom: 0.1em; }

i+sup, i>sup { /* with italics */ margin-left: 0.2em; /* typographic thin space */ }

sub { position: relative; left: 0; top: 0.2em; }

/* format quotations /* body.ns-0 (main namespace), body.ns-114 (citations namespace) */ .ns-0 ol dl, .ns-0 ol ul dl, .ns-114 ul dl { font-family: georgia, serif; color: #666; }

/* highlight instead of bolding cited terms */ .ns-0 ol dl b, 	.ns-0 ol ul dl b, 	.ns-114 ul dl b { font-weight: normal; background: #ffc; }

/* spot the loony */ .user-mzajac:after { content: ' 🐰'; }

/* dispense with hr for rules above h2 */ body.ns-0 #mw-content-text > h2 ~ h2 { border-top: 3px double #aaa; margin-top: 2em; } /* siblings of the first h2 of the content in the main namespace */ body.ns-0 #mw-content-text > hr { border: none; background: transparent; border-top: 3px double #aaa; margin-top: 2em; } /* hr’s */ body.ns-0 #mw-content-text > hr + h2 { border-top: none; margin-top: 0; }

.translationcolumns { column-count:2; column-fill: auto; column-gap:40px; background-color:#ffffe0; vertical-align:top; width:100%; text-align:left; -moz-column-count:2; -webkit-column-count:2; -webkit-column-fill: auto; -moz-column-fill: auto; -ms-column-fill: auto; -o-column-fill: auto; }

div.translationcolumns li { -webkit-column-break-inside: avoid; -moz-column-break-inside: avoid; -o-column-break-inside: avoid; column-break-inside: avoid;

page-break-inside: avoid; /* works in Firefox */ }

/* ##########  Debugging

/* Indicate updated headword */ strong.headword { color: green; }

/* debug lang attributes */ /* there appears to be no way to mark empty lang tags */


 * not(:lang(en)) { border: 1px solid rgba(0, 0, 0, 0.10) } /* highlight foreign-language text */


 * lang(mul) { border: 1px solid rgba(0, 0, 0, 0.3); } /* highlight translingual text */


 * lang(und),

.missing-language { border: 1px solid rgba(0, 0, 0, 0.3); } /* highlight undetermined language */

.missing-language:after { content: '🚩'; font-style: normal; }

/* prevent redundant flags */ :lang(und) :lang(und):after, .missing-language .missing-language:after { content: normal; }

/* debug obsolete HTML http://www.w3.org/TR/2011/WD-html5-20110405/obsolete.html */

acronym, dir, frame, rb, strike, big, blink, center, font, marquee, multicol, nobr, spacer, tt { outline: 1px solid red; }

a[name], img[name], img[longdesc], img[lowsrc], td[abbr], th[abbr], td[axis], th[axis], br[clear], caption[align], col[align], col[char], col[charoff], col[valign], col[width], div[align], dl[compact], hr[align], hr[color], hr[noshade], hr[size], hr[width], h1[align], h2[align], h3[align], h4[align], h5[align], h6[align], img[align], img[hspace], img[vspace], legend[align], li[type], ol[compact], p[align], pre[width], table[align], table[bgcolor], table[border], table[cellpadding], table[cellspacing], table[frame], table[rules], table[width], td[align], th[align], td[bgcolor], th[bgcolor], td[char], th[char], td[charoff], th[charoff], td[height], th[height], td[nowrap], th[nowrap], td[valign], th[valign], td[width], th[width], tr[align], tr[bgcolor], tr[char], tr[charoff], tr[valign], ul[compact], ul[type], table[background], tr[background], td[background], th[background] { outline: 1px solid orange; }

/* Keep wide tables from peering through mail slots */

div.NavFrame { overflow: visible; }