Skip to content

Commit

Permalink
Updated column widths on HTML table. Added new padding parameters for…
Browse files Browse the repository at this point in the history
… wide-version-table.
  • Loading branch information
AndrewRichards-Code committed Jan 18, 2024
1 parent 78baa10 commit 8aa0b11
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
32 changes: 18 additions & 14 deletions tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,34 +41,38 @@ To begin the tutorial, select the platform and graphics API you want to use:
<div class="wide-version-table docutils container">
<table class="docutils align-default">
<colgroup>
<col style="width: 4%" />
<col style="width: 22%" />
<col style="width: 22%" />
<col style="width: 26%" />
<col style="width: 25%" />
<col style="width: 0.12%"/>
<col style="width: 0.22%"/>
<col style="width: 0.22%"/>
<col style="width: 0.22%"/>
<col style="width: 0.22%"/>
</colgroup>
<thead>
<tr class="row-odd"><th class="head"></th>
<th class="head"><p>D3D11</p></th>
<th class="head"><p>D3D12</p></th>
<th class="head"><p>OpenGL or OpenGL&nbsp;ES</p></th>
<th class="head"><p>Vulkan</p></th>
<tr class="row-odd">
<th class="head"></th>
<th class="head"><p>D3D11</p></th>
<th class="head"><p>D3D12</p></th>
<th class="head"><p>OpenGL or OpenGL&nbsp;ES</p></th>
<th class="head"><p>Vulkan</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>Android</p></td>
<tr class="row-even">
<td><p>Android</p></td>
<td></td>
<td></td>
<td><p><a class="reference external" href="/android/opengles/index.html">Android, OpenGL&nbsp;ES</a></p></td>
<td><p><a class="reference external" href="/android/vulkan/index.html">Android, Vulkan</a></p></td>
</tr>
<tr class="row-odd"><td><p>Linux</p></td>
<tr class="row-odd">
<td><p>Linux</p></td>
<td></td>
<td></td>
<td><p><a class="reference external" href="/linux/opengl/index.html">Linux, OpenGL</a></p></td>
<td><p><a class="reference external" href="/linux/vulkan/index.html">Linux, Vulkan</a></p></td>
<td><p><a class="reference external" href="/linux/vulkan/index.html">Linux, Vulkan</a></p></td>
</tr>
<tr class="row-even"><td><p>Windows</p></td>
<tr class="row-even">
<td><p>Windows</p></td>
<td><p><a class="reference external" href="/windows/d3d11/index.html">Windows, D3D11</a></p></td>
<td><p><a class="reference external" href="/windows/d3d12/index.html">Windows, D3D12</a></p></td>
<td><p><a class="reference external" href="/windows/opengl/index.html">Windows, OpenGL</a></p></td>
Expand Down
13 changes: 9 additions & 4 deletions tutorial/tutorial_sphinx_theme_1/static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7972,9 +7972,14 @@ display:none;
.wide-version-table{
display: none;
}
.rst-content table.docutils td, .rst-content table.docutils th, .rst-content table.field-list td, .rst-content table.field-list th, .wy-table td, .wy-table th
{
padding: 4px 8px
}
}

.rst-content .wide-version-table table.docutils td,
.rst-content .wide-version-table table.docutils th,
.rst-content .wide-version-table table.docutils p
{
font-size: 90%;
margin: 0;
overflow: visible;
padding: 8px 8px;
}

0 comments on commit 8aa0b11

Please sign in to comment.