Ir para o conteúdo

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

De Big2be
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
/* Fonte moderna */
/* === Fonte Moderna === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap');


/* === Estilo base === */
body {
body {
   font-family: 'Space Grotesk', sans-serif;
   font-family: 'Space Grotesk', sans-serif;
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   color: #111;
   color: #111;
  margin: 0;
  padding: 0;
   font-size: 16px;
   font-size: 16px;
   line-height: 1.7;
   line-height: 1.7;
  margin: 0;
  padding: 0;
}
}


/* Container principal */
/* === Remover elementos laterais === */
#content {
#mw-panel,
   max-width: 1000px;
#p-logo,
   margin: 40px auto;
#mw-head-base,
   padding: 40px;
#mw-navigation {
  display: none !important;
}
 
/* === Tela cheia no conteúdo === */
#content,
#mw-content-text {
  width: 100%;
   max-width: none;
   margin: 0;
   padding: 60px 10vw;
  box-sizing: border-box;
   background: white;
   background: white;
   border: 1px solid #ccc;
   border: none;
  border-radius: 12px;
   box-shadow: none;
   box-shadow: 4px 4px 0px #000;
}
}


/* Cabeçalho */
/* === Cabeçalho moderno === */
#mw-head {
#mw-head {
   background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
   background: #fff;
  padding: 20px 10vw;
   border-bottom: 2px solid #000;
   border-bottom: 2px solid #000;
   padding: 20px;
   position: sticky;
  top: 0;
  z-index: 1000;
}
}
#p-personal {
#mw-head a {
  display: none;
}
 
/* Barra lateral */
#mw-panel {
  background-color: #fff;
  border-right: 2px solid #000;
  padding-top: 20px;
}
#mw-panel .portal {
  border: none;
  margin-bottom: 16px;
}
#mw-panel .portal h3 {
  font-size: 14px;
  font-weight: bold;
   color: #111;
   color: #111;
   text-transform: uppercase;
   font-weight: 600;
}
   margin-right: 20px;
#mw-panel .body ul {
  list-style: none;
  padding-left: 0;
}
#mw-panel .body ul li a {
  color: #0066ff;
  text-decoration: none;
}
#mw-panel .body ul li a:hover {
   text-decoration: underline;
}
}


/* Títulos */
/* === Títulos === */
h1, h2, h3, h4 {
h1, h2, h3, h4 {
   color: #000;
   color: #000;
Linha 69: Linha 60:
}
}


/* Links */
/* === Links === */
a {
a {
   color: #0066ff;
   color: #0066ff;
Linha 80: Linha 71:
}
}


/* Botões */
/* === Botões === */
input[type="submit"], .mw-ui-button, button {
input[type="submit"],
.mw-ui-button,
button {
   background: #000;
   background: #000;
   color: #fff;
   color: #fff;
Linha 91: Linha 84:
   text-transform: uppercase;
   text-transform: uppercase;
}
}
input[type="submit"]:hover, .mw-ui-button:hover, button:hover {
input[type="submit"]:hover,
.mw-ui-button:hover,
button:hover {
   background: #333;
   background: #333;
}
}


/* Rodapé */
/* === Tabelas === */
#footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #555;
  border-top: 2px solid #000;
}
 
/* Tabelas */
table {
table {
   width: 100%;
   width: 100%;
Linha 120: Linha 105:
}
}


/* Área de edição */
/* === Rodapé === */
textarea, input[type="text"], input[type="search"] {
#footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #555;
  border-top: 2px solid #000;
}
 
/* === Áreas de formulário === */
textarea,
input[type="text"],
input[type="search"],
input[type="password"],
select {
   border: 2px solid #000;
   border: 2px solid #000;
   padding: 10px;
   padding: 10px;
Linha 128: Linha 127:
   background-color: #fff;
   background-color: #fff;
   font-family: 'Space Grotesk', sans-serif;
   font-family: 'Space Grotesk', sans-serif;
  box-sizing: border-box;
}
}


/* Logotipo customizado opcional */
/* === Oculta elementos vazios ou inúteis === */
#p-logo a {
.mw-portlet-empty,
   display: block;
#siteSub,
   background-image: url('/wiki/Especial:Arquivo/logo_nova.png');
#contentSub,
   background-size: contain;
#jump-to-nav {
   background-repeat: no-repeat;
   display: none;
   background-position: center;
}
   height: 70px;
 
   width: 160px;
/* === Ajuste para TOC (sumário) === */
   margin: auto;
#toc {
   background: #fff;
  border: 2px solid #000;
   padding: 20px;
   margin: 40px 0;
   border-radius: 8px;
}
#toc a {
   color: #111;
   font-weight: 600;
}
#toc a:hover {
   color: #0066ff;
}
}


/* Remoção de detalhes visuais antigos */
/* === Responsividade básica === */
#toc, .mw-portlet-empty {
@media (max-width: 768px) {
  background: none !important;
  #mw-head {
   border: none !important;
    flex-direction: column;
    align-items: flex-start;
  }
  #content,
  #mw-content-text {
    padding: 40px 5vw;
   }
}
}

Edição das 09h23min de 22 de julho de 2025

/* === Fonte Moderna === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap');

/* === Estilo base === */
body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #f9f9f9;
  color: #111;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* === Remover elementos laterais === */
#mw-panel,
#p-logo,
#mw-head-base,
#mw-navigation {
  display: none !important;
}

/* === Tela cheia no conteúdo === */
#content,
#mw-content-text {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 60px 10vw;
  box-sizing: border-box;
  background: white;
  border: none;
  box-shadow: none;
}

/* === Cabeçalho moderno === */
#mw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 10vw;
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#mw-head a {
  color: #111;
  font-weight: 600;
  margin-right: 20px;
}

/* === Títulos === */
h1, h2, h3, h4 {
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
  margin-top: 40px;
}

/* === Links === */
a {
  color: #0066ff;
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: #0033aa;
  text-decoration: underline;
}

/* === Botões === */
input[type="submit"],
.mw-ui-button,
button {
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}
input[type="submit"]:hover,
.mw-ui-button:hover,
button:hover {
  background: #333;
}

/* === Tabelas === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
th, td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}
th {
  background-color: #eee;
}

/* === Rodapé === */
#footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #555;
  border-top: 2px solid #000;
}

/* === Áreas de formulário === */
textarea,
input[type="text"],
input[type="search"],
input[type="password"],
select {
  border: 2px solid #000;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
  background-color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  box-sizing: border-box;
}

/* === Oculta elementos vazios ou inúteis === */
.mw-portlet-empty,
#siteSub,
#contentSub,
#jump-to-nav {
  display: none;
}

/* === Ajuste para TOC (sumário) === */
#toc {
  background: #fff;
  border: 2px solid #000;
  padding: 20px;
  margin: 40px 0;
  border-radius: 8px;
}
#toc a {
  color: #111;
  font-weight: 600;
}
#toc a:hover {
  color: #0066ff;
}

/* === Responsividade básica === */
@media (max-width: 768px) {
  #mw-head {
    flex-direction: column;
    align-items: flex-start;
  }
  #content,
  #mw-content-text {
    padding: 40px 5vw;
  }
}