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:
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;500&display=swap');
/* GERAL */
body {
  background-color: #f5f7fa;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #2c3e50;
  line-height: 1.6;
}


/* RESET */
/* CABEÇALHO */
* {
#mw-page-base, #mw-head-base {
   margin: 0;
   background: none !important;
   padding: 0;
}
   box-sizing: border-box;
#p-personal, #p-navigation, #left-navigation, #right-navigation {
   background-color: #1e1e2f;
   color: #fff;
  border-radius: 8px;
  margin: 0 5px;
  padding: 8px;
}
}
body {
#p-personal a, #p-navigation a {
  font-family: 'Inter', sans-serif;
   color: #fff !important;
  background: linear-gradient(160deg, #0d0d0d, #1a1a1a);
   color: #f0f0f0;
  background-attachment: fixed;
  overflow-x: hidden;
}
}


/* HEADER FIXO */
/* LOGO */
#mw-head {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
#p-logo {
#p-logo {
   background-image: url('/images/logo.png');
   background: url('/path/para/sua-logo.png') no-repeat center;
   background-size: contain;
   background-size: contain;
   background-repeat: no-repeat;
   height: 100px;
   width: 180px;
   width: 180px;
  height: 40px;
  text-indent: -9999px;
  margin-right: 20px;
}
#p-logo a {
  display: block;
  width: 100%;
  height: 100%;
}
}


/* MENU LATERAL ESQUERDO BONITÃO */
/* CONTEÚDO PRINCIPAL */
.vector-sticky-pinned-container {
#content, .mw-body {
  position: fixed;
   background-color: #ffffff;
  top: 80px;
  left: 20px;
  width: 220px;
   background: rgba(20, 20, 20, 0.6);
  border: 1px solid #333;
   border-radius: 12px;
   border-radius: 12px;
  padding: 20px;
   box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
   padding: 32px;
   box-shadow: 0 0 20px rgba(255,153,47,0.08);
   margin-top: 20px;
  z-index: 900;
}
.vector-sticky-pinned-container h3 {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 1px solid #444;
  margin-bottom: 8px;
  padding-bottom: 4px;
}
.vector-sticky-pinned-container ul {
  list-style: none;
   padding-left: 0;
}
.vector-sticky-pinned-container ul li a {
  display: block;
  padding: 6px 0;
  color: #eee;
  border-bottom: 1px solid #2a2a2a;
  transition: 0.2s;
}
.vector-sticky-pinned-container ul li a:hover {
  color: #ffaa4d;
  text-shadow: 0 0 5px #ff992f;
}
 
/* CONTEÚDO CENTRAL */
#content, #mw-content-text {
  margin-left: 270px;
   margin-top: 100px;
  max-width: 1100px;
  padding: 40px;
  background: rgba(25,25,25,0.8);
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 153, 47, 0.1);
  backdrop-filter: blur(6px);
}
}


/* TÍTULOS */
/* TÍTULOS */
.firstHeading {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  font-size: 2.6em;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 10px #ff992f;
}
h1, h2, h3, h4 {
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
   color: #1a1a1a;
   color: #ff992f;
   font-weight: 600;
   margin-top: 30px;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ff992f66;
}
}


/* LINKS */
/* LINKS */
a {
a {
   color: #ff992f;
   color: #007acc;
   text-decoration: none;
   text-decoration: none;
  transition: 0.2s;
}
}
a:hover {
a:hover {
  color: #ffaa4d;
   text-decoration: underline;
   text-shadow: 0 0 6px #ff992f;
}
}


/* ABAS ATIVAS */
/* SIDEBAR */
#p-views li.selected a,
#mw-panel {
.vectorTabs li.selected a {
   background-color: #1e1e2f;
   color: #fff !important;
   border-radius: 10px;
   background: transparent !important;
   padding: 10px;
   text-shadow: 0 0 6px #ff992f;
}
}
 
#mw-panel .portal h3 {
/* FORMULÁRIOS */
input, select, textarea {
  background: #1a1a1a;
   color: #fff;
   color: #fff;
   border: 1px solid #444;
   font-size: 14px;
   padding: 10px;
   margin-top: 10px;
  border-radius: 6px;
}
}
input:focus, textarea:focus {
#mw-panel .portal ul {
   border-color: #ff992f;
   list-style: none;
   box-shadow: 0 0 10px #ff992f55;
   padding-left: 0;
  outline: none;
}
}
button, .mw-ui-button {
#mw-panel .portal ul li a {
  background: #ff992f;
   color: #d6e4f0;
   color: #111;
   padding: 5px 0;
   padding: 10px 20px;
   display: block;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}
