MediaWiki:Common.css

De Wiki@DCOM
Revisão de 00h31min de 28 de maio de 2024 por Fabio.frozza (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */

:root {
  --fundo-par: #e8f7fc;
  --fundo-impar: #bae4ff;
  --texto-sumario: darkblue;
}

.coluna-sumario {
  width: 80%;
}

.coluna-botoes {
  vertical-align: top; 
  padding-left: 20px; 
  padding-right: 20px; 
  color: var(--texto-sumario);
}

.botao {
  width: 120px; 
  border-radius: 10px; 
  background-image: radial-gradient(white, white, var(--fundo-impar); 
  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: var(--fundo-impar); 
}

.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-impar {
  background: var(--fundo-impar);
}

.sumario-par {
  background: var(--fundo-par);
}

.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-imagem {
  width: 150px; 
  text-align: center; 
  vertical-align: top; 
  border-radius: 10px; 
  padding-top: 10px;
  font-weight: bold;
  color: var(--texto-sumario);
}

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

.sumario-linha,
.sumario-mostrar {
  background-image: linear-gradient(to bottom, white, transparent); 
  padding: 5px; 
  border-radius: 7px;
  font-weight: bold;
}

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

.sumario-mostrar {
  font-weight: bold;
  color: darkblue;
}

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

.sumario-mostrar:hover {
  background:linear-gradient(to bottom, white, lightgray);	
  border-radius: 7px 7px 0 0 ;
}

.sumario-mostrar:hover + .sumario-conteudo {
  background:linear-gradient(to top, white, lightgray);	
}

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