From 033ec68b8bcf9e6c3843097ab509754a2af0349b Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 5 Nov 2024 23:42:46 +0100 Subject: Cleaned up aesthetic and in-code naming conventions --- index.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index d653032..ef4bdda 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ svg { display: block; border: 1px solid black; } -.pointer, .plate { +.pointer, .segment { transform: none; transform-origin: 50% 50%; } @@ -24,12 +24,13 @@ svg { stroke-width: 1px; } .pointer circle { fill: transparent; } -.plate text { font: 5px serif; } -.plate textPath { - dominant-baseline: central; +.disk.smaller text { font-size: 4px; } +.disk text { font-size: 5px; } +.segment textPath { + dominant-baseline: middle; text-anchor: middle; } -.plate path { fill: none; } +.segment path { fill: none; } -- cgit v1.1