User:Crissov/cologneblue.css

/* Nicer table headers/headings: */ body {counter-reset: figure example;} caption {font: small sans-serif; margin-top: 1em; margin-bottom: 0; text-align: left;} caption:before {content: counter(figure) ": "; padding-right: 1ex;} caption:lang(en)::before {content: "Table " counter(figure) ": ";} caption:lang(de)::before {content: "Tabelle " counter(figure) ": ";} .example caption::before {content: "Example " counter(example) ": ";} .example caption:lang(de)::before, .beispiel caption::before {content: "Beispiel " counter(example) ": ";} .infobox caption::before {content: "Info: "; font-size: smaller;} table table>caption {margin-top: 0;} table {caption-side: bottom;} table.infobox {caption-side: top;} tr:first-child>th {text-align: center;} tr>th:first-child {text-align: left;} /* Nicer table cells: */ th, td { vertical-align: top; text-align: left; /*text-align: ","*/; min-height: 1em; padding: 0.25em; } .wikitable th {background: #EDF; color: white} .wikitable td {} .wikitable th, .wikitable td {padding: 0.4em; border-color: silver transparent;} .wikitable th[colspan], .wikitable td[colspan] {border-color: silver;} .wikitable tr:nth-child(odd) td {background: rgba(98%, 98%, 98%, 0.8);} .wikitable tr:nth-child(even) td {background: rgba(95%, 95%, 95%, 0.8);} tr>td[align="right"], tr[align="right"]>td            {text-align: right; /*text-align: ".";*/} tr[align="right"]>[align="left"] {text-align: left;} margin: 0; } margin-top: 0; padding-top: 0; margin-left: 0; }
 * 1) article figcaption,
 * 2) article caption {counter-increment: figure;}
 * 3) article .beispiel caption,
 * 4) article .example caption {counter-increment: example;}
 * 5) article .infobox caption {counter-increment: none;}
 * 1) article tbody>tr:hover,
 * 2) article tbody>tr:hover>* {background-color: #68A; color: #FFF;}
 * 3) article tbody>tr:hover a,
 * 4) article tbody>tr:hover>* a {background-color: #68A; color: #DDD;}
 * 5) article table table tbody>tr:hover,
 * 6) article table table tbody>tr:hover>* {background-color: inherit; color: inherit;}
 * 7) article tbody>tr:only-of-type:hover,
 * 8) article tbody>tr:only-of-type:hover>*,
 * 9) article tbody>tr:only-child:hover,
 * 10) article tbody>tr:only-child:hover>* {background-color: inherit; color: inherit;}
 * 11) article tbody>tr:only-of-type:hover a,
 * 12) article tbody>tr:only-of-type:hover>* a,
 * 13) article tbody>tr:only-child:hover a,
 * 14) article tbody>tr:only-child:hover>* a {background-color: #DDD; color: #68A;}
 * 15) article {margin: 1em 20ex 1em 1em;}
 * 16) article td>p:only-child,
 * 17) article td>dl:only-child,
 * 18) article td>ul:only-child,
 * 19) article td>ol:only-child {
 * 1) article td>p:first-child,
 * 2) article td>dl:first-child,
 * 3) article td>ul:first-child,
 * 4) article td>ol:first-child {
 * 1) article table.floatright,
 * 2) article table[align=right] {margin-left: 1em; margin-right: 0;}
 * 3) article table.floatleft,
 * 4) article table[align=left] {margin-left: 0; margin-right: 1em;}
 * 5) article table {margin-top: 1em; margin-bottom: 1em;}

/* macro typography */ min-width: 6ex; max-width: 80ex; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } max-width: 76ex; }
 * 1) article table.example,
 * 2) article table.beispiel {margin: 0 0 0 1em; float: right; max-width: 60ex; max-width: calc(90% - 80ex);}
 * 3) article table[align] {margin-top: 0em; margin-bottom: 1em;}
 * 4) article h2+.example, #article h2+.beispiel,
 * 5) article h3+.example, #article h3+.beispiel,
 * 6) article h4+.example, #article h4+.beispiel,
 * 7) article h5+.example, #article h5+.beispiel {margin: 1em; float: none;}
 * 1) article p {text-align: justify;}
 * 2) article p,
 * 3) article dt,
 * 4) article dd,
 * 5) article li,
 * 6) article td,
 * 7) article th,
 * 8) article address,
 * 9) article blockquote {
 * 1) article blockquote {
 * 1) article td, #article th {min-width: 0}

