Mudanças entre as edições de "MediaWiki: Common.css"
De WikiAjuda
(48 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
/** o código CSS colocado aqui será aplicado a todos os temas */ | /** o código CSS colocado aqui será aplicado a todos os temas */ | ||
− | + | body { | |
− | + | counter-reset : h2; | |
− | |||
− | |||
} | } | ||
− | + | h2 { | |
− | + | counter-reset : h3; | |
− | |||
} | } | ||
− | .newsection | + | |
− | + | .newsection h2:before { | |
− | + | content : counter(h2,decimal) ". "; | |
− | + | counter-increment : h2; | |
− | |||
} | } | ||
− | + | .newsection h2.nocounter:before { | |
− | + | content : ""; | |
− | + | counter-increment : none; | |
} | } | ||
− | + | /** | |
− | + | .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; | |
− | margin- | + | align-items: flex-start; |
− | border-top- | + | margin-bottom: 1em; |
− | border-bottom- | + | 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; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | border-top | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | background: # | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .client-js .editButtons .editHelp { | |
− | + | display: inline-block !important; | |
− | |||
} | } | ||
− | . | + | .page-Página_principal .sidebar-wrapper, |
− | + | .page-Página_principal .comments-body, | |
+ | .page-Página_principal .nomain, .gobottom { | ||
+ | display: none; | ||
} | } | ||
− | . | + | .jumbotron p { |
− | + | font-weight: 300; | |
} | } |
Edição atual tal como às 15h39min de 10 de abril de 2021
/** 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 h2.nocounter:before {
content : "";
counter-increment : none;
}
/**
.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;
}
.client-js .editButtons .editHelp {
display: inline-block !important;
}
.page-Página_principal .sidebar-wrapper,
.page-Página_principal .comments-body,
.page-Página_principal .nomain, .gobottom {
display: none;
}
.jumbotron p {
font-weight: 300;
}