button:hover, .mw-ui-button:hover {
  background: #ffaa4d;
   box-shadow: 0 0 12px #ff992f88;
}
}


/* RODAPÉ */
/* RODAPÉ */
#footer {
#footer {
  margin-top: 50px;
  background-color: #1e1e2f;
  color: #ccc;
   text-align: center;
   text-align: center;
  color: #888;
   padding: 20px;
   padding: 40px 0;
   border-radius: 10px;
   font-size: 14px;
}
}


/* SCROLLBAR */
/* TABELAS */
::-webkit-scrollbar {
table {
   width: 10px;
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table th, table td {
   border: 1px solid #ccc;
  padding: 10px;
}
table th {
  background-color: #f0f0f0;
  font-weight: bold;
}
}
::-webkit-scrollbar-track {
 
   background: #111;
/* CAIXAS DE INFO */
.mw-parser-output .infobox {
  border: 1px solid #ccc;
  padding: 10px;
  float: right;
  margin: 0 0 10px 10px;
  width: 300px;
   background-color: #f9f9f9;
  border-radius: 8px;
}
}
::-webkit-scrollbar-thumb {
 
   background: #ff992f;
/* BOTÕES */
.mw-ui-button {
   background-color: #007acc;
  color: white;
  border: none;
  padding: 8px 14px;
   border-radius: 6px;
   border-radius: 6px;
  cursor: pointer;
}
}
::-webkit-scrollbar-thumb:hover {
.mw-ui-button:hover {
   background: #ffaa4d;
   background-color: #005f99;
}
}


/* RESPONSIVO */
/* MOBILE RESPONSIVO */
@media screen and (max-width: 900px) {
@media screen and (max-width: 768px) {
   .vector-sticky-pinned-container {
   #mw-panel {
     position: static;
     display: none;
    width: 100%;
    margin-top: 20px;
  }
  #content {
    margin-left: 0;
   }
   }
   #mw-head {
   #content, .mw-body {
     flex-direction: column;
     margin: 0;
    height: auto;
     padding: 20px;
     padding: 10px;
   }
   }
}
}

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

/* GERAL */
body {
  background-color: #f5f7fa;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #2c3e50;
  line-height: 1.6;
}

/* CABEÇALHO */
#mw-page-base, #mw-head-base {
  background: none !important;
}
#p-personal, #p-navigation, #left-navigation, #right-navigation {
  background-color: #1e1e2f;
  color: #fff;
  border-radius: 8px;
  margin: 0 5px;
  padding: 8px;
}
#p-personal a, #p-navigation a {
  color: #fff !important;
}

/* LOGO */
#p-logo {
  background: url('/path/para/sua-logo.png') no-repeat center;
  background-size: contain;
  height: 100px;
  width: 180px;
}

/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 32px;
  margin-top: 20px;
}

/* TÍTULOS */
h1, h2, h3, h4 {
  color: #1a1a1a;
  font-weight: 600;
}

/* LINKS */
a {
  color: #007acc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* SIDEBAR */
#mw-panel {
  background-color: #1e1e2f;
  border-radius: 10px;
  padding: 10px;
}
#mw-panel .portal h3 {
  color: #fff;
  font-size: 14px;
  margin-top: 10px;
}
#mw-panel .portal ul {
  list-style: none;
  padding-left: 0;
}
#mw-panel .portal ul li a {
  color: #d6e4f0;
  padding: 5px 0;
  display: block;
}

/* RODAPÉ */
#footer {
  margin-top: 50px;
  background-color: #1e1e2f;
  color: #ccc;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}

/* TABELAS */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
}
table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* CAIXAS DE INFO */
.mw-parser-output .infobox {
  border: 1px solid #ccc;
  padding: 10px;
  float: right;
  margin: 0 0 10px 10px;
  width: 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

/* BOTÕES */
.mw-ui-button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.mw-ui-button:hover {
  background-color: #005f99;
}

/* MOBILE RESPONSIVO */
@media screen and (max-width: 768px) {
  #mw-panel {
    display: none;
  }
  #content, .mw-body {
    margin: 0;
    padding: 20px;
  }
}