MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/ @import url('/MediaWiki:Mainpage.css?action=raw&ctype=text/css'); @import url('/MediaWiki:Instant_Expert.css?action=raw&ctype=text/css');

.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 !important;}

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect, .watchlistredir { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" }

/* Image frame fix */ div.tright, div.tleft { border: 1px solid silver; }

div.thumbinner { background: inherit; border: none; color: inherit; }  color:inherit; }
 * 1) article div.thumb {

/* For the Nowrap and Flatlist templates: From http://en.wikipedia.org/wiki/MediaWiki:Common.css Styles to prevent line breaks in links with spaces, and in other places where we don't want line wrapping */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; }

/******************************************/ /*         Tables                        */ /******************************************/ .wikitable tr th, .wikitable tr td { padding: 5px 10px; }

/******************************************/ /*         Portable infoboxes            */ /******************************************/ .portable-infobox { --pi-secondary-background: rgba(var(--theme-accent-color--rgb), .75); /* Background of label group headers. Old: #5f4621 */

box-shadow: 0 0 10px var(--theme-accent-color); /*old:  #725427; */ margin-right: 10px; /* so that the shadow is also visible on the right side */ } /* Use backgound image only in dark themes */ body:not(.theme-fandomdesktop-light) .portable-infobox { background-image: url(https://vignette.wikia.nocookie.net/deusex/images/f/f4/DX_triangles_infobox.png/revision/latest?cb=20151127002735&path-prefix=en); }

.portable-infobox .pi-title, .portable-infobox .pi-secondary-font { font-family: DeusEx3_Hud, Rubik, Helvetica, Arial, sans-serif; }

.portable-infobox .pi-title { font-size: 22px; text-shadow: 1px 1px black; } body:not(.theme-fandomdesktop-light) .portable-infobox .pi-title { background-image: url(https://vignette.wikia.nocookie.net/deusex/images/9/90/Triangle_tile_infobox_title.png/revision/latest?cb=20151127002736&path-prefix=en); color: var(--theme-accent-color--hover); /* old: #bc8a3f; */ }

/* Set the backgound for transparent images only in dark themes */ body:not(.theme-fandomdesktop-light) .portable-infobox .pi-image { background: #977035; box-shadow: inset 0 0 70px 40px #251c0e; } /* TODO: replace hard-coded colors with the closest CSS variables */

/* Captions of the infobox images */ .portable-infobox .pi-caption { font-size: 12px; text-align: center; }

/* Data labels */ .portable-infobox .pi-secondary-font { font-size: 12.5px; text-align: left; }

.portable-infobox .pi-item-spacing { padding-top: 5px; padding-bottom: 5px; }

/******************************************/ /*               Navboxes                */ /******************************************/ /* NB: Template:Navbox also has inline styles. Ideally they should be extracted and moved here. */

table.navbox { border: 1px solid var(--theme-page-background-color--secondary); width: 100%; margin: auto; margin-top: 5px; clear: both; font-size: 90%; text-align: left; padding: 1px; }

table.navbox table {       /* Inner table (the actual navbox) */ width: 100%; }

table.navbox + table.navbox { margin-top: -1px;       /* single pixel border between adjacent navboxes */ }

.navbox, .navbox-subgroup { background: rgba(var(--theme-border-color--rgb),.1); }

/* Use backgound image only in dark themes */ body:not(.theme-fandomdesktop-light) .navbox-title, body:not(.theme-fandomdesktop-light) .navbox-group { background-image: url("https://vignette.wikia.nocookie.net/deusex/images/5/52/DX_black_triangles.png/revision/latest?cb=20150507114531&path-prefix=en"); }

.navbox-title { font-size: 110%; text-align: center; padding-left: 1em; padding-right: 1em; border: 2px solid var(--theme-border-color); }

.navbox-group { font-weight: bold; padding-left: 10px; padding-right: 10px; padding-bottom: 5px; border-left: 1px solid var(--theme-accent-color); border-bottom: 1px solid var(--theme-accent-color); }

.navbox-group a { white-space: normal; }

.navbox-list { padding: 5px; border: 1px solid var(--theme-accent-color); border-top: none; }

.navbox-subgroup .navbox-group { border-left: 0; }

.navbox-subgroup .navbox-list { background: transparent !important; border-right: 0; }

@media print { .navbox { display: none; } }

/* Style for horizontal lists (separator following item). IE8-specific classes are assigned in MediaWiki:Common.js. @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 9 (2016-08-10) @author User:Edokter */ /* When updating, also check skin-specific overrides in MediaWiki:Wikia.css and MediaWiki:Fandomdesktop.css */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { /*margin: 0;*/ display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li, .hlist .mw-empty-elt { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } .hlist dd:after, .hlist li:after { content: " · "; /*font-weight: bold; - Moved to Wikia.css */ } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " (";   font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {    content: ") "; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; white-space: nowrap; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; }

/* For Template:Nowrap */ .nowrap { white-space: nowrap; }

/******************************************/ /* For Template:Mission briefing DXMD */ /******************************************/ .md-mission { border: 1px solid black; background-image: url(https://vignette.wikia.nocookie.net/deusex/images/f/f4/DX_triangles_infobox.png/revision/latest?cb=20151127002735&path-prefix=en); padding: 12px; width: min-content; margin: auto; }

.md-mission-title { color: var(--theme-link-color);  /* old value: #d8ba5a; */ font-size: 160%; font-family: Maetl, Rubik, Helvetica, Arial, sans-serif; text-shadow: 2px 0 10px var(--theme-accent-color--hover);  /* old value: #a58827 */ padding: 10px 0; }

.md-mission p { text-align: justify; font-style: italic; margin-bottom: 10px; }

.md-mission p:last-child { margin-bottom: 0; }

/******************************************/ /* For Template:File_information         */ /******************************************/ table.fileinformation { background-color: var(--theme-page-background-color) !important; font-size: smaller; } table.fileinformation th { background-color: var(--theme-body-background-color); text-align: left !important;  /* Fix for Oasis to override the default wikitable th alignment */ }

/******************************************/ /* For Template:SpoilersBegin            */ /******************************************/ /* The background and border colors should ideally (but not necessarily) be the same as in `table.wikitable` */ .plotsummary span.mw-collapsible-toggle { display: block; float: none; /* background-color: rgba(var(--theme-body-background-color--rgb), .3); */ /* Oasis skin doesn't have this variable, so it's easier to hard-code the value */ background-color: #111111; border: black 1px solid; margin: 1em 1px; padding-top: 4px; padding-bottom: 4px; font-size: 115%; text-align: center; } .plotsummary span.mw-collapsible-toggle:focus { outline: var(--theme-border-color) dashed 1px; } .plotsummary span.mw-collapsible-toggle a { color: inherit; }

/***************************************/ /* UCP & FandomDesktop dark mode fixes */ /***************************************/

/* Fix the hideous blue color in the CSS viewer */ .mw-highlight .nc, .mw-highlight .nn, .mw-highlight .nf { color: inherit !important; }

/* AbuseFilter table color fixes */ table.mw-abuselog-details, table.mw-abuselog-details th { background-color: inherit; }