MediaWiki:Common.css: mudanças entre as edições

De Wiki@DCOM
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 2: Linha 2:


.coluna-sumario {
.coluna-sumario {
    width:80%;
  width: 80%;
}
}


.coluna-botoes {
.coluna-botoes {
    vertical-align: top;  
  vertical-align: top;  
    padding-left: 20px;  
  padding-left: 20px;  
    padding-right: 20px;  
  padding-right: 20px;  
    color: darkblue;
  color: darkblue;
}
}


.botao {
.botao {
    width: 120px;  
  width: 120px;  
    border-radius: 10px;  
  border-radius: 10px;  
    background-image: radial-gradient(white, white, #bae4ff);  
  background-image: radial-gradient(white, white, #bae4ff);  
    margin: 0 10px 20px 10px;
  margin: 0 10px 20px 10px;
    min-height: 100px;
  min-height: 100px;
    text-align: center;
  text-align: center;
    display: grid;
  display: grid;
    font-weight: bold;
  font-weight: bold;
    padding: 5px;
  padding: 5px;
    transition: transform 250ms;
  transition: transform 250ms;
}
}


.botao:hover {
.botao:hover {
    transform: scale(0.9);
  transform: scale(0.9);
    background: #bae4ff;  
  background: #bae4ff;  
}
}


.coluna-novidades {
.coluna-novidades {
    box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
                inset 0 -3px 6px 0 rgba(0,0,0,.2),  
              inset 0 -3px 6px 0 rgba(0,0,0,.2),  
                0 3px 2px 0 rgba(0,0,0,.2);  
              0 3px 2px 0 rgba(0,0,0,.2);  
    width: 20%;  
  width: 20%;  
    vertical-align: top;  
  vertical-align: top;  
    padding: 10px;  
  padding: 10px;  
    font-size: 90%;  
  font-size: 90%;  
    text-align: center;  
  text-align: center;  
    background-image: linear-gradient(to bottom right, lightgray, white);  
  background-image: linear-gradient(to bottom right, lightgray, white);  
    border-radius: 20px;
  border-radius: 20px;
}
}


.sombra {
.sombra {
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), inset 0 -3px 6px 0 rgba(0,0,0,.2), 0 3px 2px 0 rgba(0,0,0,.2)
box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
            inset 0 -3px 6px 0 rgba(0,0,0,.2),  
            0 3px 2px 0 rgba(0,0,0,.2);
}
}


Linha 54: Linha 56:
   margin-top: 0.5em;  
   margin-top: 0.5em;  
   margin-bottom: 0.5em;  
   margin-bottom: 0.5em;  
   border-radius:10px
   border-radius: 10px;
}
}


.caixa div {
.caixa div {
   margin-left: 0.5em
   margin-left: 0.5em;
}
}


.info {
.info {
   background:#bae4ff
   background: #bae4ff;
}
}


Linha 70: Linha 72:
   overflow: hidden;  
   overflow: hidden;  
   padding-left: 0.5em;  
   padding-left: 0.5em;  
   box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), inset 0 -3px 6px 0 rgba(0,0,0,.2), 0 3px 2px 0 rgba(0,0,0,.2);  
   box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
   border-radius:10px
              inset 0 -3px 6px 0 rgba(0,0,0,.2),  
              0 3px 2px 0 rgba(0,0,0,.2);  
   border-radius: 10px;
}
}


.tabs-tabbox > .tabs-input:checked + .tabs-label {
.tabs-tabbox > .tabs-input:checked + .tabs-label {
   font-weight: bold;
   font-weight: bold;
   color: rgb(0,56,147)
   color: rgb(0,56,147);
}
}


.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
   font-weight: bold;
   font-weight: bold;
   color: rgb(0,56,147)
   color: rgb(0,56,147);
}
}


.tabs-label {
.tabs-label {
   background-color: rgb(0,56,147);
   background-color: rgb(0,56,147);
   color: white
   color: white;
}
}


Linha 92: Linha 96:
   font-weight: bold;
   font-weight: bold;
   color: rgb(0,56,147);
   color: rgb(0,56,147);
   background-color: white
   background-color: white;
}
}


.tabs-content {
.tabs-content {
   width: 100%
   width: 100%;
}
}


Linha 110: Linha 114:
}
}


.mw-collapsible-toggle-default:before, .mw-collapsible-toggle-default:after {
.mw-collapsible-toggle-default:before,  
    display: none;
.mw-collapsible-toggle-default:after {
  display: none;
}
}


