Шаблон:Кобра/styles.css
Перейти к навигации
Перейти к поиску
.center { /* Minerva skin doesn't provide this */
text-align: center;
}
.cobra-banner-image {
max-width: 100%;
height: 100%;
object-fit: contain;
margin-top: 1vh;
}
.cobra-subtitle {
text-align: center;
}
.cobra-header {
display: flex;
flex-direction:row;
flex-wrap: wrap;
text-align:center; /* noflex */
padding: 5px;
margin-bottom:1em;
}
.cobra-header + .cobra-header {
margin-top: -2em;
}
.cobra-header > .cobra-tab {
display:inline-block; /* noflex */
flex:1 1 0;
align-self: flex-end;
vertical-align:bottom; /* noflex */
text-align:center;
font-size:larger;
margin: 5px;
}
.cobra-tab > .black-marker {
visibility: hidden;
background-color: #808080;
height: 0.6em;
}
.cobra-tab.selected > .black-marker {
visibility: visible;
}
@media (max-width:550px) {
.cobra-header {
flex-direction:column;
padding:0;
margin-top: 0!important; /* cancels out the sibling styling */
}
.cobra-header > .cobra-tab {
width: 100%;
margin:0;
}
/* At smaller sizes we make the hr the green marker */
.cobra-tab > .black-marker {
display:none;
}
.cobra-tab > p {
margin:0 2vw 0 2vw;
}
.cobra-tab.selected > hr {
background-color: #808080;
height: 5px;
}
}
@media (min-width:551px) {
.cobra-subtitle {
font-size:155%;
}
}