ethnicity

This commit is contained in:
33333-33333 2026-05-14 00:21:24 +09:00
commit 01ab8edd9b
3 changed files with 435 additions and 59 deletions

View file

@ -412,6 +412,43 @@ canvas#world {
text-align: right;
}
.ethnicity-pie-wrap {
display: grid;
grid-template-columns: 44px 1fr;
align-items: center;
gap: 8px;
margin-top: 6px;
}
.ethnicity-pie {
width: 40px;
height: 40px;
border: 1px solid rgba(238, 241, 237, 0.28);
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.ethnicity-pie-labels {
display: flex;
flex-wrap: wrap;
gap: 3px 7px;
}
.tooltip .ethnicity-pie-key {
display: inline-flex;
justify-content: flex-start;
align-items: center;
gap: 4px;
color: var(--muted);
white-space: nowrap;
}
.ethnicity-pie-key i {
width: 8px;
height: 8px;
border-radius: 2px;
}
@media (max-width: 1100px) {
body {
overflow: auto;