From 41fc76d6fd6af9a880ac8b75e7b03afd1395780a Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 15 Jul 2021 22:39:33 -0400 Subject: Devoice and nasal pronunciation info (#1832) * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data --- ext/css/display.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'ext/css') diff --git a/ext/css/display.css b/ext/css/display.css index c6a39526..cd9391fe 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -1512,6 +1512,31 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con padding-right: 0.1em; margin-right: 0.1em; } +.pitch-accent-character-devoice-indicator { + display: block; + position: absolute; + left: 50%; + top: 50%; + width: 1.125em; + height: 1.125em; + border: calc(1.5em / var(--font-size-no-units)) dotted var(--danger-color); + border-radius: 50%; + box-sizing: border-box; + z-index: 1; + transform: translate(-50%, -50%); +} +.pitch-accent-character-nasal-indicator { + display: block; + position: absolute; + right: -0.125em; + top: 0.125em; + width: 0.375em; + height: 0.375em; + border: calc(1.5em / var(--font-size-no-units)) solid var(--danger-color); + border-radius: 50%; + box-sizing: border-box; + z-index: 1; +} .pitch-accent-position::before { content: ' ['; } -- cgit v1.2.3