MediaWiki:Common.css
From Starsonata Wiki
Revision as of 02:05, 6 August 2023 by Claire (talk | contribs) (Added quality column to ships table)
Note: After saving, 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)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Horizontal Mods Column Tables */ .wikitable.horzmods { table-layout: fixed; } .wikitable.horzmods thead tr, .wikitable.horzmods tbody tr { width: 100%; min-width: 100%; display: flex; justify-content: space-between; } .wikitable.horzmods tbody tr { height: 16em; } .wikitable.horzmods th:first-child, .wikitable.horzmods td:first-child { width: 15% !important; overflow:hidden !important; } .wikitable.horzmods td:first-child img { width:100% !important; height:auto !important; } .wikitable.horzmods th:nth-child(2), .wikitable.horzmods td:nth-child(2) { width: 15% !important; } .wikitable.horzmods th:nth-child(4), .wikitable.horzmods th:nth-child(5), .wikitable.horzmods th:nth-child(7), .wikitable.horzmods th:nth-child(9), .wikitable.horzmods th:nth-child(19), .wikitable.horzmods th:nth-child(20), .wikitable.horzmods td:nth-child(4), .wikitable.horzmods td:nth-child(5), .wikitable.horzmods td:nth-child(7), .wikitable.horzmods td:nth-child(9), .wikitable.horzmods td:nth-child(19), .wikitable.horzmods td:nth-child(20) { width: 8% !important; } .wikitable.horzmods td, .wikitable.horzmods th { border: 1px #aaa solid; border-collapse: collapse; padding-left: 0 !important; padding-right: 0 !important; padding-top: 0.2em !important; padding-bottom: 0.2em !important; overflow:auto!important; } .wikitable.horzmods th:not(last-child), .wikitable.horzmods td:not(last-child) { padding-left: 0.2em !important; padding-right: 0.2em !important; border: 1px #aaa solid !important; width: 4%; display: flex !important; flex-flow: column nowrap; justify-content: center; align-content: center; align-items: stretch; } .wikitable.horzmods td:not(last-child) { min-height: 8.25em !important; max-height: 8.25em !important; height: 8.25em !important; } .wikitable.horzmods th:last-child, .wikitable.horzmods td:last-child { min-width: 99.4% !important; display: block !important; padding-left: 0.2em !important; padding-right: 0.2em !important; position: absolute; left: 0; right: 0; margin-top: 0em !important; padding-top: 0.25em !important; overflow-y: scroll !important; background: rgba(0,0,0,0); padding-bottom: 0em !important; min-height: 0.1em !important; max-height: 0.1em !important; float: left; text-align: center; width: 99.4%; opacity:0; word-wrap: normal; word-break: normal; } .wikitable.horzmods td:last-child { background: rgba(0,0,0,0.5); min-height: 7em !important; max-height: 7em !important; width: 99.4%; opacity:1; margin-top: 8.7em !important; } /* Wiki Table Sorting Header with Link Fix */ th a { text-decoration: none; -webkit-background-clip: text; -moz-background-clip: text; background-clip: text; } body { display: grid; grid-template-rows: auto auto 1fr; } #mw-page-base { grid-row: 1; grid-column: 1/3; } #mw-head-base { grid-row: 1; grid-column: 1/3; } #content { grid-row: 2; grid-column: 1/3; min-width: 0; width: auto; display: block; } .mw-body#content { margin-left: 10.25em; } #mw-navigation { grid-row: 1/4; grid-column: 1; } :not(.page-Main_Page) #mw-navigation #mw-panel { padding-left:0; position: sticky; top: 3.5em; } .page-Main_Page #mw-navigation #mw-panel { padding-left:0; position: fixed; top: 3.5em; } #footer { grid-row: 3; grid-column: 1/3; } .wikitable span { scroll-margin-top: 4em; } #toc, .toc { margin-top: 30px; background-color: rgb(0 0 0 / 20%); } .systembox table { float:right; width:200px; } .centered { text-align: center; border-style: none; } /* Damage types */ .physical { color: #3498DB; } .surgical { color: turquoise; } .radiation { color: lightgrey; } .mining { color: lightgreen; } .transference { color: blue; } .heat { color: orange; } .beam { color: magenta; } .true { color: #F0F05B; } .energy { color: #8E44AD; } .strength { color: rgb(1,219,1); } .weakness { color: rgb(219,1,1); } .bg_physical { background-color: rgba(5,6,201,0.5); } .bg_surgical { background-color: rgba(57,179,122,0.5); } .bg_radiation { background-color: rgba(174,172,174,0.5); } .bg_mining { background-color: rgba(37,204,5,0.5); } .bg_transference { background-color: rgba(96,124,174,0.5); } .bg_heat { background-color: rgba(206,66,5,0.5); } .bg_laser { background-color: rgba(206,49,70,0.5); } .bg_energy { background-color: rgba(113,63,118,0.5); } .bg_weakness { background-color: rgba(219,1,1,0.5); } /******************************************************************************/ /* Item qualities */ .junk { color: #555555; } .common { color: #ffffff; } .uncommon { color: #40BF00; } .rare { color: #0080FF; } .exotic { color: #FF8000; } .artifact { color: #8000BF; } .exalted { color: #FF6767; } .legendary { color: #00FFFF; } h1, h2, h3, h4, h5, h6 { /* overflow:auto;*/ } h1 { line-height:normal; } h2 { padding:0.1em; line-height:normal; } .toc { min-height:25px; height:auto; max-height: 400px; width: 300px; display: block; position:relative; overflow-y:auto; overflow-x:hidden; padding:0px 5px!important; -webkit-transition: box-shadow 0.3s ease; -moz-transition: box-shadow 0.3s ease; -ms-transition: box-shadow 0.3s ease; -o-transition: box-shadow 0.3s ease; transition: box-shadow 0.3s ease; -webkit-transition:height 0.3s ease-in-out; -moz-transition:height 0.3s ease-in-out; -ms-transition:height 0.3s ease-in-out; -o-transition:height 0.3s ease-in-out; transition:height 0.3s ease-in-out; -webkit-transition:min-height 0.3s ease-in-out; -moz-transition:min-height 0.3s ease-in-out; -ms-transition:min-height 0.3s ease-in-out; -o-transition:min-height 0.3s ease-in-out; transition:min-height 0.3s ease-in-out; -webkit-transition:max-height 0.3s ease-in-out; -moz-transition:max-height 0.3s ease-in-out; -ms-transition:max-height 0.3s ease-in-out; -o-transition:max-height 0.3s ease-in-out; transition:max-height 0.3s ease-in-out; } .toc #toctitle { left:0px; width:100%; border-bottom:1px solid #fff; } .toc.tochidden { min-height:25px; height:25px; max-height:25px; border: 1px solid #ff4500; box-shadow: 0px 0px 3px 3px #ff4500; overflow-y:hidden; /* not needed, but makes chrome instantly hide the scrollbar */ -webkit-transition:height 0.3s ease-in-out; -moz-transition:height 0.3s ease-in-out; -ms-transition:height 0.3s ease-in-out; -o-transition:height 0.3s ease-in-out; transition:height 0.3s ease-in-out; -webkit-transition:min-height 0.3s ease-in-out; -moz-transition:min-height 0.3s ease-in-out; -ms-transition:min-height 0.3s ease-in-out; -o-transition:min-height 0.3s ease-in-out; transition:min-height 0.3s ease-in-out; -webkit-transition:max-height 0.3s ease-in-out; -moz-transition:max-height 0.3s ease-in-out; -ms-transition:max-height 0.3s ease-in-out; -o-transition:max-height 0.3s ease-in-out; transition:max-height 0.3s ease-in-out; } .toc > tbody > tr > td > ul { margin-top: 30px!important; opacity:1; visibility:visible; } .tochidden > tbody > tr > td > ul { margin-top: 0px; opacity:0; visibility:hidden; } .editsection, #p-captions ul li a { margin-left: 5px!important; color: #fff!important; background: rgba(0,0,0,0.6)!important; border-radius: 5px!important; padding: 2px!important; margin: 10px!important; top: -1px!important; left: -1px!important; position: relative!important; box-shadow: 1px 1px 1px 1px #000!important; } .editsection:hover, #p-captions ul li a:hover { color: #7af5ff99!important; top:0px!important; left:0px!important; -webkit-transition:all .3s!important; transition:all .3s!important; box-shadow: 0px 0px 3px 3px #7af5ff99!important; } #p-captions li.selected ul a { color: #7af5ff99!important; background-color:rgba(255,255,255,0.2)!important; top:0px!important; left:0px!important; box-shadow: 0px 0px 3px 3px #7af5ff99!important; } .editsection a { color:#fff; } .editsection a:hover { color:#7af5ff99; } table, .wrapper { font-size: 100%; border: 0px; border-radius: 5px; padding: 5px; margin: 5px; background: rgba(0,0,0,0.6); border-color: #7af5ff99; box-shadow: 0px 0px 3px 3px #7af5ff99; } #mainpage table { font-size: 100%; border: 0px; border-radius: 0px; padding: 0px; margin: 0px; background: rgba(0,0,0,0); border-color: #000; box-shadow: 0px 0px 0px 0px #000; } table.navbox { font-size: 100%; border: 0px; border-radius: 0px; padding: 0px; margin: 0px; background: rgba(0,0,0,0); border-color: none; box-shadow: 0px 0px 0px 0px #000; } table.navbox { float:left; width:80%!important; } #mainpage table.navbox { float:none; width:100%!important; } mw-content-ltr table tbody tr td b, mw-content-ltr table td.navbox-group, table td.navbox-list { color: #ffaf31!important; } body h2 { font-size: 2em; } .wikitable { max-width: 100%; table-layout: auto; background-color: black !important; } .wikitable th, .wikitable td { border: 1px #aaa solid; border-collapse: collapse; /* padding: 0px, 1px; */ /* padding: 0px, 0.2em; */ padding-left: 0 !important; padding-right: 0 !important; min-width: 2.5% !important; padding-top: 0.2em !important; padding-bottom: 0.2em !important; /*top: -1px; left: -1px; position: relative;*/ /*box-shadow:1px 1px 1px 1px #000;*/ overflow:auto!important; } .wikitable td:last-child { min-width: 10% !important; display: table-cell; min-height: 10em; max-height: 10em; padding-left: 0.2em !important; padding-right: 0.2em !important; } .wikitable th { position: sticky; top:-1px; background-color:black !important; background-clip: padding-box; } .wikitable th:hover, .wikitable td:hover { border: 1px #aaa solid; padding: 0px, 0.2em; /*top: 0px; left: 0px; position: relative;*/ /*-webkit-transition:all .3s; transition:all .3s!important; background: rgba(255,255,255,0.2); box-shadow: 0px 0px 3px 3px #ffaf31;*/ } .wikitable tr:hover { background: rgba(255,255,255,0.1); } /* Shipboxes */ .cloakbox table, .shipbox table { margin-right:20px!important; } .shipbox table td img { height:100%; width:auto; } .missionbox table { font-size: 100%; border: 0px; border-radius: 5px; padding: 5px; margin: 5px; background: rgba(0,0,0,0.6); border-color: #7af5ff99; box-shadow: 0px 0px 3px 3px #7af5ff99; float: none; width: 700px; } .missionbox .missionhover { height:100px; overflow:hidden; padding:20px; opacity:0.5; -webkit-box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); -webkit-transition: all .3s ease!important; -moz-transition: all .3s ease!important; -ms-transition: all .3s ease!important; -o-transition: all .3s ease!important; transition: all .3s ease!important; } .missionbox .missionhover:hover { height:300px; box-shadow:none; overflow-y:scroll; opacity:1; } .missionbox2 table { font-size: 100%; border: 0px; border-radius: 5px; padding: 5px; margin: 5px 5px 10px 10px; background: rgba(0,0,0,0.6); border-color: #7af5ff99; box-shadow: 0px 0px 3px 3px #7af5ff99; width: 45em; } .missionbox2 .missionhover { height:100px; overflow:hidden; padding:20px; opacity:0.5; -webkit-box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); -webkit-transition: all .3s ease!important; -moz-transition: all .3s ease!important; -ms-transition: all .3s ease!important; -o-transition: all .3s ease!important; transition: all .3s ease!important; } .missionbox2 .missionhover:hover { height:300px; box-shadow:none; overflow-y:scroll; opacity:1; } .teambox table { float:none; margin-left:auto; margin-right:auto; width:1000px; } .teambox .listing a { display:block; } .teambox .flag { float:right; } .teambox pre { border:none; color:#fff; background-color:transparent; line-height:normal; } .teambox h1, h2, h3 { padding:10px; margin-bottom:0px; border-bottom:none; } .expandable { max-height:50px; overflow:hidden; opacity:0.5; padding:5px; border:1px solid #7af5ff99; border-radius:5px; -webkit-box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); box-shadow:inset 0 1px 5px 1px rgba(155,155,155,1); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; } .expandable:hover { max-height:300px; overflow-y:scroll; box-shadow:none; opacity:1; } .blueprintbox table { float:none!important; } #mainpageannouncment h6 { border-radius:5px; font-size:22px; padding:15px; margin:5px; margin-left: 5px; color: #fff; background: rgba(0,0,0,0.6); position: relative; box-shadow: 1px 1px 1px 1px #000; line-height:30px; } table.diff, td.diff-otitle, td.diff-ntitle { background-color:#000; } td.diff-context,td.diff-deletedline,td.diff-addedline { background-color:#555; } td.diff-deletedline { color:#f55; } td.diff-addedline { color:#afa; } /*Ships Page-Specific CSS*/ body.page-TCGM_Sandbox .shipbox table { height:100px; display:block; width:100%; } body.page-TCGM_Sandbox .shipbox tr, body.page-TCGM_Sandbox .shipbox td, body.page-TCGM_Sandbox .shipbox tbody { display:block; } /* Class Page-Specific CSS */ .skill-table .skill-cell { position:relative; width:33%; } .skill-table .skill-cell img { z-index:99; position:relative } .skill-table pre { padding: 0.5em; border: none; color: #fdfdfd; background-color: rgba(36,46,49,0.7); line-height: 1.1em; position:relative; z-index:99; } .skill-table .header { font-weight:bold; font-size:1.1em; } .skill-table .glyph-left { display:block; width:15px; height:15px; background-color:#082935; position:absolute; top:0; left:50%; margin-left:-52px; margin-top:31px; } .skill-table .connector-right { display:block; width:100%; height:5px; background-color:#082935; position:absolute; top:4px; left:50%; margin-top:31px; } .skill-table .connector-down { display:block; width:5px; height:100%; background-color:#082935; position:absolute; top:0%; left:50%; margin-top:31px; } .skill-table .glyph-top { display:block; width:15px; height:15px; background-color:#082935; position:absolute; top:0; left:50%; margin-left:-5px; margin-top:-14px; } .skill-table .skill-cell span { float:left } .skill-table td { vertical-align: top; } .skill-cell pre::after { content: " "; display: block; height: 0; clear: both; *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML += '<div class="ie7-clear"></div>' ); } .ie7-clear { display: block; clear: both; } .adv-skills-wrapper { display:inline-block; } .adv-skills td { padding-left:5px } .adv-skills td.icon { padding-left:0px } .adv-skills td.name { font-weight:bold; } .adv-skills .icon img { width: 50px; height: 50px; } .adv-skills td { border-bottom: 1px solid #212121; } .adv-skill-legend > div { margin:0px 10px; } .adv-skill-legend div { display: inline-block; } .adv-skill-legend .adv-skill-glyph { width:11px; height:11px; } /* Item Template CSS */ .itemWrapper, .weaponWrapper { line-height:18px; font-size:18px; border: 1px solid #7af5ff99; border-radius: 0px; padding: 10px; background: rgba(0,0,0,0.6); box-shadow: 1px 1px 1px 1px #333; float: none; min-width: 150px; min-height: 300px; max-width:300px; max-height:400px; overflow-y:scroll; } .weaponWrapper { max-width:400px; max-height:600px; } .itemName { margin-left:auto; margin-right:auto; text-align:center; height:80px; } .itemStatsWrapper div div, .weaponStatsWrapper div div { display:inline-block; } .weaponWrapper .itemWrapper { border:0px; padding:0px; background:transparent; box-shadow:none; min-width: 0px; min-height: 0px; overflow-y:visible; } .itemIconWrapper { float: left; margin: 10px; margin-bottom:0px; } .itemIconWrapper img { width:64px; height:64px; } .scroll-box { margin-left:260px; overflow-x:scroll; } .wide-table td:first-child { position: absolute; width: 250px; top: auto; overflow: hidden; height: 20px; margin-left: 0px; border-left: none; border-right: none; border-bottom: none; left: 0px; } .wide-table th:first-child { position: absolute; width: 233px; top: auto; border-top-width: 1px; margin-top: -1px; overflow: hidden; height: 100%; box-shadow: 0px 0px 3px 3px #7af5ff99; background: rgba(0,0,0,0.6); left: 0px; } .mw-content-ltr { position:relative; } #p-logo { visibility: hidden; } /******************************************************************************/ /* Simplified formatting for the large main tables */ .bigtable { padding: 0px; margin-left: 0px; color: #dddddd; background-color: black; border: 1px solid #aaa; text-align: center; } /* Fix linking behavior with sticky header */ .bigtable > thead > tr { height: 4em; } .bigtable tr { position: relative; } .bigtable span:empty { scroll-margin-top: 4em; position: absolute; top: 0px; } /* De-duplicate borders (border-collapse can't be used because of the sticky header) */ .bigtable tr > :not(:first-child) { border-left: none; } .bigtable td { border-top: none; } /* Sticky header (z-index is required to draw over relative positioned elements) */ .bigtable th { background-image: none !important; background-color: black; position: sticky; top: 0px; z-index: 1; } /* Reduce cell padding to make table narrower */ .bigtable th, .bigtable td { padding-left: 1px !important; padding-right: 1px !important; } /* Highlight current row */ .bigtable tr:hover { background-color:#222222 } /* Make <pre>s behave */ .bigtable pre { color: #dddddd; background-color: #00000000; margin: 0; padding: 0; border: 0; } /******************************************************************************/ /* Sticky name columns for very very wide tables */ .bigtable.stickyname tr > :first-child { position:sticky; left:0px; background-color:black; } .bigtable.stickyname tr > th:first-child { z-index:2; } .bigtable.stickyname tr:hover > td:first-child{ background-color:#222222 } /******************************************************************************/ /* Classes to left justify certain columns */ table.col-1-left td:nth-child(1) { text-align: left; } table.col-2-left td:nth-child(2) { text-align: left; } table.col-3-left td:nth-child(3) { text-align: left; } table.col-4-left td:nth-child(4) { text-align: left; } table.col-5-left td:nth-child(5) { text-align: left; } table.col-6-left td:nth-child(6) { text-align: left; } table.col-7-left td:nth-child(7) { text-align: left; } table.col-8-left td:nth-child(8) { text-align: left; } table.col-9-left td:nth-child(9) { text-align: left; } /******************************************************************************/ /* Floating table labels for very large tables */ .floating-table-label { display: grid; } .floating-table-label > div { grid-row: 1; grid-column: 1; margin-top: 1em; margin-bottom: 1em; margin-left: -2em; } .floating-table-label > div > div { writing-mode: vertical-lr; /* transform: rotate(180deg); */ font-weight: bold; position: sticky; top: 1em; } .floating-table-label > div > div img { -webkit-padding-after: 8px; } .floating-table-label > table { grid-row: 1; grid-column: 1; } /******************************************************************************/ /* Supers table specific styling */ .page-Super_items .bigtable div { color: #7af5ff; } .page-Super_items .bigtable pre { font-family: inherit } .page-Super_items .bigtable span { color: #7aff84 } /******************************************************************************/ /* Ships table specific styling */ .page-Ships .bigtable thead { top: 0px; position: sticky; z-index: 1; } .page-Ships .bigtable thead tr { height: 10em !important; border-bottom: solid #aaa 1px } .page-Ships .bigtable tr { display:grid; grid-template-columns: 132px 6em 6em 10em 4em 4em 4em 4em 4em 4em 4em 4em 1fr; grid-template-rows: 0fr 0fr 0fr 1fr; } .page-Ships .bigtable tbody tr:not(:first-child) { border-top: solid #aaa 1px } .page-Ships .bigtable th > span { display: inline-block; width: 100%; height: 100%; } .page-Ships .bigtable span:empty { scroll-margin-top: 10em; position: absolute; top: 0px; } /* Visual reference */ .page-Ships .bigtable tr > :nth-child(1) { grid-row: 1/5; grid-column: 1; } /* Name */ .page-Ships .bigtable tr > :nth-child(2) { grid-row: 1; grid-column: 3/5; } /* Tech, Hull, Max Speed, Augs, Weps, Size, Weight */ .page-Ships .bigtable tr > :nth-child(3) { grid-row: 2; grid-column: 2; } .page-Ships .bigtable tr > :nth-child(4) { grid-row: 3; grid-column: 2; } .page-Ships .bigtable tr > :nth-child(5) { grid-row: 4; grid-column: 2; } .page-Ships .bigtable tr > :nth-child(6) { grid-row: 2; grid-column: 3; } .page-Ships .bigtable tr > :nth-child(7) { grid-row: 3; grid-column: 3; } .page-Ships .bigtable tr > :nth-child(8) { grid-row: 4; grid-column: 3; } .page-Ships .bigtable tr > :nth-child(9) { grid-row: 2; grid-column: 4; } .page-Ships .bigtable td:nth-child(3)::before { color: #999999; content: 'Tech:'; } .page-Ships .bigtable td:nth-child(4)::before { color: #999999; content: 'Hull:'; } .page-Ships .bigtable td:nth-child(5)::before { color: #999999; content: 'Speed:'; } .page-Ships .bigtable td:nth-child(6)::before { color: #999999; content: 'Augs:'; } .page-Ships .bigtable td:nth-child(7)::before { color: #999999; content: 'Weps:'; } .page-Ships .bigtable td:nth-child(8)::before { color: #999999; content: 'Size:'; } .page-Ships .bigtable td:nth-child(9)::before { color: #999999; content: 'Weight:'; } /* Resists */ .page-Ships .bigtable tr > :nth-child(10) { grid-row: 1; grid-column: 5; } .page-Ships .bigtable tr > :nth-child(11) { grid-row: 1; grid-column: 6; } .page-Ships .bigtable tr > :nth-child(12) { grid-row: 1; grid-column: 7; } .page-Ships .bigtable tr > :nth-child(13) { grid-row: 1; grid-column: 8; } .page-Ships .bigtable tr > :nth-child(14) { grid-row: 1; grid-column: 9; } .page-Ships .bigtable tr > :nth-child(15) { grid-row: 1; grid-column: 10; } .page-Ships .bigtable tr > :nth-child(16) { grid-row: 1; grid-column: 11; } .page-Ships .bigtable tr > :nth-child(17) { grid-row: 1; grid-column: 12; } .page-Ships .bigtable tr > :nth-child(10) > * { color: magenta; } .page-Ships .bigtable tr > :nth-child(11) > * { color: #8E44AD; } .page-Ships .bigtable tr > :nth-child(12) > * { color: orange; } .page-Ships .bigtable tr > :nth-child(13) > * { color: #3498DB; } .page-Ships .bigtable tr > :nth-child(14) > * { color: lightgrey; } .page-Ships .bigtable tr > :nth-child(15) > * { color: turquoise; } .page-Ships .bigtable tr > :nth-child(16) > * { color: lightgreen; } .page-Ships .bigtable tr > :nth-child(17) > * { color: blue; } .page-Ships .bigtable tr > :nth-child(10) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Laser-Damage.png); } .page-Ships .bigtable tr > :nth-child(11) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Energy-Damage.png); } .page-Ships .bigtable tr > :nth-child(12) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Heat-Damage.png); } .page-Ships .bigtable tr > :nth-child(13) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Physical-Damage.png); } .page-Ships .bigtable tr > :nth-child(14) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Radiation-Damage.png); } .page-Ships .bigtable tr > :nth-child(15) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Surgical-Damage.png); } .page-Ships .bigtable tr > :nth-child(16) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Mining-Damage.png); } .page-Ships .bigtable tr > :nth-child(17) > *:not(:empty)::before { content: url(/wiki/index.php/Special:Redirect/file/Transference-Damage.png); } /* Vis, Reflect */ .page-Ships .bigtable tr > :nth-child(18) { grid-row: 3; grid-column: 4; } .page-Ships .bigtable tr > :nth-child(19) { grid-row: 4; grid-column: 4; } .page-Ships .bigtable td:nth-child(18)::before { color: #999999; content: 'Vis:'; } .page-Ships .bigtable td:nth-child(19)::before { color: #999999; content: 'Reflect:'; } /* Mods */ .page-Ships .bigtable tr > :nth-child(20) { grid-row: 2/5; grid-column: 5/14; } /* Qualities */ .page-Ships .bigtable tr > :nth-child(21) { grid-row: 1; grid-column: 2; border-color: #aaa; } /* Blank to make header behave */ .page-Ships .bigtable tr > :nth-child(22) { grid-row: 1; grid-column: 13; }