MediaWiki:Common.css
Aparência
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');
/* ===== BASE ===== */
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%);
color: #f0f0f0;
background-attachment: fixed;
margin: 0;
padding: 0;
}
/* ===== CABEÇALHO FIXO ===== */
#mw-head {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(6px);
z-index: 999;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
#p-personal, #p-search {
margin: 0;
padding: 0;
}
/* ===== LOGO NO TOPO ===== */
#p-logo {
display: none;
}
#content .mw-wiki-logo {
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) ===== */
.vector-sticky-pinned-container {
position: fixed;
top: 80px;
left: 20px;
width: 240px;
background: rgba(25, 25, 25, 0.8);
border: 1px solid #333;
border-radius: 10px;
padding: 16px;
box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
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;
margin-bottom: 8px;
border-bottom: 1px solid #333;
padding-bottom: 4px;
}
.vector-sticky-pinned-container ul {
list-style: none;
padding-left: 0;
}
.vector-sticky-pinned-container ul li a {
color: #eee;
display: block;
padding: 6px 0;
border-bottom: 1px solid #2a2a2a;
transition: 0.3s;
}
.vector-sticky-pinned-container ul li a:hover {
color: #ffaa4d;
text-shadow: 0 0 5px #ff992f;
}
/* ===== CONTEÚDO ===== */
#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;
border: 1px solid #2a2a2a;
box-shadow: 0 0 40px rgba(255, 153, 47, 0.1);
backdrop-filter: blur(4px);
}
.firstHeading {
font-family: 'Orbitron', sans-serif;
color: #ff992f;
font-size: 2.5em;
margin-bottom: 20px;
text-shadow: 0 0 8px #ff992f;
text-align: center;
}
/* ===== LINKS ===== */
a {
color: #ff992f;
text-decoration: none;
transition: 0.2s;
}
a:hover {
color: #ffaa4d;
text-shadow: 0 0 6px #ff992f;
}
/* ===== BARRA DE ROLAGEM ===== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #111;
}
::-webkit-scrollbar-thumb {
background: #ff992f;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #ffaa4d;
}
/* ===== ABAS ATIVAS ===== */
#p-views li.selected a,
.vectorTabs li.selected a,
.vectorTabs li.selected a:hover {
color: #ffffff !important;
background-color: transparent !important;
text-shadow: 0 0 6px #ff992f;
}
/* ===== RODAPÉ ===== */
#footer {
text-align: center;
color: #999;
padding: 30px 0;
font-size: 12px;
margin-top: 40px;
}
/* ===== RESPONSIVO ===== */
@media screen and (max-width: 900px) {
.vector-sticky-pinned-container {
position: static;
width: 100%;
margin-bottom: 20px;
}
#content {
margin-left: 0;
}
#mw-head {
flex-direction: column;
align-items: flex-start;
height: auto;
padding: 10px;
}
}