ethnicity
This commit is contained in:
parent
8ff27ca2bc
commit
01ab8edd9b
3 changed files with 435 additions and 59 deletions
37
styles.css
37
styles.css
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue