/* TemplateStyles for Template:Lkframe
Scoped to .lkframe-wrapper
─────────────────────────────────────── */
/* ── Top action buttons ── */
.lkframe-wrapper {
font-size: 95%;
margin-bottom: 0;
}
.lkframe-translate {
float: right;
font-size: 0.9em;
margin-bottom: 0.3em;
}
.lkframe-actions {
text-align: center;
margin: 0.4em 0 0.6em;
clear: both;
}
/* ── Tab bar ── */
.lkframe-tabbar {
display: flex;
flex-wrap: nowrap;
gap: 4px;
border-bottom: 2px solid #99B3FF;
overflow-x: auto;
padding: 6px 4px 0;
}
.lkframe-tab {
display: inline-block;
padding: 0;
border: 1px solid #99B3FF;
border-bottom: none;
border-radius: 6px 6px 0 0;
background: #dce8ff;
white-space: nowrap;
font-size: 0.95em;
line-height: 1.3;
text-align: center;
flex: 1;
transition: background 0.15s;
}
.lkframe-tab a {
display: block;
padding: 6px 12px;
color: #0645ad;
text-decoration: none;
}
.lkframe-tab:hover {
background: #c5d8ff;
}
.lkframe-tab:hover a {
text-decoration: none;
}
.lkframe-tab-active {
background: #ffffff;
font-weight: bold;
border-top: 3px solid #4a6fa5;
}
.lkframe-tab-active a {
color: #222;
}
/* ── Content area (below tabs) ── */
.lkframe-content {
background: #ffffff;
border: 1px solid #99B3FF;
border-top: none;
border-radius: 0 0 5px 5px;
padding: 0.5em 1em 1em;
min-height: 1.5em;
}
/* ── Quick-links messagebox inside content ── */
.lkframe-quicklinks {
border: 1px solid #99B3FF;
background: #f0f4ff;
padding: 0.4em 0.6em;
border-radius: 4px;
line-height: 1.8;
font-size: 0.92em;
}
.lkframe-quicklinks img {
vertical-align: middle;
margin-right: 4px;
}
/* ── Mobile: allow tab bar to scroll, stack action buttons ── */
@media screen and (max-width: 600px) {
.lkframe-translate {
float: none;
display: block;
text-align: right;
margin-bottom: 0.2em;
}
.lkframe-tab {
font-size: 0.88em;
}
.lkframe-tab a {
padding: 5px 9px;
}
}