Merge pull request #45 from ok2/codex/fix-central-point-movement-and-size-adaptation

Fix analog clock center dot
This commit is contained in:
Kiyomichi Kosaka 2025-06-15 14:38:11 +02:00 committed by GitHub
commit 794631dcba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -31,6 +31,7 @@
<div class="hand chronon" id="handChronon"></div>
<div class="hand quantic" id="handQuantic"></div>
<div class="hand xeno" id="handXeno"></div>
<div class="clock-center"></div>
<div class="clock-label">CoBiE Time</div>
</div>
</div>

View File

@ -398,19 +398,19 @@
box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 40px rgba(255, 0, 255, 0.2);
}
#clock::after {
content: '';
.clock-center {
position: absolute;
top: 50%;
left: 50%;
width: 1.2em;
height: 1.2em;
width: calc(var(--clock-size) * 0.15);
height: calc(var(--clock-size) * 0.15);
transform: translate(-50%, -50%);
background: url('logo.svg') center/contain no-repeat;
background-color: #ffffff;
border-radius: 50%;
box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
z-index: 2;
pointer-events: none;
}
.clock-label {