/* Topic stories told screen by screen (#1224): the lists and figures in a screen's right column. The screen itself, the bar, the progress and the nav are the Data Center Story's (stance.css). */ .topic-story .topic-story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .topic-story .topic-story-item { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; } .topic-story .topic-story-item-title { display: block; margin: 0; font-weight: 600; font-size: 15px; color: var(--ink); } .topic-story .topic-story-item-title a, .topic-story a.topic-story-item-title { color: var(--ink); text-decoration: none; } .topic-story .topic-story-item-title a:hover, .topic-story a.topic-story-item-title:hover { color: var(--violet-ink); } .topic-story .topic-story-item-meta { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); } .topic-story .topic-story-item-body { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); } .topic-story .topic-story-quote { margin: 8px 0 0; padding-left: 10px; border-left: 2px solid var(--violet); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--ink-2); } .topic-story .topic-story-quote footer { margin-top: 4px; font-style: normal; font-size: 12px; color: var(--ink-3); } .topic-story .topic-story-link, .topic-story .topic-story-quote a, .topic-story .topic-story-item-body a { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 14px; color: var(--violet-ink); } .topic-story .topic-story-list + .folio-btn { margin-top: 12px; } .topic-story .topic-story-charts { display: grid; gap: 16px; } .topic-story .topic-story-onward { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 17px; } .topic-story .topic-story-onward a { color: var(--violet-ink); font-weight: 600; } .topic-story .topic-story-lede { max-width: 44rem; } /* Who spoke: one bar per position, sized by its share of the meetings read. */ .topic-positions { margin: 0; } .topic-positions-rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; } .topic-positions-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'label n' 'bar bar'; gap: 4px 12px; align-items: baseline; } .topic-positions-label { grid-area: label; font-weight: 600; color: var(--ink); } .topic-positions-n { grid-area: n; font-variant-numeric: tabular-nums; color: var(--ink); } .topic-positions-pct { color: var(--ink-3); } .topic-positions-bar { grid-area: bar; display: block; height: 14px; border-radius: 7px; background: color-mix(in srgb, var(--rule) 45%, transparent); overflow: hidden; } .topic-positions-bar > span { display: block; height: 100%; border-radius: 7px; } /* People and position on the record cards (#1293). The whole card is the tap target: the title link's ::after covers it; the other links sit above it. */ .topic-story .topic-story-card { position: relative; } .topic-story .topic-story-card.is-linked .topic-story-card-link::after { content: ''; position: absolute; inset: 0; border-radius: 10px; } .topic-story .topic-story-card.is-linked:hover { border-color: var(--violet-200); } .topic-story .topic-story-card-link:focus-visible { outline: none; } .topic-story .topic-story-card-link:focus-visible::after { outline: 2px solid var(--violet-ink); outline-offset: 2px; } .topic-story .topic-story-card-links, .topic-story .topic-story-chips { position: relative; z-index: 1; } .topic-story .topic-story-card-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 14px; } .topic-story .topic-story-card-links a { font-weight: 600; color: var(--violet-ink); min-height: 24px; display: inline-flex; align-items: center; } .topic-story .topic-story-speaker { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--ink); } .topic-story .topic-story-speaker.is-unknown { font-weight: 400; color: var(--ink-3); } .topic-story .topic-story-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .topic-story .topic-story-chip { font-size: 12px; line-height: 1.3; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); } .topic-story .topic-story-chip.is-against { border-color: var(--vermilion); color: var(--vermilion-ink); } .topic-story .topic-story-chip.is-for { border-color: var(--violet); color: var(--violet-ink); } /* Shape as well as colour: a side's chip carries a mark, so colour is never the only signal. */ .topic-story .topic-story-chip.is-against::before { content: '■ '; } .topic-story .topic-story-chip.is-for::before { content: '● '; } .topic-story .topic-story-summary { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); } .topic-story .topic-story-subhead { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); } /* Who was on each side of a decision (#1320). */ .topic-story .topic-story-people { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; line-height: 1.45; color: var(--ink); } .topic-story .topic-story-people li + li { margin-top: 2px; } /* The county map (#1349) fills its column on a phone: the stacked screen is a flex column aligned to the start, so a right column holding only the map would otherwise shrink to the map's minimum width. */ .topic-story .stance-right:has(.stance-map--county) { align-self: stretch; }