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=Inter:wght@400;500&family=Orbitron:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Orbitron:wght@600&display=swap');


/* ===== BASE ===== */
/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
body {
   font-family: 'Inter', sans-serif;
   font-family: 'Inter', sans-serif;
   background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%);
   background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%) fixed;
   color: #f0f0f0;
   color: #f0f0f0;
   background-attachment: fixed;
   backdrop-filter: blur(8px);
  margin: 0;
  padding: 0;
}
}


/* ===== CABEÇALHO FIXO ===== */
/* ===== HEADER FIXO ===== */
#mw-head {
#mw-head {
   position: fixed;
   position: fixed;
   top: 0;
   top: 0; left: 0;
  left: 0;
   width: 100%; height: 60px;
   width: 100%;
   background: rgba(10,10,10,0.95);
  height: 60px;
   background: rgba(10, 10, 10, 0.95);
   backdrop-filter: blur(6px);
   backdrop-filter: blur(6px);
  z-index: 999;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: space-between;
   padding: 0 20px;
   padding: 0 20px;
  z-index: 999;
   box-shadow: 0 2px 4px rgba(0,0,0,0.5);
   box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
}
#p-personal, #p-search {
#mw-head .mw-wiki-logo {
   margin: 0;
   height: 40px;
   padding: 0;
   background-size: contain;
}
 
/* ===== LOGO NO TOPO ===== */
#p-logo {
  display: none;
}
#content .mw-wiki-logo {
   background-image: url("/images/logo.png");
   background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 220px;
  height: 80px;
  margin: 80px auto 40px;
  text-indent: -9999px;
}
}


/* ===== MENUS À ESQUERDA (PINNED) ===== */
/* ===== SIDEBAR PINNED ===== */
.vector-sticky-pinned-container {
.vector-sticky-pinned-container {
   position: fixed;
   position: fixed;
   top: 80px;
   top: 70px; left: 20px;
  left: 20px;
   width: 240px;
   width: 240px;
   background: rgba(25, 25, 25, 0.8);
   background: rgba(25,25,25,0.8);
   border: 1px solid #333;
   border: 1px solid #333;
   border-radius: 10px;
   border-radius: 10px;
   padding: 16px;
   padding: 16px;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
   backdrop-filter: blur(10px);
   backdrop-filter: blur(10px);
   z-index: 900;
   z-index: 900;
}
}
.vector-sticky-pinned-container h2,
.vector-sticky-pinned-container h2,
.vector-sticky-pinned-container h3 {
.vector-sticky-pinned-container h3 {
Linha 67: Linha 48:
   text-transform: uppercase;
   text-transform: uppercase;
   color: #ff992f;
   color: #ff992f;
   margin-bottom: 8px;
   padding-bottom: 4px;
   border-bottom: 1px solid #333;
   border-bottom: 1px solid #333;
  padding-bottom: 4px;
}
}
.vector-sticky-pinned-container ul {
.vector-sticky-pinned-container ul {
   list-style: none;
   list-style: none;
   padding-left: 0;
   margin-top: 8px;
}
}
.vector-sticky-pinned-container ul li a {
.vector-sticky-pinned-container ul li a {
  color: #eee;
   display: block;
   display: block;
   padding: 6px 0;
   padding: 6px 0;
  color: #eee;
   border-bottom: 1px solid #2a2a2a;
   border-bottom: 1px solid #2a2a2a;
   transition: 0.3s;
   transition: color 0.2s;
}
}
.vector-sticky-pinned-container ul li a:hover {
.vector-sticky-pinned-container ul li a:hover {
   color: #ffaa4d;
   color: #ffaa4d;
Linha 90: Linha 67:
}
}


