Ir para o conteúdo

MediaWiki:Common.css

De Big2be
Revisão de 09h47min 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=Orbitron:wght@600&family=Inter:wght@400;500&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(160deg, #0d0d0d, #1a1a1a);
  color: #f0f0f0;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* HEADER FIXO */
#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 {
  background-image: url('/images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 180px;
  height: 40px;
  text-indent: -9999px;
  margin-right: 20px;
}
#p-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

/* MENU LATERAL ESQUERDO BONITÃO */
.vector-sticky-pinned-container {
  position: fixed;
  top: 80px;
  left: 20px;
  width: 220px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,153,47,0.08);
  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 */
.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 {
  font-family: 'Orbitron', sans-serif;
  color: #ff992f;
  margin-top: 30px;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ff992f66;
}

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

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

/* FORMULÁRIOS */
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 #ff992f55;
  outline: none;
}
button, .mw-ui-button {
  background: #ff992f;
  color: #111;
  padding: 10px 20px;
  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É */
#footer {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-size: 14px;
}

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

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