From: Chris Duncan Date: Sun, 26 Jul 2026 08:19:50 +0000 (-0700) Subject: Style ordered list to use nested counters. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=32961ca9238b79656186b14121b2e5b9506c1d1a;p=nano-pow.git Style ordered list to use nested counters. --- diff --git a/index.html b/index.html index 26f9828..0f3a599 100644 --- a/index.html +++ b/index.html @@ -314,6 +314,10 @@ SPDX-License-Identifier: GPL-3.0-or-later div.hex{display:inline-block;font-family:monospace;} div.hex::before{color:grey;content:'0x';display:inline-block;font-family:monospace;font-size:90%;left:0.5em;position:relative;width:0;} div.hex>input{font-family:monospace;padding-left:1.5em;} + ol{counter-reset:i;list-style-type:none;padding-left:1em;} + ol li{display:grid;gap:0.25em;grid-template-columns:auto 1fr;} + ol li::before{content:counters(i,'.')'.';counter-increment:i;} + ol li>ol{grid-column:2;} .warning::before{content:'\0026a0\00FE0F';} @@ -333,9 +337,9 @@ SPDX-License-Identifier: GPL-3.0-or-later

The final score is displayed as "work-per-second" and is calculated as follows:

    -
  1. For each test run: +
  2. For each test run:
      -
    1. Collect all the generate-validate sequence timings for the test run.
    2. +
    3. Collect all the generate-validate sequence timings for the test run.
    4. Truncate the results by eliminating the fastest 10% and slowest 10% of sequence timings.
    5. Calculate the arithmetic mean (average) of the truncated results.