/* ===== CONTEÚDO ===== */
/* ===== CONTEÚDO CENTRAL ===== */
#content,
#content, #mw-content-text {
#mw-content-text {
   margin: 100px auto 60px;
   margin: 100px auto 60px;
   margin-left: 280px;
   margin-left: 280px;
   max-width: 1100px;
   max-width: 1100px;
   padding: 40px;
   padding: 40px;
   background: rgba(20, 20, 20, 0.85);
   background: rgba(20,20,20,0.85);
   border-radius: 12px;
   border-radius: 12px;
  backdrop-filter: blur(4px);
   border: 1px solid #2a2a2a;
   border: 1px solid #2a2a2a;
   box-shadow: 0 0 40px rgba(255, 153, 47, 0.1);
   box-shadow: 0 0 40px rgba(255,153,47,0.1);
  backdrop-filter: blur(4px);
}
}


/* ===== TÍTULOS ===== */
.firstHeading {
.firstHeading {
   font-family: 'Orbitron', sans-serif;
   font-family: 'Orbitron', sans-serif;
Linha 109: Linha 86:
   font-size: 2.5em;
   font-size: 2.5em;
   margin-bottom: 20px;
   margin-bottom: 20px;
  text-align: center;
   text-shadow: 0 0 8px #ff992f;
   text-shadow: 0 0 8px #ff992f;
   text-align: center;
}
h1,h2,h3,h4,h5 {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  margin: 30px 0 10px;
  text-transform: uppercase;
   text-shadow: 0 0 6px #ff992f99;
}
}


Linha 116: Linha 100:
a {
a {
   color: #ff992f;
   color: #ff992f;
  text-decoration: none;
   transition: color 0.2s;
   transition: 0.2s;
}
}
a:hover {
a:hover {
Linha 124: Linha 107:
}
}


/* ===== BARRA DE ROLAGEM ===== */
/* ===== ABA ATIVA ===== */
::-webkit-scrollbar {
#p-views li.selected a,
   width: 10px;
.vectorTabs li.selected a {
  color: #fff !important;
  background: transparent !important;
  text-shadow: 0 0 6px #ff992f;
}
 
/* ===== FORMULÁRIOS & BOTÕES ===== */
input, select, textarea {
   background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 6px;
}
}
::-webkit-scrollbar-track {
input:focus, textarea:focus {
   background: #111;
  border-color: #ff992f;
  box-shadow: 0 0 10px #ff992f66;
   outline: none;
}
}
::-webkit-scrollbar-thumb {
button, .mw-ui-button {
   background: #ff992f;
   background: #ff992f;
  color: #111;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
   border-radius: 6px;
   border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
}
::-webkit-scrollbar-thumb:hover {
button:hover, .mw-ui-button:hover {
   background: #ffaa4d;
   background: #ffaa4d;
  box-shadow: 0 0 10px #ff992f66;
}
/* ===== TABELAS ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1b1b1b;
  border: 1px solid #333;
}
th, td {
  border: 1px solid #444;
  padding: 10px;
  color: #eee;
}
th {
  background: #262626;
  color: #ff992f;
  text-shadow: 0 0 4px #ff992f55;
}
}


/* ===== ABAS ATIVAS ===== */
/* ===== SCROLLBAR ===== */
#p-views li.selected a,
::-webkit-scrollbar { width: 10px; }
.vectorTabs li.selected a,
::-webkit-scrollbar-track { background: #111; }
.vectorTabs li.selected a:hover {
::-webkit-scrollbar-thumb {
  color: #ffffff !important;
   background: #ff992f;
   background-color: transparent !important;
   border-radius: 6px;
   text-shadow: 0 0 6px #ff992f;
}
}
::-webkit-scrollbar-thumb:hover { background: #ffaa4d; }


/* ===== RODAPÉ ===== */
/* ===== RODAPÉ ===== */
Linha 153: Linha 175:
   color: #999;
   color: #999;
   padding: 30px 0;
   padding: 30px 0;
  font-size: 12px;
  margin-top: 40px;
}
}


/* ===== RESPONSIVO ===== */
/* ===== RESPONSIVO ===== */
@media screen and (max-width: 900px) {
@media(max-width:900px) {
   .vector-sticky-pinned-container {
   .vector-sticky-pinned-container {
     position: static;
     position: static;
     width: 100%;
     width: 100%;
     margin-bottom: 20px;
     margin: 20px 0;
   }
   }
   #content {
   #content {
     margin-left: 0;
     margin-left: 0;
   }
   }
   #mw-head {
   #mw-head {
     flex-direction: column;
     flex-direction: column;
    align-items: flex-start;
     height: auto;
     height: auto;
     padding: 10px;
     padding: 10px;
   }
   }
}
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Orbitron:wght@600&display=swap');

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%) fixed;
  color: #f0f0f0;
  backdrop-filter: blur(8px);
}

