Split in different tables, small improvements

This commit is contained in:
Midgard 2020-08-30 19:17:54 +02:00
parent 76e0f27fe9
commit adf6289382
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -45,6 +45,7 @@ h1, h2, h3, h4, h5, h6 {
table {
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 1em;
}
thead th {
border-top: 2px solid hsl(0, 0%, 25%);
@ -70,10 +71,13 @@ tbody tr:last-child th, tbody tr:last-child td {
.typ-id, .id-rng, .mod-id {
text-align: right;
}
.remark {
min-width: 10em;
}
section {
margin-bottom: 2rem;
padding-bottom: 2rem;
padding-bottom: 1.5rem;
border-bottom: 1px dashed hsl(0, 0%, 30%);
}
@ -85,10 +89,6 @@ footer {
pre {
font-size: 100%;
}
.code-header {
font-weight: bold;
}
</style>
</head>
<body>
@ -106,6 +106,7 @@ pre {
<th class="typ-id">Type ID</th>
<th class="id-rng">Module ID range</th>
<th class="mod-tp">Type</th>
<th class="remark">Remarks</th>
</tr>
</thead>
<tbody>
@ -113,36 +114,40 @@ pre {
<td class="typ-id" rowspan="2">0</td>
<td class="id-rng">0</td>
<td class="mod-tp">controller</td>
<td class="remark">There should be one controller per CAN network, and it should use ID 0.</td>
</tr>
<tr id="module-type-info">
<td class="id-rng">1&ndash;255</td>
<td class="mod-tp">info</td>
<td class="mod-tp"><a href="#module-ids-info">info</a></td>
<td class="remark"></td>
</tr>
<tr id="module-type-puzzle">
<td class="typ-id">1</td>
<td class="id-rng">0&ndash;255</td>
<td class="mod-tp">puzzle</td>
<td class="mod-tp"><a href="#module-ids-puzzle">puzzle</a></td>
<td class="remark"></td>
</tr>
<tr id="module-type-needy">
<td class="typ-id">2</td>
<td class="id-rng">0&ndash;255</td>
<td class="mod-tp">needy</td>
<td class="mod-tp"><a href="#module-ids-needy">needy</a></td>
<td class="remark"></td>
</tr>
<tr>
<td class="typ-id">3</td>
<td class="id-rng">0&ndash;255</td>
<td class="mod-tp"><span class="keyword">reserved</span></td>
<td class="remark"></td>
</tr>
</tbody>
</table>
</div>
<h3 id="module-identifiers">Module identifiers</h3>
<h3 id="module-ids-info">Info modules identifiers</h3>
<div class="tabular">
<table>
<thead>
<tr>
<th class="mod-tp">Type</th>
<th class="mod-id">ID</th>
<th class="issuee">Issued to</th>
<th class="mod-nm">Module name</th>
@ -150,33 +155,55 @@ pre {
</tr>
</thead>
<tbody>
<tr id="controller-0">
<td class="mod-tp">controller</td>
<td class="mod-id">0</td>
<td class="issuee">&mdash;</td>
<td class="mod-nm">Controller</td>
<td class="remark">There should always be only one controller per CAN network. It should use this ID.</td>
</tr>
<tr id="info-255">
<td class="mod-tp">info</td>
<td class="mod-id">255</td>
<td class="issuee"><span class="keyword">private use</span></td>
<td class="mod-nm">Development</td>
<td class="remark">Developers may use this ID when they have not yet received an identifier from MOANA.</td>
<td class="remark">Used before receiving an ID from MOANA.</td>
</tr>
</tbody>
</table>
</div>
<h3 id="module-ids-puzzle">Puzzle modules identifiers</h3>
<div class="tabular">
<table>
<thead>
<tr>
<th class="mod-id">ID</th>
<th class="issuee">Issued to</th>
<th class="mod-nm">Module name</th>
<th class="remark">Remarks</th>
</tr>
</thead>
<tbody>
<tr id="puzzle-255">
<td class="mod-tp">puzzle</td>
<td class="mod-id">255</td>
<td class="issuee"><span class="keyword">private use</span></td>
<td class="mod-nm">Development</td>
<td class="remark">Developers may use this ID when they have not yet received an identifier from MOANA.</td>
<td class="remark">Used before receiving an ID from MOANA.</td>
</tr>
</tbody>
</table>
</div>
<h3 id="module-ids-needy">Needy modules identifiers</h3>
<div class="tabular">
<table>
<thead>
<tr>
<th class="mod-id">ID</th>
<th class="issuee">Issued to</th>
<th class="mod-nm">Module name</th>
<th class="remark">Remarks</th>
</tr>
</thead>
<tbody>
<tr id="needy-255">
<td class="mod-tp">needy</td>
<td class="mod-id">255</td>
<td class="issuee"><span class="keyword">private use</span></td>
<td class="mod-nm">Development</td>
<td class="remark">Developers may use this ID when they have not yet received an identifier from MOANA.</td>
<td class="remark">Used before receiving an ID from MOANA.</td>
</tr>
</tbody>
</table>
@ -186,8 +213,8 @@ pre {
<section>
<h2 id="requesting-an-identifier-for-your-module">Requesting an identifier for your module</h2>
<p>During development, you may use the development identifiers. To participate in games, you should request a unique ID.</p>
<p>To request an identifier, contact MOANA in the ~obus channel on the Zeus Mattermost. Use this template:</p>
<pre><code><span class="code-header">### MOANA &ndash; Request for OBUS Module ID</span>
<p>You can request an identifier in the ~obus channel on the Zeus Mattermost. Use this template:</p>
<pre><code><b>**MOANA &ndash; Request for OBUS Module ID**</b>
My name, for the "issued to" field: <!---->
Module type: puzzle needy info (remove what does not apply)</i>
Remarks: </code></pre>