Mudanças entre as edições de "MediaWiki: Common.css"
De WikiAjuda
Linha 5: | Linha 5: | ||
} | } | ||
− | h2 | + | h2 { |
counter-reset : h3; | counter-reset : h3; | ||
} | } | ||
Linha 11: | Linha 11: | ||
.newsection h2:before { | .newsection h2:before { | ||
content : counter(h2,decimal) ". "; | content : counter(h2,decimal) ". "; | ||
− | counter-increment : h2 | + | counter-increment : h2; |
} | } | ||
Edição das 01h16min de 26 de abril de 2020
/** o código CSS colocado aqui será aplicado a todos os temas */
body {
counter-reset : h2;
}
h2 {
counter-reset : h3;
}
.newsection h2:before {
content : counter(h2,decimal) ". ";
counter-increment : h2;
}
.newsection h3:before {
content : counter(h2,decimal) "." counter(h3,decimal) ". ";
counter-increment : h3;
}
.h2, h2 {
font-size: 40px;
line-height: auto !important;
margin-top:20px;
}
.form-control.select2-container .select2-choices {
border: 1px solid #aaa !important;
}
.img-mobile.center-block {
max-width: 380px;
height: auto;
}
.newsection img {
visibility: hidden;
}
.steps-item {
display: flex;
align-items: flex-start;
margin-bottom: 1em;
background: #dedede;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.steps-item > div {
flex: 0 min-content;
padding: .5em 1em;
}
.steps-item-number {
color: #444;
font-weight: bold;
font-size: 100%;
}
.steps-item-text {
flex-grow: 1 !important;
border-top: 1px solid #dedede;
background: #fff;
}