Difference between revisions of "Template:System requirements/tabs"

From PCGamingWiki, the wiki about fixing PC games
(Adding some negative margin to align the left-most tab with the table.)
m (added per cell CSS classes for more in-depth styling)
Line 1: Line 1:
 
<table style="margin-bottom: -14px; margin-left: -2px; display:none;" id="tabNav">
 
<table style="margin-bottom: -14px; margin-left: -2px; display:none;" id="tabNav">
<tr>
+
<tr class="table-sysreqsTab-head-row">
{{#if:{{#var:Booter}}|<td class="sysreqTab" id="sysreq_Booter">'''PC booter'''</td>}}<!--
+
{{#if:{{#var:Booter}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_Booter">'''PC booter'''</td>}}<!--
-->{{#if:{{#var:DOS}}|<td class="sysreqTab" id="sysreq_DOS">'''DOS'''</td>}}<!--
+
-->{{#if:{{#var:DOS}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_DOS">'''DOS'''</td>}}<!--
-->{{#if:{{#var:Windows}}|<td class="sysreqTab" id="sysreq_Windows">'''Windows'''</td>}}<!--
+
-->{{#if:{{#var:Windows}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_Windows">'''Windows'''</td>}}<!--
-->{{#if:{{#var:Mac OS}}|<td class="sysreqTab" id="sysreq_Mac_OS">'''Mac OS (Classic)'''</td>}}<!--
+
-->{{#if:{{#var:Mac OS}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_Mac_OS">'''Mac OS (Classic)'''</td>}}<!--
-->{{#if:{{#var:OS X}}|<td class="sysreqTab" id="sysreq_OS_X">'''macOS (OS X)'''</td>}}<!--
+
-->{{#if:{{#var:OS X}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_OS_X">'''macOS (OS X)'''</td>}}<!--
-->{{#if:{{#var:Linux}}|<td class="sysreqTab" id="sysreq_Linux">'''Linux'''</td>}}<!--
+
-->{{#if:{{#var:Linux}}|<td class="sysreqTab table-sysreqsTab-head-OS" id="sysreq_Linux">'''Linux'''</td>}}<!--
 
--></tr>
 
--></tr>
 
</table>
 
</table>

Revision as of 14:39, 11 March 2019