.tg-timeline {
--tg-timeline-column-width: min(20vw,80px);
width: max-content;
text-align: left;
border-spacing: 0;
}
.tg-timeline tbody {
vertical-align: top;
}
.tg-timeline td {
padding: 0 1rem;
border-left: var(--tg-border-base);
}
/* Disable left border */
.tg-timeline tr:first-child > td:first-child {
border-left: 0;
}
.tg-timeline tr:first-child > td:first-child,
.tg-timeline tr:first-child > td:last-child {
position: relative;
padding: 0;
}
.tg-timeline-end {
position: absolute;
inset: 0;
white-space: nowrap;
text-align: center;
text-orientation: upright;
text-transform: uppercase;
letter-spacing: 0.25em;
font-weight: var(--tg-font-weight-semibold);
line-height: 1;
}
.tg-timeline tr:first-child > td:first-child .tg-timeline-end {
writing-mode: vertical-lr;
}
.tg-timeline tr:first-child > td:last-child .tg-timeline-end {
writing-mode: vertical-rl;
}
.tg-timeline-header {
display: inline-block; /* Needed for sticky */
color: var(--tg-color-emphasized);
font-family: var(--tg-font-family-heading);
font-size: var(--tg-font-size-x-large);
}
.tg-timeline-era {
white-space: nowrap;
display: flex;
gap: 1rem;
align-items: center;
font-size: var(--tg-font-size-small);
}
.tg-timeline-era::after {
content: "";
width: 100%;
height: 1px;
background: var(--tg-border-color-interactive);
}
/* HACK: Hide after border when the link is sticky */
.tg-timeline-era > a::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: -1rem;
margin: auto 0;
height: 1px;
background: var(--tg-color-surface-0);
z-index: -1;
}
.tg-timeline-year {
margin-top: 1rem;
color: var(--tg-color-subtle);
font-size: var(--tg-font-size-small);
}
.tg-timeline-year,
.tg-timeline-title {
text-align: center;
}
.tg-timeline-title {
margin-bottom: 1rem;
font-size: 2rem;
font-weight: var(--tg-font-weight-semibold);
font-family: var(--tg-font-family-heading);
line-height: 1;
}
.tg-timeline .tg-section-divider {
font-size: var(--tg-font-size-small);
}
.tg-timeline-header,
.tg-timeline-era > a {
position: sticky;
left: 0;
}
.tg-timeline .tg-button {
margin-top: 1rem;
}
.citizen-overflow-content {
--overflow-gradient-size: 1px;
}