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 119: Linha 119:
}
}


.sumario-linha {
.sumario-linha,
   background-image: linear-gradient(to bottom, #ffffff, transparent);  
.sumerio-mostrar {
   background-image: linear-gradient(to bottom, white, transparent);  
   padding: 5px;  
   padding: 5px;  
   border-radius: 7px;
   border-radius: 7px;
}
.sumario-mostrar {
  font-weight: top;
}
.sumario-conteudo {
  background-image: linear-gradient(to top, white, transparent);
  padding: 5px;
  border-radius: 7px;
  margin-bottom: 5px;
}
.sumario-mostrar::after {
  content: "🔽";
  float: right;
}
}


Linha 129: Linha 146:
}
}


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

Edição das 23h53min 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,
.sumerio-mostrar {
  background-image: linear-gradient(to bottom, white, transparent); 
  padding: 5px; 
  border-radius: 7px;
}

.sumario-mostrar {
  font-weight: top;
}

.sumario-conteudo {
  background-image: linear-gradient(to top, white, transparent); 
  padding: 5px; 
  border-radius: 7px;
  margin-bottom: 5px;
}

.sumario-mostrar::after {
  content: "🔽";
  float: right;
}

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

.sumario-linha:hover,
.sumario-mostrar: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;
}