.nv-infobox {
box-sizing: border-box;
float: right;
width: 23.5rem;
max-width: 100%;
margin: 0 0 1rem 1.25rem;
border: 1px solid #d8cdbc;
background: #fffdf7;
color: #24211d;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-size: 0.9rem;
line-height: 1.65;
}
.nv-infobox__head {
padding: 0.85rem 0.9rem 0.55rem;
border-bottom: 1px solid #d8cdbc;
}
.nv-infobox__name {
font-family: "Noto Serif SC", "Songti SC", serif;
font-size: 1.3rem;
font-weight: 700;
line-height: 1.3;
overflow-wrap: anywhere;
}
.nv-infobox__subtitle {
margin-top: 0.2rem;
color: #6f675b;
font-size: 0.86rem;
overflow-wrap: anywhere;
}
.nv-infobox__media {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 0.65rem 0.8rem;
padding: 0.8rem 0.9rem 0.1rem;
}
.nv-infobox__media-item {
flex: 0 1 auto;
max-width: 100%;
margin: 0;
text-align: center;
}
.nv-infobox__media-item img {
display: block;
width: auto;
max-width: 100%;
height: auto;
margin: 0 auto;
}
.nv-infobox__media-item--portrait img { max-height: 17rem; }
.nv-infobox__media-item--flag img { max-height: 5.5rem; }
.nv-infobox__media-item--emblem img { max-height: 7rem; }
.nv-infobox__media-item--map { flex-basis: 100%; }
.nv-infobox__media-item--map img { max-height: 12rem; }
.nv-infobox__media-item figcaption {
margin-top: 0.25rem;
color: #6f675b;
font-size: 0.78rem;
line-height: 1.45;
text-align: center;
}
.nv-infobox__media-missing {
flex-basis: 100%;
padding: 0.25rem 0;
color: #6f675b;
font-size: 0.8rem;
text-align: center;
}
.nv-infobox__rows {
display: grid;
grid-template-columns: 6.8rem minmax(0, 1fr);
margin: 0;
padding: 0.55rem 0.9rem 0.9rem;
gap: 0;
}
.nv-infobox__row {
display: contents;
}
.nv-infobox__row dt {
padding: 0.28rem 0 0.28rem;
border-top: 1px solid #e6ddcf;
color: #6f675b;
font-size: 0.8rem;
}
.nv-infobox__row dd {
min-width: 0;
margin: 0;
padding: 0.28rem 0;
border-top: 1px solid #e6ddcf;
overflow-wrap: anywhere;
}
.nv-infobox__row a {
color: #8b3f2f;
}
.nv-infobox__row b {
font-weight: 600;
}
.nv-infobox__source {
padding: 0 0.9rem 0.8rem;
color: #6f675b;
font-size: 0.78rem;
}
@media (max-width: 860px) {
.nv-infobox {
float: none;
width: 100%;
margin: 0 0 1.1rem;
}
}
@media (prefers-color-scheme: dark) {
.nv-infobox {
background: #20252a;
border-color: #3c444b;
color: #e8e1d5;
}
.nv-infobox__head { border-bottom-color: #3c444b; }
.nv-infobox__row dt { border-top-color: #3c444b; color: #b8b0a3; }
.nv-infobox__row dd { border-top-color: #3c444b; }
.nv-infobox__subtitle, .nv-infobox__media-missing, .nv-infobox__source { color: #b8b0a3; }
.nv-infobox__media-item figcaption { color: #b8b0a3; }
.nv-infobox__row a { color: #d69076; }
}