MediaWiki:Fandomdesktop.css

/* Tweaking the UCX skin */

/* Fix for blurry text until we get an official fix */ /* (this includes the background rules below) */ .WikiaBarWrapper.hidden { z-index: 0; }

.main-container { /* Add a sleight (35% black) gradient matching the original banner to improve readability of the header text */ background-image: linear-gradient(to bottom, transparent 12.5%,                                                rgba(0,0,0,0.35) 50%,                                                 rgba(0,0,0,0.0) 100%), url(https://static.wikia.nocookie.net/eternitywiki/images/0/08/Site-background-dark); background-size: 100% 320px, cover; background-position-x: center; background-position-y: top; background-attachment: fixed; background-repeat: no-repeat; }

.fandom-community-header__background, .fandom-community-header__background.cover, .fandom-community-header__background:before { display: none; }

body.page-Official_Pillars_of_Eternity_Wiki .page-header__title { display: none; }

.page__main { /* Add alpha to the theme-page-background-color before exposing it to the page */ --theme-page-background-color: rgba(var(--theme-page-background-color--rgb), 0.9); }

.page-header, .page-content h2, .page-content .wikitable { --theme-page-background-color--secondary: rgb(29 25 16); --theme-border-color: #7E5900; }

.editOptions, .toc:not(.sticky-toc), .rcfilters-container, .page-content pre, .mw-changeslist { --theme-page-background-color--secondary: rgba(0,0,0,0.15); }

/* === Table of contents === */

div#toc, div.toc, .mw-warning { background-color: transparent; border: 1px solid #7E5900; border-radius: 0px; }
 * 1) filetoc,

.toc .toctitle h2 { font-family: inherit !important; }

/* === Headings === */

.page__main h1, .page__main h2, .page__main h3, .page__main h4, .page__main h5, .page__main h6 { color: var(--theme-page-dynamic-color-1); font-family: "EB Garamond" !important; }

/* Disable edit icon on low level headers */ .page-content h4 > .mw-editsection .wds-icon, .page-content h5 > .mw-editsection .wds-icon, .page-content h6 > .mw-editsection .wds-icon { display: none; }

.page__main h1 { border-bottom: 1px solid var(--theme-border-color); }

.page-content h2 { font-size: 1.5em; padding-bottom: 0px; margin-bottom: 12px; }

.page__main hr { background-color: #7E5900; color: #7E5900 }

/* === Paragraphs === */

.page-content p { margin: 0.5em 0; }

/* Portable infoboxes generate p tags before and after them, no matter what */ /* To counter this, zero the margins on the first immediate p, and the p after an infobox */ .page-content .mw-parser-output > p:first-child, .portable-infobox + p, .infoboxtable + p, .infobox + p { margin-top: 0; margin-bottom: 0; }

.page-content dl { margin: 0.5em 0; }

/* reference highlight  */

ol.references li:target, sup.reference:target { background-color: #7e59009c; border-radius: 5px; border: 1px dashed #f2c462; }

/* image and galleries  */

li.gallerybox { border: 1px solid #404040; border-radius: 0px; background-color: rgba(150, 90, 15, .1); }

li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0.5); border: medium none; }

div.thumb { background-color: rgba(255, 255, 255, .1); -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1); -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1); -goog-ms-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1); box-shadow: 1px 1px 5px rgba(0, 0, 0, .1); border-radius: 0px; }

div.thumbinner { background-color: transparent; border: 1px solid #7E5900; border-radius: 0px; overflow: hidden; }

html .thumbimage { background-color: rgba(244, 236, 221, 0.1); border: 0px solid #7E5900; border-radius: 0px; }

img.thumbborder { border: 0px solid #7E5900; }

/* === Code tags == */ .mw-code, code { color: #c0c0c0; border: 1px solid #7E5900; padding: 1px 4px; }

/* ======= Abuse filter history colour fix ============== */

.mw-abusefilter-history-changed { background: none repeat scroll 0 0 transparent; font-weight: bold; }

.mw-abusefilter-diff-context, .mw-abusefilter-diff-multiline .diff-context { background: none repeat scroll 0 0 transparent; }

.mw-abusefilter-diff-removed, .mw-abusefilter-diff-multiline .diff-deletedline { background: none repeat scroll 0 0 #FFFFAA; color: black; }

.mw-abusefilter-diff-added, .mw-abusefilter-diff-multiline .diff-addedline { background: none repeat scroll 0 0 #CCFFCC; color: black; }

/* === Table Styles === */

.table-scrollable, .article-table-wrapper { background: none; }

/* Tighten table cell padding over the default */ .article-table tr td, .article-table tr th, .wikitable tr td, .wikitable tr th { padding: 0.2em 0.4em; }

/* Fix for border being removed from the first cell following a rowspan */ .wikitable { border-left: none; }

.article-table tr td:first-child, .article-table tr th:first-child, .wikitable tr td:first-child, .wikitable tr th:first-child { border-left: 1px solid var(--theme-border-color); }

/* table.wikitable, table.cargoTable, table.mw_metadata, table.mw_metadata td, table.mw-abuselog-details { border: 1px solid #7E5900; color: #ffffff; border-spacing: 0; padding: 0; background: transparent; }

.article-table tr td, .article-table tr th, .wikitable tr td, .wikitable tr th { border-bottom: none; border-left: 1px solid #7E5900; border-right: none; border-top: 1px solid #7E5900; padding: 12px; text-align: left; }

.wikitable tr th { background-color: rgba(114,70,8,.1); }

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-color: #7E5900; }

/* Cargo replacement and warning box for table recreation */

div.cargoReplacementTableInfo { background: transparent; border: 1px solid #7E5900; border-radius: 0px; }

.warningbox { color: #ffffff; background-color: #404040; border: 1px solid #7E5900; border-radius: 0px; }

/* Hatnotes and disambiguation notices */

.hatnote { font-style: italic; }

.hatnote i { font-style: normal; }

div.hatnote { /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; }

div.hatnote+div.hatnote { margin-top: -0.5em; }

/* the arrow before category name from category namespace*/

.CategoryTreeEmptyBullet { color: grey; }

.CategoryTreeToggle { color: #ffffff; }

.tooltip { border-bottom: 1px dotted; cursor: help; }

.infoboxdescription1 .tooltip { border-bottom: none; }

.infoboxdescription1 .tooltip img { display: unset; }

/* === Old infobox - temporary fix === */ .infoboxtable { border-collapse: separate; border-spacing: 2px; font-family: sans-serif; }

/* === Cargo drilldown === */

.drilldown-values-toggle img { filter: invert(100%); }

.drilldown-tabs a, .drilldown-tabs a:active { color: var(--theme-link-color); }

div.drilldown-filters-wrapper, .drilldown-tabs li.selected a, .drilldown-tabs li { background: none; border-color: var(--theme-border-color); color: inherit; }

.drilldown-tabs li.selected a { background-color: black; color: inherit; border: 1px solid #f2c462; border-radius: 6px; }

div#drilldown-format-tabs-wrapper, border-bottom: 0px solid #c8ccd1; margin-bottom: 1em }
 * 1) drilldown-tables-tabs-wrapper {

/* === Cargo query === */

table.cargoTable { border: 1px solid var(--theme-border-color); background-color: var(--theme-page-background-color); }

table.cargoTable td { border: none; }

table.cargoTable th { background: var(--theme-page-background-color--secondary); }

table.cargoTable > tbody > tr:nth-child(2n+1), table.cargoTable td.odd, table.cargoTable.noMerge tr:nth-child(odd) { background: transparent; }

table.cargoTable tr:nth-child(even), table.cargoTable td.even, table.cargoTable.noMerge tr:nth-child(even) { background: var(--theme-page-background-color--secondary); }

/* === Link autocomplete dropdown (and others) === */

.ui-widget-content { background-color: #222; color: #e0e0e0; }

.ui-menu-item:hover { background: none; }

.ui-widget-content { background: none; background-color: var(--theme-page-background-color); }

.ui-widget-content, ul.ui-autocomplete li a { color: #e0e0e0; }

ul.ui-menu { overflow-x: hidden; }

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid var(--theme-border-color); background: none; background-color: var(--theme-page-background-color); color: var(--theme-link-color); transition: color .3s; }

ul.ui-autocomplete li a:hover { text-decoration: none; }

/* === Diff viewer == */

.diff-deletedline .diffchange, .diff-addedline .diffchange { color: black; }

/* === Source editor === */

.wikiEditor-ui .wikiEditor-ui-toolbar { padding: 7px }

.wikiEditor-ui .wikiEditor-ui-toolbar .page-characters div span:hover { border: 1px solid var(--theme-link-color); }

/* === HTML form inputs === */

input, textarea, select, button { background-color: var(--theme-page-background-color); border: 1px solid var(--theme-border-color); color: var(--theme-page-text-color); }

/* === Misc. MediaWiki stuff === */

.mw-notification { background-color: var(--theme-page-background-color); border-color: var(--theme-border-color); border-radius: 5px; color: var(--theme-page-text-color); }

.mw-highlight { background: none; }

div.mw-warning-with-logexcerpt { border-radius: 0px; }

.oo-ui-messageDialog-text { color: var(--theme-page-text-color); }

.oo-ui-popupWidget-popup { /* padding: 0; */ }

.mw-destfile-warning { border: 1px solid #7E5900; padding: 0.5em 1em; margin-bottom: 1em; color: #f0f0f0; border-radius: 0px; background-color: rgba(244, 236, 221, 0.1); }

h1.mcf-header { color: var(--theme-page-text-color); }

h2 > .mw-editsection .wds-icon { transform: translateY(-3px); }

/* === Light theme overrides === */

.theme-fandomdesktop-light .page-header, .theme-fandomdesktop-light .page-content h2, .theme-fandomdesktop-light .page-content .wikitable { --theme-page-background-color--secondary: white; --theme-border-color: inherit; }

.theme-fandomdesktop-light .ambox { background-color: var(--theme-page-background-color); }

.theme-fandomdesktop-light .mw-code, .theme-fandomdesktop-light code { color: initial; background-color:white; border-color: var(--theme-border-color); }

/* Portable infobox reskin */

.theme-fandomdesktop-light .pi-theme-eternity { --theme-link-color: inherit; }

.theme-fandomdesktop-light .pi-theme-eternity.pi-background { background-color: white; border-color: var(--theme-border-color); }

.theme-fandomdesktop-light .pi-theme-eternity .pi-border-color { border-color: inherit; }

.theme-fandomdesktop-light .pi-theme-eternity .pi-title, .theme-fandomdesktop-light .pi-theme-eternity .pi-header { background-image: none; }

.theme-fandomdesktop-light .pi-theme-eternity .pi-data-value ol, .theme-fandomdesktop-light .pi-theme-eternity .pi-data-value ul { list-style-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%23000000%22%2F%3E%0A%3C%2Fsvg%3E%0A"); }

/* Navbox reskin */

.theme-fandomdesktop-light .navbox-abovebelow, .theme-fandomdesktop-light th.navbox-group, .theme-fandomdesktop-light .navbox-subgroup .navbox-title { background-color: var(--theme-body-background-color); color: white; }

.theme-fandomdesktop-light .navbox-abovebelow a, .theme-fandomdesktop-light th.navbox-group a, .theme-fandomdesktop-light .navbox-subgroup .navbox-title a { color: white; }

.theme-fandomdesktop-light .navbox-subgroup .navbox-group, .theme-fandomdesktop-light .navbox-subgroup .navbox-abovebelow { background-color: white; }

.theme-fandomdesktop-light .navbox-subgroup .navbox-group a, .theme-fandomdesktop-light .navbox-subgroup .navbox-abovebelow a { color: var(--theme-link-color); }