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

De WikiAjuda
Ir para: navegação, pesquisa
 
(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 */
  
/* Images */
+
body {
.image img {
+
     counter-reset : h2;
     width: 100%;
 
    height:auto
 
 
}
 
}
  
/* Sections */
+
h2 {
.mw-collapsible-toggle {
+
     counter-reset : h3;
     margin-top: -2.5em
 
 
}
 
}
.newsection .jumbotron h2 {
+
 
  font-size: 64px !important;
+
.newsection h2:before {
}
+
    content : counter(h2,decimal) ". ";
.newsection .jumbotron div {
+
    counter-increment : h2;
  font-size: 24px !important;
 
 
}
 
}
  
/* Forms */
+
.newsection h2.nocounter:before {
#pfForm .select2-container-multi .select2-choices {
+
     content : "";
     min-height: 60px;
+
    counter-increment : none;
 
}
 
}
#pfForm select,  
+
/**
#pfForm input[type="checkbox"] {
+
.newsection h3:before {
    width:100% !important;  
+
    content : counter(h2,decimal) "." counter(h3,decimal) ". ";
 +
    counter-increment : h3;
 
}
 
}
.input-group {
+
*/
     padding: .5em 0;
+
 
 +
.h2, h2 {
 +
    font-size: 40px;
 +
    line-height: auto !important;
 +
     margin-top:20px;
 
}
 
}
.input-group .form-control {
+
 
     margin-left: -4px !important;
+
.form-control.select2-container .select2-choices {
 +
     border: 1px solid #aaa !important;
 
}
 
}
.input-group-addon {
+
 
     min-width:110px;
+
.img-mobile.center-block {
 +
     max-width: 380px;
 +
    height: auto;
 
}
 
}
label.radioButtonItem {
+
 
     padding: 0 16px !important;
+
.newsection img {
    border: 0;
+
     visibility: hidden;
    box-shadow: none;
 
    width: 100%;
 
    margin-top: -5px;
 
    background: transparent;
 
 
}
 
}
.wikiEditor-ui {
+
 
     background-color: #eee;
+
.steps-item {
     border: 1px solid #bdbdbd;
+
     display: flex;
     margin-left: -4px;
+
     align-items: flex-start;
     border-top-right-radius: 4px;
+
     margin-bottom: 1em;
     border-bottom-right-radius: 4px;
+
    background: #dedede;
    padding-left: 4px;
+
     border-top-left-radius: 10px;
    border-left: none;
+
     border-bottom-left-radius: 10px;
 
}
 
}
.wikiEditor-ui .wikiEditor-ui-view {
+
 
     border: none;
+
.steps-item > div {
 +
    flex: 0 min-content;
 +
     padding: .5em 1em;
 
}
 
}
.wikiEditor-ui-toolbar {
+
 
     background-image: none;
+
.steps-item-number {
 +
     color: #444;
 +
    font-weight: bold;
 +
    font-size: 100%;
 
}
 
}
.wikiEditor-ui .wikiEditor-ui-top {
+
 
     border-bottom: none;
+
.steps-item-text {
}
+
     flex-grow: 1 !important;
.form-control {
+
     border-top: 1px solid #dedede;
    border-top-left-radius: 0 !important;
+
     background: #fff;
    border-bottom-left-radius: 0 !important;
 
    border-top-right-radius: 4px !important;
 
    border-bottom-right-radius: 4px !important;
 
    z-index: 1 !important;
 
}
 
.form-control-description {
 
  padding-top: .6em;
 
}
 
.shift {
 
    margin-left: -4px !important;
 
     border-top-left-radius: 0 !important;
 
    border-bottom-left-radius: 0 !important;
 
}
 
.gp-datepicker {
 
    padding:6px 10px !important;
 
    margin-left:-4px  !important;
 
    background-image:none  !important;
 
    border:1px solid #bdbdbd  !important;
 
    border-top-right-radius:4px  !important;
 
    border-bottom-right-radius:4px  !important;
 
}
 
.gp-datepicker:hover {
 
    background-image:none  !important;
 
     background: #eee  !important;
 
}
 
label.checkboxLabel.gp-checkbox {
 
    white-space: nowrap;
 
    padding: 2px 6px 0 4px;
 
 
}
 
}
#pfForm input[type="checkbox"] {
+
.client-js .editButtons .editHelp {
     width: auto !important;
+
     display: inline-block !important;
    margin: -5px auto;
 
 
}
 
}
.checkboxLabel {
+
.page-Página_principal .sidebar-wrapper,
     width:100%;
+
.page-Página_principal .comments-body,
 +
.page-Página_principal .nomain, .gobottom {
 +
     display: none;
 
}
 
}
.multipleTemplateInstance {
+
.jumbotron p {
     background-color: #fcfcfc;
+
     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;
}