/* TemplateStyles for Template:Yearframe
Scoped to .yfframe-wrapper
─────────────────────────────────────── */
.yfframe-wrapper {
font-size: 95%;
margin-bottom: 0;
}
/* ── Tab bar ── */
.yfframe-tabbar {
display: flex;
flex-wrap: nowrap;
gap: 6px;
border-bottom: 2px solid #3434ff;
overflow-x: auto;
padding: 8px 6px 0;
}
.yfframe-tab {
display: inline-block;
padding: 0;
border: 1px solid #3434ff;
border-bottom: none;
border-radius: 6px 6px 0 0;
background: #dce8ff;
white-space: nowrap;
font-size: 0.95em;
line-height: 1.4;
text-align: center;
flex: 1;
transition: background 0.15s;
}
.yfframe-tab a {
display: block;
padding: 9px 16px;
color: #0645ad;
text-decoration: none;
}
.yfframe-tab:hover {
background: #c5d8ff;
}
.yfframe-tab:hover a {
text-decoration: none;
}
.yfframe-tab-active {
background: #ffffff;
font-weight: bold;
}
.yfframe-tab-active a,
.yfframe-tab-active .mw-selflink {
color: #222;
text-decoration: none;
}
/* ── Content area ── */
.yfframe-content {
background: #ffffff;
border: 1px solid #3434ff;
border-top: none;
border-radius: 0 0 5px 5px;
padding: 0.5em 1em 1em;
min-height: 1.5em;
}
/* ── Quick-links bar ── */
.yfframe-quicklinks {
border: 1px solid #3434ff;
background: #f0f4ff;
padding: 0.4em 0.6em;
border-radius: 4px;
line-height: 1.8;
font-size: 0.92em;
text-align: center;
}
.yfframe-quicklinks img {
vertical-align: middle;
margin-right: 4px;
}
/* ── Mobile ── */
@media screen and (max-width: 600px) {
.yfframe-tab {
font-size: 0.88em;
}
.yfframe-tab a {
padding: 7px 10px;
}
}