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

Sem resumo de edição
Etiquetas: Reversão manual Revertido
Sem resumo de edição
Etiqueta: Reversão manual
Linha 9: Linha 9:
}
}


/* Fixar barra de ferramentas do visual editor */
/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
     position: fixed;
     position: fixed;
Linha 17: Linha 17:


/* Layout full com conteúdo em bloco */
/* Layout full com conteúdo em bloco */
/* Reset básico contra overflow horizontal */
 
html, body {
.section-full {
   max-width: 100%;
   width: 100vw;
   overflow-x: hidden;
  margin-left: calc(50% - 50vw);
   padding: 70px 0;
}
}


Linha 26: Linha 27:
   max-width: 1400px;
   max-width: 1400px;
   margin: 0 auto;
   margin: 0 auto;
  margin-left: -50vw;
   padding: 0 20px;
   padding: 0 20px;
}
.section-full {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  padding: 70px 0;
}
}


Linha 42: Linha 33:


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


.section-dark {
.section-dark {
   background: #111;
   background: var(--wiki-bg-dark, #111);
   color: white;
   color: white;
}
}
Linha 55: Linha 46:
   position: relative;
   position: relative;
   width: 100vw;
   width: 100vw;
   left: 50%;
   margin-left: calc(50% - 50vw);
  margin-left: -50vw;
   overflow: hidden;
   overflow: hidden;
}
}
Linha 69: Linha 59:
.hero-content {
.hero-content {
   position: absolute;
   position: absolute;
   bottom: 20px;
   bottom: 40px;
   left: 50%;
   left: 50%;
   transform: translateX(-50%);
   transform: translateX(-50%);
Linha 84: Linha 74:
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 20px;
   gap: 20px;
   max-width: 1400px;
   max-width: 1400px;
   margin: 0 auto;
   margin: 0 auto;
  padding: 0 20px;
}
}


Linha 109: Linha 97:
   .split {
   .split {
     flex-direction: column;
     flex-direction: column;
  }
.hero-content {
  bottom: 10px;
   }
   }
}
}