MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*********************************************************************************************************** * import loadout ***********************************************************************************************************/ @import url(https://commons.wiki.gg/wiki/MediaWiki:wdl.css?action=raw&ctype=text/css); /*********************************************************************************************************** * local theme setting ***********************************************************************************************************/ :root { --wiki-logo-width--px: calc(880/2); --wiki-logo-height--px: calc(318/2); --wiki-logo-image: url(https://enterthegungeon.wiki.gg/images/e/e6/Site-logo.png); --wiki-body-background-image: url(https://enterthegungeon.wiki.gg/images/8/80/Site-background.jpg); --wiki-body-background-color: #111d64; --wiki-content-link-color: #015d60; --wiki-content-link-color--rgb: 1,93,96; --wiki-content-link-color--hover: #022627; --wiki-content-link-color--hover--rgb: 2,38,39; --wiki-content-redlink-color: #bf0017; --wiki-content-redlink-color--rgb: 191,0,23; --wiki-content-text-color: #000; --wiki-content-text-color--rgb: 0, 0, 0; --wiki-content-text-color--accent: #0c742f; --wiki-content-border-color: #cecece; --wiki-content-border-color--rgb: 206, 206, 206; --wiki-content-border-color--secondary: #cecece; --wiki-content-border-color--secondary--rgb: 206, 206, 206; --wiki-content-border-color--accent: #ef489b; --wiki-content-border-color--accent--rgb: 239, 72, 155; --wiki-box-border-color: #511e00; --wiki-box-border-color--rgb: 81, 30, 0; --wiki-accent-color: #db007c; --wiki-accent-color--rgb: 219, 0, 124; --wiki-accent-color--hover: #e0007f; --wiki-accent-color--hover--rgb: 224, 0, 127; --wiki-highlight-background: rgba(var(--wiki-content-border-color--accent--rgb), 0.25); --wiki-box-background-opacity--fore: 0.75; --wiki-dropdown-border-width: 1px; --wiki-dropdown-backdrop-filter: blur(5px); --wiki-dropdown-background: rgba(var(--wiki-content-background-color--rgb), 0.95); --layout-sidespace: 12px; --wiki-icon-to-link-filter: invert(22%) sepia(90%) saturate(1319%) hue-rotate(154deg) brightness(89%) contrast(99%); } @media screen and (max-width: 900px) { :root { --layout-logo-scale: 0.75; } } @media screen and (max-width: 600px) { :root { --layout-logo-scale: 0.5; } } .theme-dark { --wiki-content-link-color: #ffdb0c; --wiki-content-link-color--rgb: 255, 219, 12; --wiki-content-link-color--hover: #ffea72; --wiki-content-link-color--hover--rgb: 255,234,114; --wiki-content-redlink-color: #ff5266; --wiki-content-redlink-color--rgb: 255,82,102; --wiki-content-text-color: #e6e6e6; --wiki-content-text-color--rgb: 230, 230, 230; --wiki-content-text-color--accent: #00f600; --wiki-content-border-color: #525252; --wiki-content-border-color--rgb: 82, 82, 82; --wiki-content-border-color--secondary: #525252; --wiki-content-border-color--secondary--rgb: 82, 82, 82; --wiki-box-border-color: #666666; --wiki-box-border-color--rgb: 102, 102, 102; --wiki-accent-color: #ff465c; --wiki-accent-color--rgb: 255, 70, 92; --wiki-accent-color--hover: #ff3d54; --wiki-accent-color--hover--rgb: 255, 61, 84; --wiki-highlight-background: rgba(var(--wiki-content-border-color--accent--rgb), 0.5); --wiki-box-background-opacity--back: 0.75; --wiki-dropdown-background: rgba(var(--wiki-content-background-color--rgb), 0.9); --wiki-icon-to-link-filter: invert(77%) sepia(96%) saturate(2129%) hue-rotate(343deg) brightness(105%) contrast(111%); } /*********************************************************************************************************** * local layout setting ***********************************************************************************************************/ /* min-width: calc($layout-sidebar-width + $layout-content-max-width + $layout-sidespace * 2 + $layout-box-gap-x * 3) $layout-content-max-width: 1600px; $layout-sidebar-width: 180px; $layout-sidespace: 30px; $layout-box-gap-x: 12px; */ @media screen and (min-width: 1876px) { :root { --layout-sidespace: minmax(0,1fr); /* whitespace width on most left and most right */ --layout-content-width: 1500px; } } /*********************************************************************************************************** * other local css ***********************************************************************************************************/ /* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; } .cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; } .cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; } .feature { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 5px; padding: 10px; } /* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; } .doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; } .doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; } /* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft { text-align: left; } .desktopcenter { text-align: center; } .desktopright { text-align: right; } /* Front page structure */ .fpbox { margin: 5px; padding: 5px; overflow: auto; width: calc(100% - 2px); } .fpbox.plain { background: transparent; border: none; box-shadow: none; } .fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; } .fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; } .fpbox .heading { text-align: center; font-size: 132%; } .linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; } /* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; } .fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; } .fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); } .fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; } .fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; } .fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; } .fplink-inner { display: table-row; } .fplink a { display: table-cell; vertical-align: middle; } .fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100% !important; max-width: 480px; margin: 0 auto; } .fpbox .embedvideowrap iframe { width: 100% !important; } /* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; } @media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; } .fp-container .columns .rightcol { float: right; width: 50%; } } .fp-section { display: flex; flex-wrap: wrap; } /* this CSS governs the responsive 2 column main page layout */ #fp-2column.fp-container { display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 100%; } @media screen and (min-width: 990px) { #fp-2column.fp-container { grid-template-areas: "a b" "c c"; grid-template-columns: 50% 50%; } } @media screen and (min-width: 1350px) { #fp-2column.fp-container { grid-template-areas: "a b" "c b"; grid-template-columns: auto 520px; } } #fp-top { grid-area: a; } #fp-flex { grid-area: b; } #fp-bottom { grid-area: c; } /* end responsive 2 column main page layout */ /* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid transparent; } .fpbox { background: transparent; border: 1px solid transparent; box-shadow: 0 2px 5px transparent; } .fplink:not(.fplink-plain) { background: rgba(0, 0, 0, 0.3); border: 1px solid #505050; } .fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(0, 0, 0, 0.4); } .linkslabel { border-bottom: 2px solid #505050; } /* ******************** */ /* End main page layout */ /* ******************** */ /* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0); border: 1px solid var(--wiki-accent-color); float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; } .pi-group[data-item-name="etgimg"] .pi-horizontal-group-item { vertical-align: bottom; } .infoboxtable td { vertical-align: top; padding: 5px; } .infoboxtable td > div { background-color: rgba(127, 127, 127, 0.2); border: 2px solid inherit; border-radius: 5px; font-weight: bold; text-align: right; } .infoboxname { background-color: var(--wiki-accent-color); color: var(--wiki-accent-label-color); font-size: 110%; font-weight: bold; padding: 0.5em; } .infoboxdetails { background-color: var(--wiki-accent-color); color: var(--wiki-accent-label-color); padding: 0em; } img { image-rendering: optimizeSpeed; /* Legal fallback */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: -o-crisp-edges; /* Opera */ image-rendering: -webkit-optimize-contrast; /* Safari */ image-rendering: optimize-contrast; /* CSS3 Proposed */ -ms-interpolation-mode: nearest-neighbor; /* IE8+ */ image-rendering: pixelated; /* Chrome */ } .ambox { background-color: #282828; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; } .ambox-gray { border-left-color: #383838; } .ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; } .ambox + .ambox { margin-top: -2px; } .ambox-text { padding: 0.25em 0.5em; } .ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; } .ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; } /* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; } .ambox-red { border-left: 10px solid #b22222; } .ambox-orange { border-left: 10px solid #f28500; } .ambox-yellow { border-left: 10px solid #f4c430; } .ambox-purple { border-left: 10px solid #9932cc; } .ambox-gray { border-left: 10px solid #bba; } .ambox-green { border-left: 10px solid #228b22; } /* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; } /* Navbox template style */ table.navbox { border: 1px solid #505050; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; } /* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; } .navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; } .navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; } /* Base background */ .navbox, .navbox-subgroup { background: rgba(0, 0, 0, 0.1); } .navbox-list { border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ } /* Level 1 color */ .navbox-title, table.navbox th { background: rgba(0, 0, 0, 0.2); color: #fff; } /* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(0, 0, 0, 0.2); color: #fff; } /* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #fff; } /* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #fff; } /* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; } .navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; } .navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */ /* Spoiler hover text */ .spoiler, .spoiler a:link, .spoiler a:visited, .spoiler a:active { color: #000000; background-color: #000000; border-bottom: 1px dotted #fff; } .spoiler:hover { color: #ffffff; background-color: #000000; } .spoiler a:hover { color: #ffce0c; background-color: #000000; text-decoration: none; } .header { background-color: var(--wiki-accent-color); border: 1px solid var(--wiki-accent-color); text-align: center; color: #000; font-size: 110%; padding: 3px; } :root { --pi-background: none; --pi-secondary-background: var(--wiki-accent-color); --pi-secondary-background--label: var(--wiki-accent-label-color); --pi-border-color: var(--wiki-accent-color); --pi-item-spacing: 8px 10px; } .portable-infobox { border: 1px solid var(--pi-border-color); padding: 4px; } .portable-infobox .pi-data { border-top-style: solid; border-top-width: 1px; border-bottom: 0; } .portable-infobox .pi-image + .pi-data, .portable-infobox .pi-image-collection + .pi-data, .portable-infobox .pi-secondary-background + .pi-data, .portable-infobox > .pi-data:first-child, .portable-infobox .pi-secondary-background + * > .pi-data:first-child { border-top: 0; } .portable-infobox .pi-image { padding: 0; } .pi-caption { color: var(--wiki-content-text-color--secondary); } .portable-infobox code { border: 0; background: unset; } .portable-infobox .pi-secondary-background, .portable-infobox .pi-title { background: var(--pi-secondary-background); color: var(--pi-secondary-background--label); } .portable-infobox h2.pi-title { font-size: 1.75em; font-weight: unset; } .portable-infobox .pi-header { font-size: 1.2em; } .portable-infobox .pi-data { background: var(--pi-background); } #toc, .toc, .toccolours, .mw-warning { background: none; box-shadow: unset; } /* .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { filter: invert(100%) }*/ .compact-headers { border-top:none; background-color: transparent; } .compact-headers .rotated-text { transform: translate(0px,20px) rotate(315deg); will-change: transform; width:30px; } .compact-headers tr:not(.sort-arrows) th { white-space: nowrap; border-left:none; border-right:none; border-top:none; height:100px; padding:0; padding-left:5px; background-color: transparent; } .portable-infobox.pi-type-smallinfobox { width: 170px; max-width: 170px; float: left; margin-right: 1em; margin-left: 0; } /*****************/ /* DRUID styles */ /***************/ .druid-container { border: 1px solid #ff465c; border-radius: 0px; background: transparent; width: 100%; max-width: 300px; } .druid-infobox .druid-title, .druid-infobox .druid-section { background: #ff465c; margin: 4px; } .druid-infobox .druid-title { font-size: 1rem; } .druid-infobox .druid-section { font-size: .85rem; font-weight: bold; } .druid-tabs { font-size: .80rem; } .druid-tab.focused { font-weight: bold; } .druid-main-images { padding: 0 5px 5px 5px; } .druid-main-images-labels { margin: 0px; gap: 0; } .druid-main-images-files { padding-top: 5px; } /* center tabs */ .druid-main-images-labels { justify-content: center; } .druid-main-images-label { flex: 0 1 auto; padding-inline: 1rem; } div.druid-row > .druid-label { text-align: left; background: transparent; padding-inline: .75em; } .druid-data-wide, .druid-row > .druid-label, .druid-row > .druid-data { font-size: 0.75rem; } /* linebreak in data with <br> */ .druid-data br { display: block; margin: 0.25em 0; } /**************************************************** Styling for the [[Template:BossAttacks]] Tabber *****************************************************/ .BossAttacks-Tabber .tabber__header { background: var(--wiki-accent-color); } .BossAttacks-Tabber .tabber__tab { color: black; border: 1px solid var(--wiki-content-link-color); margin: 0.2em 0.2em 0.4em 0.2em; padding-block: unset; } .BossAttacks-Tabber .tabber__indicator { display:none; } .BossAttacks-Tabber .tabber__tab:hover, .BossAttacks-Tabber .tabber__tab:hover:visited, .BossAttacks-Tabber .tabber__tab[aria-selected="true"], .BossAttacks-Tabber .tabber__tab[aria-selected="true"]:visited { background: var(--wiki-content-link-color); color: black !important; } .BossAttacks-Tabber .BossAttacks-description-outer { display: flex; border:1.5px solid #fe4561; } .BossAttacks-Tabber .BossAttacks-description-inner { padding: 0.2em 0.5em; } .BossAttacks-description-with-image { width:70%; } .BossAttacks-image { width:30%; display: flex; justify-content: center; align-items: center; border-left: 1.5px solid var(--wiki-content-text-color); } .BossAttacks-Tabber .BossAttacks-description-title { font-size: 125%; /*! padding-top: 1.5em; */ } .BossAttacks-Tabber .BossAttacks-description-text { margin-left:0.5em; } body { background: url("https://ultros-wiki.mahss.io/static_images/background.png"); } .infoboxtable { background-color: rgba(0, 0, 0, 0); border: 1px solid #db007c; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }