小 |
|||
| (未显示同一用户的2个中间版本) | |||
| 第1行: | 第1行: | ||
/* 信息框本体的唯一样式入口;色彩和字体继承本站令牌。 */ | |||
.nv-infobox { | .nv-infobox { | ||
box-sizing: border-box; | |||
float: right; | |||
clear: right; | |||
width: 300px; | |||
max-width: 100%; | |||
margin: 4px 0 28px 36px; | |||
border: 0; | |||
border-radius: 0; | |||
background: var(--nv-paper-raised); | |||
color: var(--nv-ink); | |||
font-weight: 400; | |||
font-size: 14px; | |||
line-height: 1.65; | |||
text-align: left; | |||
} | } | ||
.nv-infobox__head { | .nv-infobox__head { | ||
padding: 16px 18px 14px; | |||
background: var(--nv-block, #1b2a41); | |||
color: var(--nv-mast-ink, #efe6d3); | |||
} | } | ||
.nv-infobox__name { | .nv-infobox__name { | ||
color: inherit; | |||
font-weight: 700; | |||
font-size: 21px; | |||
line-height: 1.3; | |||
letter-spacing: 0.03em; | |||
overflow-wrap: anywhere; | |||
} | } | ||
.nv-infobox__subtitle { | .nv-infobox__subtitle { | ||
margin-top: 4px; | |||
color: var(--nv-navy-muted, #9ba7b9); | |||
font-weight: 400; | |||
font-size: 13px; | |||
line-height: 1.5; | |||
overflow-wrap: anywhere; | |||
} | } | ||
.nv-infobox__media { | .nv-infobox__media { | ||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
align-items: flex-start; | |||
gap: 10px; | |||
padding: 18px 18px 6px; | |||
} | } | ||
.nv-infobox__media-item { | .nv-infobox__media-item { | ||
flex: 0 1 auto; | |||
max-width: 100%; | |||
margin: 0; | |||
text-align: center; | |||
} | } | ||
.nv-infobox__media-item img { | .nv-infobox__media-item img { | ||
display: block; | |||
width: auto; | |||
max-width: 100%; | |||
height: auto; | |||
margin: 0 auto; | |||
border: 1px solid var(--nv-line); | |||
border-radius: 0; | |||
} | |||
.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, | |||
.nv-infobox__media-item | .nv-infobox__media-caption { | ||
margin-top: 0.25rem; | |||
color: var(--nv-ink-muted); | |||
.nv-infobox__media- | font-size: 11.5px; | ||
line-height: 1.45; | |||
text-align: center; | |||
} | } | ||
.nv-infobox__media-missing { | .nv-infobox__media-missing { | ||
flex-basis: 100%; | |||
padding: 0.25rem 0; | |||
color: var(--nv-ink-muted); | |||
font-size: 0.8rem; | |||
text-align: center; | |||
} | } | ||
.nv-infobox__rows { | .nv-infobox__rows { | ||
display: grid; | |||
grid-template-columns: 5.2em minmax(0, 1fr); | |||
column-gap: 14px; | |||
margin: 0; | |||
padding: 6px 18px 14px; | |||
} | } | ||
.nv-infobox__row { | .nv-infobox__row { | ||
display: contents; | |||
} | |||
.nv-infobox__row dt, | |||
.nv-infobox__row dd { | |||
min-width: 0; | |||
margin: 0; | |||
padding: 8px 0; | |||
border-top: 1px solid var(--nv-hair); | |||
background: transparent; | |||
} | |||
.nv-infobox__row:first-child dt, | |||
.nv-infobox__row:first-child dd { | |||
border-top: 0; | |||
} | } | ||
.nv-infobox__row dt { | .nv-infobox__row dt { | ||
color: var(--nv-ink-muted); | |||
font-weight: 400; | |||
font-size: 12.5px; | |||
line-height: 1.7; | |||
letter-spacing: 0.06em; | |||
} | } | ||
.nv-infobox__row dd { | .nv-infobox__row dd { | ||
color: var(--nv-ink); | |||
font-size: 14px; | |||
} | |||
.nv-infobox p, | |||
.nv-infobox dd, | |||
.nv-infobox dt, | |||
.nv-infobox li, | |||
.nv-infobox td, | |||
.nv-infobox th, | |||
.nv-infobox__value { | |||
text-align: left; | |||
text-justify: auto; | |||
word-break: normal; | |||
overflow-wrap: break-word; | |||
hyphens: none; | |||
} | } | ||
.nv-infobox a { | |||
.nv- | color: var(--nv-link); | ||
} | } | ||
.nv-infobox__row b { | .nv-infobox__row b { | ||
font-weight: 600; | |||
} | |||
.nv-infobox__row--wide > dt { | |||
grid-column: 1 / -1; | |||
padding-bottom: 1px; | |||
} | |||
.nv-infobox__row--wide > dd { | |||
grid-column: 1 / -1; | |||
padding-top: 2px; | |||
border-top: 0; | |||
scroll-margin-top: 5rem; | |||
} | |||
.nv-infobox__row--wide .nv-seatmap { | |||
margin-top: 1px; | |||
} | |||
.nv-infobox__row--wide .nv-seatmap__meta { | |||
color: var(--nv-ink-muted); | |||
} | } | ||
.nv-infobox__source { | .nv-infobox__source { | ||
padding: 0 0.9rem 0.8rem; | |||
color: var(--nv-ink-muted); | |||
font-size: 0.78rem; | |||
} | } | ||
@media (max-width: 680px) { | |||
@media (max-width: | .nv-infobox { | ||
float: none; | |||
width: 100%; | |||
margin: 0 0 22px; | |||
} | |||
} | } | ||
@media print { | |||
@media | .nv-infobox { | ||
float: right; | |||
width: 62mm; | |||
border: 1pt solid #000; | |||
background: #fff; | |||
} | |||
.nv-infobox, | |||
.nv-infobox__name, | |||
.nv-infobox__row dt, | |||
.nv-infobox__row dd { | |||
color: #000; | |||
} | |||
} | } | ||
2026年11月16日 (一) 12:37的最新版本
/* 信息框本体的唯一样式入口;色彩和字体继承本站令牌。 */
.nv-infobox {
box-sizing: border-box;
float: right;
clear: right;
width: 300px;
max-width: 100%;
margin: 4px 0 28px 36px;
border: 0;
border-radius: 0;
background: var(--nv-paper-raised);
color: var(--nv-ink);
font-weight: 400;
font-size: 14px;
line-height: 1.65;
text-align: left;
}
.nv-infobox__head {
padding: 16px 18px 14px;
background: var(--nv-block, #1b2a41);
color: var(--nv-mast-ink, #efe6d3);
}
.nv-infobox__name {
color: inherit;
font-weight: 700;
font-size: 21px;
line-height: 1.3;
letter-spacing: 0.03em;
overflow-wrap: anywhere;
}
.nv-infobox__subtitle {
margin-top: 4px;
color: var(--nv-navy-muted, #9ba7b9);
font-weight: 400;
font-size: 13px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.nv-infobox__media {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 10px;
padding: 18px 18px 6px;
}
.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;
border: 1px solid var(--nv-line);
border-radius: 0;
}
.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,
.nv-infobox__media-caption {
margin-top: 0.25rem;
color: var(--nv-ink-muted);
font-size: 11.5px;
line-height: 1.45;
text-align: center;
}
.nv-infobox__media-missing {
flex-basis: 100%;
padding: 0.25rem 0;
color: var(--nv-ink-muted);
font-size: 0.8rem;
text-align: center;
}
.nv-infobox__rows {
display: grid;
grid-template-columns: 5.2em minmax(0, 1fr);
column-gap: 14px;
margin: 0;
padding: 6px 18px 14px;
}
.nv-infobox__row {
display: contents;
}
.nv-infobox__row dt,
.nv-infobox__row dd {
min-width: 0;
margin: 0;
padding: 8px 0;
border-top: 1px solid var(--nv-hair);
background: transparent;
}
.nv-infobox__row:first-child dt,
.nv-infobox__row:first-child dd {
border-top: 0;
}
.nv-infobox__row dt {
color: var(--nv-ink-muted);
font-weight: 400;
font-size: 12.5px;
line-height: 1.7;
letter-spacing: 0.06em;
}
.nv-infobox__row dd {
color: var(--nv-ink);
font-size: 14px;
}
.nv-infobox p,
.nv-infobox dd,
.nv-infobox dt,
.nv-infobox li,
.nv-infobox td,
.nv-infobox th,
.nv-infobox__value {
text-align: left;
text-justify: auto;
word-break: normal;
overflow-wrap: break-word;
hyphens: none;
}
.nv-infobox a {
color: var(--nv-link);
}
.nv-infobox__row b {
font-weight: 600;
}
.nv-infobox__row--wide > dt {
grid-column: 1 / -1;
padding-bottom: 1px;
}
.nv-infobox__row--wide > dd {
grid-column: 1 / -1;
padding-top: 2px;
border-top: 0;
scroll-margin-top: 5rem;
}
.nv-infobox__row--wide .nv-seatmap {
margin-top: 1px;
}
.nv-infobox__row--wide .nv-seatmap__meta {
color: var(--nv-ink-muted);
}
.nv-infobox__source {
padding: 0 0.9rem 0.8rem;
color: var(--nv-ink-muted);
font-size: 0.78rem;
}
@media (max-width: 680px) {
.nv-infobox {
float: none;
width: 100%;
margin: 0 0 22px;
}
}
@media print {
.nv-infobox {
float: right;
width: 62mm;
border: 1pt solid #000;
background: #fff;
}
.nv-infobox,
.nv-infobox__name,
.nv-infobox__row dt,
.nv-infobox__row dd {
color: #000;
}
}