From Meta, a Wikimedia project coordination wiki
.gallerybox {
width: 150px !important;
margin-right: 13px;
}
.gallerybox > div {
width: 150px !important;
}
.gallerybox .thumb {
max-width: 150px;
overflow: hidden;
border-radius: 5px;
}
.gallerybox .thumb div img {
object-fit: none;
object-position: center;
width: 150px;
}
h3, h3 .mw-headline a {
font-size: 1.375rem;
color: #888;
}
h3::before {
content: "↳";
padding-right: 6px;
}
.mw-heading2 {
border-bottom: 0;
}
h2 .mw-headline {
display: block;
position: relative;
padding-bottom: .5rem;
border-bottom: 2px solid #212025;
font-weight: 700;
}
h2 .mw-headline a {
color: black;
}
.tocnumber, .toctitle, .toclevel-1 ul {
display: none;
}
.wmsc-staff-outer {
max-width: 1060px;
/* margin: auto; */
}
@media (min-width: 768px) {
.wmsc-staff-gallery {
display: flex;
}
#toc {
position: sticky;
width: 32%;
top: 0;
max-height: 100vh;
}
.wmsc-staff-gallery > #toc + div {
width: 68%;
}
h2 .mw-headline {
margin-top: 11px;
margin-bottom: 19px;
}
}
#toc {
top: 30px;
font-weight: 600;
font-size: 16px;
margin-top: 45px;
padding-right: 20px;
border: 0;
background: none;
}
.toclevel-1 a {
display: block;
margin-bottom: 15px;
text-decoration: none;
line-height: normal;
}
.wmsc-staff-gallery > #toc > ul {
display: block;
}