Restate conversion chart entries

This commit is contained in:
Codex
2026-03-07 07:55:10 +00:00
parent c7d2c0a58f
commit 234d1339d4
2 changed files with 31 additions and 38 deletions

View File

@@ -462,6 +462,28 @@ Whenever a new calculator is published via the REST API, it must be appended her
- [ ] Gamma (mass) to Micrograms (1 gamma = 1 microgram)
- [ ] Gauss to Tesla (1 G = 1e-4 T)
#### Following 20 ready conversions (no additional input needed)
- [ ] Gbps to Mbps (1 gigabit per second = 1,000 megabits per second)
- [ ] Gibibytes to Gigabytes (1 gibibyte ≈ 1.073741824 gigabytes)
- [ ] Gigabits to Megabits (1 gigabit = 1,000 megabits)
- [ ] Gigabytes to Bytes (1 gigabyte = 1,000,000,000 bytes)
- [ ] Gigabytes to Gibibytes (1 gigabyte ≈ 0.931322575 gibibytes)
- [ ] Gigabytes to Petabytes (1 gigabyte = 0.000001 petabytes)
- [ ] Gigahertz to Megahertz (1 gigahertz = 1,000 megahertz)
- [ ] Gill to Milliliters (1 US gill = 118.294 milliliters)
- [ ] Gradians to Degrees (1 gradian = 0.9 degrees)
- [ ] Gradians to Radians (1 gradian ≈ 0.01570796 radians)
- [ ] Grains to Ounces (1 grain ≈ 0.002285714 ounces)
- [ ] Grams per cubic centimeter to Kilograms per liter (1 g/cm³ = 1 kg/L)
- [ ] Grams per milliliter to Kilograms per cubic meter (1 g/mL = 1,000 kg/m³)
- [ ] Grams to Drams (1 gram ≈ 0.564383 drams)
- [ ] Grams to Kilograms (1 gram = 0.001 kilograms)
- [ ] Grams to Momme (1 gram ≈ 0.2666667 momme)
- [ ] Grams to Pounds (1 gram ≈ 0.00220462 pounds)
- [ ] Grams to Scruples (1 gram ≈ 0.771605 scruples)
- [ ] Grams to Tolas (1 gram ≈ 0.085735 tola)
- [ ] Gray to Sievert (1 gray of gamma/beta exposure = 1 sievert)
#### Remaining backlog items
- [x] Abamperes to Amperes
- [x] Abvolts to Volts
@@ -628,26 +650,6 @@ Whenever a new calculator is published via the REST API, it must be appended her
- [x] Fluid Ounces to Tablespoons
- [x] Fluid Ounces to Teaspoons
- [ ] Focal length to Angle of view
- [ ] Gbps to Mbps
- [ ] Gibibytes to Gigabytes
- [ ] Gigabits to Megabits
- [ ] Gigabytes to Bytes
- [ ] Gigabytes to Gibibytes
- [ ] Gigabytes to Petabytes
- [ ] Gigahertz to Megahertz
- [ ] Gill to Milliliters
- [ ] Gradians to Degrees
- [ ] Gradians to Radians
- [ ] Grains to Ounces
- [ ] Grams per cubic centimeter to Kilograms per liter
- [ ] Grams per milliliter to Kilograms per cubic meter
- [ ] Grams to Drams
- [ ] Grams to Kilograms
- [ ] Grams to Momme
- [ ] Grams to Pounds
- [ ] Grams to Scruples
- [ ] Grams to Tolas
- [ ] Gray to Sievert
- [ ] GSM to Ounces per sq yard
- [ ] Hands to Centimeters
- [ ] Hands to Inches

View File

@@ -40,12 +40,10 @@
<div class="chart-grid">
{#each rows as row}
<div class="chart-row">
<p class="chart-problem">
If you convert {row.input} {inputLabel} into {outputLabel}, how many {outputLabel} will you record?
</p>
<p class="chart-answer">
<span class="chart-answer-value">{row.output}</span>
<span class="chart-answer-unit">{outputLabel}</span>
<p class="chart-statement">
Converting {row.input} {inputLabel} into {outputLabel} equals
<span class="chart-output-value">{row.output}</span>
<span class="chart-output-unit">{outputLabel}</span>.
</p>
</div>
{/each}
@@ -82,28 +80,21 @@
.chart-row {
font-size: 0.95rem;
line-height: 1.4;
}
.chart-problem {
.chart-statement {
margin: 0;
font-weight: 600;
line-height: 1.25;
}
.chart-answer {
margin: 0.15rem 0 0;
font-size: 0.95rem;
font-weight: 500;
color: var(--text-muted);
}
.chart-answer-value {
margin-right: 0.25rem;
.chart-output-value {
margin: 0 0.25rem;
font-weight: 600;
color: var(--text);
}
.chart-answer-unit {
.chart-output-unit {
font-variant: petite-caps;
}
</style>