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

Sem resumo de edição
Sem resumo de edição
Etiqueta: Reversão manual
 
(53 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 2: Linha 2:
/* Ocultar título da página principal page-Main_Page */
/* 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; }
body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* ocultar redirect*/
#mw-redirectedfrom, .mw-redirectedfrom {display:none;}
/* Sitenotice*/
.siteNotice {padding-top:0.9em; margin-top:0.4em; text-align:center;}


/* Extension Banner */
/* Aplica css img-fluid para corrigir exibição de imagens versão 1.43 */
.wpb-topbanner-toc {position: relative;}
.mw-file-element {  
.wpb-topbanner .wpb-name {
max-width: 100%;  
    font-size: 2em;
     height: auto;
     font-weight: normal;
}
}
.wpb-banner-toc {
 
     line-height: 2em;
/* Fixar Barra de ferramentas do editor */
     font-weight: bold;
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
    font-size: 1.8em;
     position: fixed;
    font-variant-caps: all-small-caps;
    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;
}
}
.wpb-banner-toc a, .wpb-banner-toc a:visited, .wpb-banner-toc a:active {font-weight: bold;}