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

Sem resumo de edição
Sem resumo de edição
Etiqueta: Reversão manual
 
(300 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 */
/* Ocultar título da página principal page-Main_Page */
/* Ocultar título da página principal page-Main_Page */
body.page-Dicionário_de_Favelas_Marielle_Franco.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }


/* ocultar redirect */
/* Aplica css img-fluid para corrigir exibição de imagens versão 1.43 */
#mw-redirectedfrom, .mw-redirectedfrom {display:none;}
.mw-file-element {
max-width: 100%;
    height: auto;
}
 
/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
    position: fixed;
    top: 4rem;
    border-top: 0;
}


.wiki-docs-header {padding-top: 2em;padding-bottom: 2em;}
/* Layout full com conteúdo em bloco */


.jumbotron {background-image: url('//images/1/12/Criandotitulo.png')
.section-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 70px 0;
}
}


.btn-eixo1, .btn-eixo1 a {background-color:#CF2800; color:#fff; text-decoration:none; padding:1.5rem!important; font-weight: 400!important; border-radius:4px; min-height:5em; text-align: center; vertical-align: middle;}
.section-inner {
.btn-eixo2, .btn-eixo2 a {background-color:#75B82B; color:#fff; text-decoration:none; padding:1.5rem!important; font-weight: 400!important; border-radius:4px; min-height:5em; text-align: center; vertical-align: middle;}
  max-width: 1400px;
.btn-eixo3, .btn-eixo3 a {background-color:#763687; color:#fff; text-decoration:none; padding:1.5rem!important; font-weight: 400!important; border-radius:4px; min-height:5em; text-align: center; vertical-align: middle;}
  margin: 0 auto;
.btn-eixo4, .btn-eixo4 a {background-color:#00A8A6; color:#fff; text-decoration:none; padding:1.5rem!important; font-weight: 400!important; border-radius:4px; min-height:5em; text-align: center; vertical-align: middle;}
  padding: 1em 4em;
}


.tagcloud a:link, .tagcloud a:visited, .tagcloud a:active  {color: #eb6864; background-color: transparent; border: 0 solid #eee; padding: 15px 10px 15px 10px; text-align: center; width: 98%;}
/* Background variante */


.section-light {
  background: var(--wiki-bg-light, #f5f5f5);
}


/* CSS Sliding Image Gallery for Mediawiki
.section-dark {
*
  background: var(--wiki-bg-dark, #ddd);
* @author: Unknown
  color: white;
* current version crafted together by [[User:Christharp]] from several CSS sites.
}
*/


/* Galeria de imagens Carrousel*/
/* Hero */
.wrapper {
 
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
 
.hero img {
  width: 100%;
  height: clamp(260px, 45vh, 520px);
  object-fit: cover;
  display: block;
}
 
.hero-content {
   position: absolute;
   position: absolute;
   top: 1%;
   bottom: 40px;
   width: 4000px;
   left: 50%;
-webkit-animation: 60s credits linear infinite;
  transform: translateX(-50%);
-moz-animation: 60s credits linear infinite;
  max-width: 1400px;
-ms-animation:60s credits linear infinite;
  width: 100%;
-o-animation: 60s credits linear infinite;
  padding: 1em 4em;
animation: 60s credits linear infinite;
  color: white;
}
}


.wrapper img:hover {
/* Card grid */
    -webkit-transform: scale(1.4);
 
    -moz-transform: scale(1.4);
.card-grid {
    -o-transform: scale(1.4);
  display: flex;
    -ms-transform: scale(1.4);
  flex-wrap: wrap;
    transform: scale(1.4);
  gap: 20px;
    cursor: pointer;
  max-width: 1400px;
  margin: 0 auto;
}
}
@keyframes credits {
 
   0% {
/* Split layout */
    margin-left: 0px;
 
}
.split {
100% {
   display: flex;
    margin-left: -4000px;
  gap: 40px;
}
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
 
.split > div {
  flex: 1;
}
}


@-webkit-keyframes credits {
/* mobile */
   0% {
@media (max-width: 768px) {
  margin-left: 0px;
   .split {
  }
     flex-direction: column;
100% {
     margin-left: -4000px;
   }
   }
}
/*  Infobox */


.infobox-modern {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  max-width: 360px;
}
}
@-moz-keyframes credits {
 
   0% {
.infobox-modern h3 {
    margin-left: 0px;
   margin-top: 0;
}
  font-size: 18px;
100% {
  border-bottom: 1px solid #eee;
    margin-left: -4000px;
  padding-bottom: 8px;
}
}
}
@-o-keyframes credits {
 
   0% {
.infobox-row {
    margin-left: 0px;
   display: flex;
}
  justify-content: space-between;
100% {
  padding: 6px 0;
    margin-left: -4000px;
  border-bottom: 1px solid #f0f0f0;
}
}
}

Edição atual tal como às 15h44min de 18 de abril de 2026

/** o código CSS colocado aqui será aplicado a todos os temas */
/* Ocultar título da página principal page-Main_Page */
body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* Aplica css img-fluid para corrigir exibição de imagens versão 1.43 */
.mw-file-element { 
	max-width: 100%; 
    height: auto;
}

/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
    position: fixed;
    top: 4rem;
    border-top: 0;
}

/* Layout full com conteúdo em bloco */

.section-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 70px 0;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1em 4em;
}

/* Background variante */

.section-light {
  background: var(--wiki-bg-light, #f5f5f5);
}

.section-dark {
  background: var(--wiki-bg-dark, #ddd);
  color: white;
}

/* Hero */

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: clamp(260px, 45vh, 520px);
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: 100%;
  padding: 1em 4em;
  color: white;
}

/* Card grid */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Split layout */

.split {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.split > div {
  flex: 1;
}

/* mobile */
@media (max-width: 768px) {
  .split {
    flex-direction: column;
  }
}

/*  Infobox */

.infobox-modern {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  max-width: 360px;
}

.infobox-modern h3 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.infobox-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}
Cookies nos ajudam a entregar nossos serviços. Ao usar nossos serviços, você concorda com o uso de cookies.