Template:Strategy/Wikimedia movement/2018-20/Header/styles.css
Appearance
/* {{PP-template}} */
.wmstrategy {
margin: 1em 0;
box-sizing: border-box;
clear: both;
background-color: var(--background-color-base, #fff);
color: var(--color-base, #202122);
}
.wmstrategy-tabs {
display: flex;
flex-direction: column;
flex-wrap: wrap;
text-align: center; /* noflex */
}
.wmstrategy-tab {
flex:1 1 0;
width: 100%;
margin: 0;
box-sizing: border-box;
background-color: inherit;
padding: 1em;
font-weight: bold;
border-top: 0.2em solid var(--background-color-neutral-subtle, #f8f9fa);
text-transform: uppercase;
}
.wmstrategy-tab.selected {
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border-left: 0.5em solid #36c;
}
.wmstrategy-tab a {
color:#36c;
}
.wmstrategy-content {
font-size: 1.2em;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border-bottom: 2px solid #36c;
padding: 1em;
}
.wmstrategy-break {
clear:both;
}
@media (min-width:550px) {
.wmstrategy-tabs {
flex-direction: row;
padding: 0;
margin-top: 0 !important; /* cancels out the sibling styling */
}
.wmstrategy-tabs > .wmstrategy-tab {
display: inline-block; /* noflex */
vertical-align:bottom; /* noflex */
white-space: nowrap;
width: auto;
margin: 0 .2em 0 0;
border-top: .5em solid #36c;
font-size: 1.5em;
}
.wmstrategy-tab.selected {
border-left: 0;
}
}
@media (min-width:1000px) {
.wmstrategy-tabs > .wmstrategy-tab {
flex: 0 1 0;
}
}