Mudanças entre as edições de "MediaWiki: Common.css"

De WikiAjuda
Ir para: navegação, pesquisa
 
(5 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 18: Linha 18:
 
     counter-increment : none;
 
     counter-increment : none;
 
}
 
}
 
+
/**
 
.newsection h3:before {
 
.newsection h3:before {
 
     content : counter(h2,decimal) "." counter(h3,decimal) ". ";
 
     content : counter(h2,decimal) "." counter(h3,decimal) ". ";
 
     counter-increment : h3;
 
     counter-increment : h3;
 
}
 
}
 +
*/
  
 
.h2, h2 {
 
.h2, h2 {
Linha 70: Linha 71:
 
.client-js .editButtons .editHelp {
 
.client-js .editButtons .editHelp {
 
     display: inline-block !important;
 
     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;
}