.ns-special li, .ns-special dd {max-width: auto} dd+dd {max-width: 100%;}/* Talk */ dd:first-child, dd:only-child {max-width: 100%;}/* Talk */
 * 1) article dt {font-weight: bolder; margin-left: 1em;}
 * 2) article dt, #article li {margin-top: 0.5em;}
 * 3) article dt:first-child, #article li:first-child {margin-top: 0}

/* Paragraphs */
 * 1) article p, #article li {margin: 1em 1em 0}
 * 2) article p+table[align]+p,
 * 3) article p+.float-right+p,


 * 1) article p+.float-left+p,
 * 2) article p+.taxobox+p,
 * 3) article p+.palaeobox+p,


 * 1) article p+.infobox+p,
 * 2) article p+.example+p,
 * 3) article p+.beispiel+p,
 * 4) article p+.float+p,
 * 5) article p+.thumb+p,

/* Lists */ /* table#toc ul {margin-left: 0;  padding-left: 0;} table#toc li {margin-left: 1em; padding-left: 0;}
 * 1) article p+p    {margin: 0 1em; text-indent: 1.8em;}
 * 2) article p:empty {margin: 0 1em; padding: 0; height: 0;}
 * 1) article p+ul,
 * 2) article p+ol,
 * 3) article p+dl {margin-top: 0.5em; margin-bottom: 0em} /* list after p */
 * 4) article ul+p,
 * 5) article ol+p,
 * 6) article dl+p {margin-top: 0.5em; margin-bottom: 0em} /* p after list */
 * 7) article table+p {margin-top: 0.5em; margin-bottom: 0em} /* p after table */
 * 8) article ul,
 * 9) article ol {margin-left: 0; padding-left: 0;}
 * 10) article li,
 * 11) article dd {margin: 0.5em 1em 0.5em 1em; padding-left: -0.5em/*25*/;}
 * 12) article dt {margin: 0.5em 1em 0em 1em; /*padding-left: -0.25em;*/ text-align: left; font-weight: bolder;}
 * 13) article dd+dd {margin-top: 0;}
 * 1) article li {margin-left: 1em; padding-left: 0;}
 * 2) article li {margin: 0.5em 1em}
 * 1) article ul,
 * 2) article dl {list-style-type: square;}
 * 3) article dd {display: list-item;}

h2, h3, h4 {border-bottom: medium solid} h2::before, h3::before, h4::before {color: white; background: black; width: 32px} h1, h2, h3, h4, h5, h6, ul, ol, dl {clear: left;} hr        {clear: both;}

.infobox.noprint {display: none;}
 * 1) article .texhtml,
 * 2) article .IPA,
 * 3) article .IAST,
 * 4) article .altitalisch,
 * 5) article .gotisch,
 * 6) article .hebrew,
 * 7) article .spanAr,
 * 8) article .music,
 * 9) article .polytonic { font: inherit !important; text-indent: 0;}

{font: 16px/1.25 "Egyptienne", "Libertine", "Cambria", "Rockwell", "Georgia", serif;} pre {font: 95%/1.15 monospace !important; white-space: pre-wrap; background: #FFE; color: #236; margin: 1em;}
 * 1) topbar, #footer, #quickbar {font-size: small;}
 * 2) article,
 * 3) article p, #article blockquote,
 * 4) article li, #article dd,
 * 5) article table, #article td, #article th
 * 1) article table.infobox th {font-weight: bolder;}
 * 1) article pre,
 * 2) article blockquote {border-left: 0.25em solid; padding-left: 0.25em;}
 * 3) article pre {border-color: #68A;}
 * 4) article blockquote {border-color: #666;}

sup, sub {line-height: normal; font-size: 0.71em/*smaller, 1ex*/; position: static;} sub {vertical-align: sub;} sup {vertical-align: super;} .reference, .references sup {position: static;}

del {color: maroon;} ins {color: olive;}

code {color: #68A; background-color: #FFF; background-color: rgba(100%, 100%, 100%, 0.6);} var {color: #666; background-color: #FFF; background-color: rgba(100%, 100%, 100%, 0.6);} dt>code:only-child {font-weight: normal; line-height: 1.7em;}


 * link:hover, :visited:hover             {color: navy; text-decoration: underline}

textarea:focus, input[text]:focus {border-color: navy}

/* Don't show quickbar on edit pages. */    body[onload]    #quickbar {display: none !important} html body[onload=""] #quickbar {display: block !important} body {margin-left: 9em;}


 * 1) quickbar {background-color: rgba(100%,100%,100%,0.7)}
 * 2) quickbar a {margin: 0.8ex 0; display: block;}
 * 3) quickbar br {display: none;}

