Ir para o conteúdo

MediaWiki:Common.css

De Big2be
Revisão de 09h45min de 22 de julho de 2025 por Admin big2be (discussão | contribs)

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
  • Opera: Pressione Ctrl-F5.
@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;
  }
}