/* ===== HEADER FIXO ===== */
#mw-head {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 60px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
#mw-head .mw-wiki-logo {
  height: 40px;
  background-size: contain;
  background-image: url("/images/logo.png");
}

/* ===== SIDEBAR PINNED ===== */
.vector-sticky-pinned-container {
  position: fixed;
  top: 70px; left: 20px;
  width: 240px;
  background: rgba(25,25,25,0.8);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 16px;
  backdrop-filter: blur(10px);
  z-index: 900;
}
.vector-sticky-pinned-container h2,
.vector-sticky-pinned-container h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #ff992f;
  padding-bottom: 4px;
  border-bottom: 1px solid #333;
}
.vector-sticky-pinned-container ul {
  list-style: none;
  margin-top: 8px;
}
.vector-sticky-pinned-container ul li a {
  display: block;
  padding: 6px 0;
  color: #eee;
  border-bottom: 1px solid #2a2a2a;
  transition: color 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: 100px auto 60px;
  margin-left: 280px;
  max-width: 1100px;
  padding: 40px;
  background: rgba(20,20,20,0.85);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid #2a2a2a;
  box-shadow: 0 0 40px rgba(255,153,47,0.1);
}

/* ===== TÍTULOS ===== */
.firstHeading {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 8px #ff992f;
}
h1,h2,h3,h4,h5 {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  margin: 30px 0 10px;
  text-transform: uppercase;
  text-shadow: 0 0 6px #ff992f99;
}

/* ===== LINKS ===== */
a {
  color: #ff992f;
  transition: color 0.2s;
}
a:hover {
  color: #ffaa4d;
  text-shadow: 0 0 6px #ff992f;
}

/* ===== ABA ATIVA ===== */
#p-views li.selected a,
.vectorTabs li.selected a {
  color: #fff !important;
  background: transparent !important;
  text-shadow: 0 0 6px #ff992f;
}

/* ===== FORMULÁRIOS & BOTÕES ===== */
input, select, textarea {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 6px;
}
input:focus, textarea:focus {
  border-color: #ff992f;
  box-shadow: 0 0 10px #ff992f66;
  outline: none;
}
button, .mw-ui-button {
  background: #ff992f;
  color: #111;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover, .mw-ui-button:hover {
  background: #ffaa4d;
  box-shadow: 0 0 10px #ff992f66;
}

/* ===== TABELAS ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1b1b1b;
  border: 1px solid #333;
}
th, td {
  border: 1px solid #444;
  padding: 10px;
  color: #eee;
}
th {
  background: #262626;
  color: #ff992f;
  text-shadow: 0 0 4px #ff992f55;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb {
  background: #ff992f;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #ffaa4d; }

/* ===== RODAPÉ ===== */
#footer {
  text-align: center;
  color: #999;
  padding: 30px 0;
}

/* ===== RESPONSIVO ===== */
@media(max-width:900px) {
  .vector-sticky-pinned-container {
    position: static;
    width: 100%;
    margin: 20px 0;
  }
  #content {
    margin-left: 0;
  }
  #mw-head {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }
}