/* Better print-outs */ .printfooter, #editpage-copywarn, #editpage-copywarn2 {display: none} @media print { #quickbar, #topbar, #footer {display: none !important} #article, #article p, #article blockquote, #article li, #article dd, #article table, #article td, #article th   {font: 4mm/1.25 "Stix", "STIXGeneral", "Stix General", "Egyptienne", "Egyptienne F LT Std", "Cambria", "Rockwell", "Georgia", serif;} #article { /*   column-count: 2;*/ column-width: 50mm;/*= 12.5em*/ column-gap: 5mm;/*= 1.25em */ column-rule: 0 solid black; column-fill: balance; } #article>h1, #article>h2 {   break-before: column; break-inside: avoid-column; break-after: avoid-column; } #article>h3, #article>h4, #article>table {   column-span: all; } } @media projection, print { div#quickbar, div#topbar, div#footer, .subtitle { display: none !important; } h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } h1+h2, h2+h3, h3+h4, h4+h5, h5+h6, h1+table, h2+table, h3+table, h4+table, h5+table, h6+table { page-break-before: avoid; } ul, ol, dl { page-break-inside: avoid; } p, li, blockquote { page-break-inside: avoid; } form, input, textarea, [contenteditable], #editform {display: none;} textarea {font-size: 14px; min-height: 40em; max-width: 120em;} }

div.mw-changeslist-legend, div.mw-changeslist-legend.mw-collapsible { display: none; }

/* h6[content="Edit"] */ /* h6[content="This page"] */ /* h6[content="Context"] */ /* h6[content="My Pages"] */ /* h6[content="Special pages"] */
 * 1) quickbar a[href="/wiki/Main_Page"] {content: "Home"; display: none;}
 * 2) quickbar a[href="/wiki/Portal:Contents"] {}
 * 3) quickbar a[href="/wiki/Portal:Featured_content"] {content: "Featured"}
 * 4) quickbar a[href="/wiki/Portal:Current_events"] {content: "Current"}
 * 5) quickbar a[href="/wiki/Special:Random"] {content: "Random"}
 * 1) quickbar strong a {content: "Edit"}
 * 2) quickbar a[title="Wikipedia:Cheatsheet"] {content: "Help"; display: none;}
 * 3) quickbar a[title="Special:Movepage"] {content: "Rename"}
 * 1) quickbar a[title^="Talk:"] {content: "Discuss"}
 * 2) quickbar a[title^="Talk:"][href^="/w/"] {content: "Comment"}
 * 3) quickbar a[href$="printable=yes"] {content: "Print"}
 * 4) quickbar a[href$="action=watch"] {content: "Watch"}/* #mw-watch-link2 */
 * 5) quickbar a[href$="action=unwatch"] {content: "Unwatch"}
 * 1) quickbar a[href$="action=history"] {content: "History"}
 * 2) quickbar a[title^="Special:Whatlinkshere/"] {content: "Pointers"}
 * 3) quickbar a[title^="Special:Recentchangeslinked/"] {content: "Pointer changes"}
 * 1) quickbar a[title^="User:"] {content: "Profile"}
 * 2) quickbar a[title^="User talk:"] {content: "Talk"}
 * 3) quickbar a[title="Special:Watchlist"] {content: "List"}
 * 4) quickbar a[title^="Special:Contributions/"] {content: "Contribs"}
 * 5) quickbar a[title^="Special:Preferences"] {content: "Prefs"}
 * 6) quickbar a[title="Special:Userlogout"] {content: "Log out"; display: none}
 * 1) quickbar a[title="Special:Newpages"] {content: "New"; display: none}
 * 2) quickbar a[title="Special:Imagelist"] {content: "Files"; display: none}
 * 3) quickbar a[title="Special:Statistics"] {content: "Statistics"}
 * 4) quickbar a[title="Wikipedia:Contact us"] {content: "Contact"; display: none}
 * 5) quickbar a[title="Special:Upload"] {content: "Upload"}
 * 6) quickbar a[href="http://wikimediafoundation.org/fundraising"] {content: "Donate"; display: none}
 * 7) quickbar a[title="Special:Specialpages"] {content: "More …"}