.indice-linha {
.sumario-linha {
    background-image: linear-gradient(to bottom, #ffffff, transparent);  
  background-image: linear-gradient(to bottom, #ffffff, transparent);  
    padding: 5px;  
  padding: 5px;  
    border-radius: 7px;
  border-radius: 7px;
}
}


.indice-linha div:first-of-type {
.sumario-linha div:first-of-type {
    font-weight: bold;
  font-weight: bold;
}
}


.indice-linha:hover {
.sumario-linha:hover {
    background:linear-gradient(to bottom, white, lightgray);
  background:linear-gradient(to bottom, white, lightgray);
}
}


.indice-grupo {
.sumario-imagem {
    width: 150px;  
  width: 150px;  
    text-align: center;  
  text-align: center;  
    vertical-align: top;  
  vertical-align: top;  
    border-radius: 10px;  
  border-radius: 10px;  
    padding-top: 10px;
  padding-top: 10px;
    font-weight: bold;
  font-weight: bold;
    color: darkblue;
  color: darkblue;
}
}


.indice-grupo + td {
.sumario-imagem + td {
   vertical-align: top;
   vertical-align: top;
}
}


.indice-tabela {
.sumario-grupo {
    width: 100%;  
  width: 100%;  
    vertical-align: top;  
  vertical-align: top;  
    margin: 0;  
  margin: 0;  
    box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3),  
                inset 0 -3px 6px 0 rgba(0,0,0,.2),  
              inset 0 -3px 6px 0 rgba(0,0,0,.2),  
                0 3px 2px 0 rgba(0,0,0,.2);  
              0 3px 2px 0 rgba(0,0,0,.2);  
    border-radius: 10px;
  border-radius: 10px;
    margin-bottom: 20px;
  margin-bottom: 20px;
}
}


.indice-impar {
.sumario-impar {
    background: #bae4ff;
  background: #bae4ff;
}
}


.indice-par {
.sumario-par {
    background: #e8f7fc;
  background: #e8f7fc;
}
}

Edição das 23h09min de 27 de maio de 2024

/** o código CSS colocado aqui será aplicado a todos os temas */

.coluna-sumario {
  width: 80%;
}

.coluna-botoes {
  vertical-align: top; 
  padding-left: 20px; 
  padding-right: 20px; 
  color: darkblue;
}

.botao {
  width: 120px; 
  border-radius: 10px; 
  background-image: radial-gradient(white, white, #bae4ff); 
  margin: 0 10px 20px 10px;
  min-height: 100px;
  text-align: center;
  display: grid;
  font-weight: bold;
  padding: 5px;
  transition: transform 250ms;
}

.botao:hover {
  transform: scale(0.9);
  background: #bae4ff; 
}

.coluna-novidades {
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), 
              inset 0 -3px 6px 0 rgba(0,0,0,.2), 
              0 3px 2px 0 rgba(0,0,0,.2); 
  width: 20%; 
  vertical-align: top; 
  padding: 10px; 
  font-size: 90%; 
  text-align: center; 
  background-image: linear-gradient(to bottom right, lightgray, white); 
  border-radius: 20px;
}

.sombra {
box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), 
            inset 0 -3px 6px 0 rgba(0,0,0,.2), 
            0 3px 2px 0 rgba(0,0,0,.2);
}

.caixa {
  display: flex; 
  align-items: center; 
  overflow: hidden; 
  padding-left: 0.5em; 
  margin-top: 0.5em; 
  margin-bottom: 0.5em; 
  border-radius: 10px;
}

.caixa div {
  margin-left: 0.5em;
}

.info {
  background: #bae4ff;
}

.tabs-container {
  display: flex; 
  align-items: center; 
  overflow: hidden; 
  padding-left: 0.5em; 
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), 
              inset 0 -3px 6px 0 rgba(0,0,0,.2), 
              0 3px 2px 0 rgba(0,0,0,.2); 
  border-radius: 10px;
}

.tabs-tabbox > .tabs-input:checked + .tabs-label {
  font-weight: bold;
  color: rgb(0,56,147);
}

.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
  font-weight: bold;
  color: rgb(0,56,147);
}

.tabs-label {
  background-color: rgb(0,56,147);
  color: white;
}

.tabs-label:hover {
  font-weight: bold;
  color: rgb(0,56,147);
  background-color: white;
}

.tabs-content {
  width: 100%;
}

@media screen {
hr {
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(to right,white,#ccc,white) 1;
  margin: 15px auto;
  width: 90%;
  height: 0;
}
}

.mw-collapsible-toggle-default:before, 
.mw-collapsible-toggle-default:after {
  display: none;
}

.sumario-linha {
  background-image: linear-gradient(to bottom, #ffffff, transparent); 
  padding: 5px; 
  border-radius: 7px;
}

.sumario-linha div:first-of-type {
  font-weight: bold;
}

.sumario-linha:hover {
  background:linear-gradient(to bottom, white, lightgray);	
}

.sumario-imagem {
  width: 150px; 
  text-align: center; 
  vertical-align: top; 
  border-radius: 10px; 
  padding-top: 10px;
  font-weight: bold;
  color: darkblue;
}

.sumario-imagem + td {
  vertical-align: top;
}

.sumario-grupo {
  width: 100%; 
  vertical-align: top; 
  margin: 0; 
  box-shadow: inset 0 2px 3px 0 rgba(255,255,255,.3), 
              inset 0 -3px 6px 0 rgba(0,0,0,.2), 
              0 3px 2px 0 rgba(0,0,0,.2); 
  border-radius: 10px;
  margin-bottom: 20px;
}

.sumario-impar {
  background: #bae4ff;
}

.sumario-par {
  background: #e8f7fc;
}