Skip to content

Commit 8ff4f09

Browse files
committed
Responsive tables
1 parent 9453b96 commit 8ff4f09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ <h4>Translation table</h4>
155155
by a colon. The colon is dropped between subsequent wrappers; e.g. <code>vc:pk(key)</code> is the <code>v:</code>
156156
wrapper applied to the <code>c:</code> wrapper applied to the <code>pk</code> fragment for a given key.
157157

158+
<div class="table-responsive">
158159
<table class="table table-sm">
159160
<thead class="thead-light">
160161
<tr><th scope="col">Semantics</th><th scope="col">Miniscript fragment</th><th scope="col">Bitcoin Script</th></tr></thead>
@@ -294,6 +295,7 @@ <h4>Translation table</h4>
294295
</tr>
295296
</tbody>
296297
</table>
298+
</div>
297299
The <code>and_n</code> fragment and <code>t:</code>, <code>l:</code>, and <code>u:</code> wrappers are syntactic sugar for other Miniscripts, as listed in the table above.
298300
In what follows, they will not be included anymore, as their properties can be derived by looking at their expansion.
299301
</p>
@@ -350,6 +352,7 @@ <h4>Correctness properties</h4>
350352

351353
<p>
352354
This tables lists the correctness requirements for each of the Miniscript expressions, and its type properties in function of those of their subexpressions:
355+
<div class="table-responsive">
353356
<table class="table table-sm">
354357
<thead class="thead-light"><tr><th scope="col">Miniscript</th><th scope="col">Requires</th><th scope="col">Type</th><th scope="col">Properties</th></tr></thead>
355358
<tbody>
@@ -380,6 +383,7 @@ <h4>Correctness properties</h4>
380383
<tr><td><code>n:X</code></td><td><em>X</em> is B</td><td>B</td><td>z=z<sub>X</sub>; o=o<sub>X</sub>; n=n<sub>X</sub>; d=d<sub>X</sub>; u</td></tr>
381384
</tbody>
382385
</table>
386+
</div>
383387
</p>
384388

385389
<h4>Resource limitations</h4>
@@ -424,6 +428,7 @@ <h4>Basic satisfactions</h4>
424428
The following table shows all valid satisfactions and dissatisfactions for every Miniscript, using satisfactions and dissatisfactions of its subexpressions.
425429
Multiple possibilities are separated by semicolons. Some options are not actually necessary to produce correct witnesses, and are called <em>non-canonical</em> options. They
426430
are listed for completeness, but marked in <span class="text-muted">[grey]</span> below.
431+
<div class="table-responsive">
427432
<table class="table table-sm">
428433
<thead class="thead-light"><tr><th scope="col">Miniscript</th><th scope="col">Dissatisfactions (dsat)</th><th scope="col">Satisfactions (sat)</th></thead>
429434
<tbody>
@@ -455,6 +460,7 @@ <h4>Basic satisfactions</h4>
455460
<tr><td><code>n:<em>X</em></code></td><td>dsat(<em>X</em>)</td><td>sat(<em>X</em>)</td></tr>
456461
</tbody>
457462
</table>
463+
</div>
458464
</p>
459465
<p>
460466
The correctness properties in the previous section are based on the availability of satisfactions and dissatisfactions listed above. The requirements include a "d" for every
@@ -555,6 +561,7 @@ <h4>Guaranteeing non-malleability</h4>
555561

556562
<p>
557563
The following table lists these additional properties, and the requirements for non-malleability.
564+
<div class="table-respnsive">
558565
<table class="table table-sm">
559566
<thead class="thead-light"><tr><th scope="col">Miniscript</th><th scope="col">Requires</th><th scope="col">Properties</th></tr></thead>
560567
<tbody>
@@ -586,6 +593,7 @@ <h4>Guaranteeing non-malleability</h4>
586593
<tr><td><code>n:<em>X</em></code></td><td></td><td>s=s<sub>X</sub>; f=f<sub>X</sub>; e=e<sub>X</sub></td></tr>
587594
</tbody>
588595
</table>
596+
</div>
589597
</p>
590598

591599
</div>

0 commit comments

Comments
 (0)