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

De Doctor View Wiki
Ir para: navegação, pesquisa
Linha 2: Linha 2:
  
 
.pai{ display: grid;
 
.pai{ display: grid;
 +
    grid-row-gap: 2px;
 +
    grid-column-gap: 2px;
 +
    grid-template-columns: repeat(2);
 +
    grid-template-rows: repeat(3);
 
}
 
}
  
Linha 14: Linha 18:
 
}
 
}
  
.card1 {border: solid 2px rgb(216, 119, 119);
+
.card1 {
 
         grid-area: 2 / 1 / 3 /2;
 
         grid-area: 2 / 1 / 3 /2;
        padding: 3px;
+
     
 
}
 
}
.card2 {border: solid 2px rgb(216, 119, 119);
+
.card2 {
 
         grid-area: 2 / 2 / 3 /3;
 
         grid-area: 2 / 2 / 3 /3;
        padding: 3px;
+
     
 
}
 
}
  

Edição das 17h41min de 4 de setembro de 2025

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

.pai{ display: grid;
    grid-row-gap: 2px;
    grid-column-gap: 2px;
    grid-template-columns: repeat(2);
    grid-template-rows: repeat(3);
}

.banner{ grid-area: 1 / 1 / 2 /2;
text-align: center;
}
.banner h3{ 
text-align: center;
}
.banner h4{ 
text-align: center;
}

.card1 {
        grid-area: 2 / 1 / 3 /2;
       
}
.card2 {
        grid-area: 2 / 2 / 3 /3;
       
}

.imagem-zoom {
  width: 300px; 
  height: auto; 
  transition: transform 0.3s ease-in-out; 
}


.imagem-zoom:hover {
  transform: scale(1.1);
}