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.
/* ===== Fonts Futuristas ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;500&display=swap');
/* ===== Reset e base ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%);
color: #f2f2f2;
padding: 0;
overflow-x: hidden;
}
a {
color: #ff992f;
text-decoration: none;
transition: 0.2s;
font-weight: 500;
}
a:hover {
color: #ffaa4d;
text-shadow: 0 0 8px #ff992f;
}
/* ===== Remove barras laterais ===== */
#mw-panel,
#p-personal,
#mw-head-base,
#mw-head,
#catlinks,
.mw-editsection {
display: none !important;
}
/* ===== Container de conteúdo ===== */
#content,
#mw-content-text {
margin: 60px auto;
max-width: 1200px;
padding: 40px;
background: rgba(20, 20, 20, 0.85);
border-radius: 16px;
box-shadow: 0 0 40px rgba(255, 153, 47, 0.15);
border: 1px solid #2a2a2a;
backdrop-filter: blur(4px);
}
/* ===== Cabeçalho principal ===== */
.firstHeading {
font-family: 'Orbitron', sans-serif;
font-size: 2.8em;
text-align: center;
margin-bottom: 30px;
color: #ff992f;
text-shadow: 0 0 10px #ff992f;
}
/* ===== Logo no topo ===== */
#p-logo {
display: flex;
justify-content: center;
align-items: center;
margin: 40px 0;
}
#p-logo a {
background-image: url("/images/logo.png");
background-size: contain;
background-repeat: no-repeat;
width: 240px;
height: 100px;
display: block;
text-indent: -9999px;
}
/* ===== Títulos (glow) ===== */
h1, h2, h3, h4, h5 {
font-family: 'Orbitron', sans-serif;
color: #ff992f;
margin: 40px 0 15px;
text-transform: uppercase;
text-shadow: 0 0 8px #ff992f99;
}
/* ===== Formulários e inputs ===== */
input, select, textarea {
background-color: #1a1a1a;
color: #fff;
border: 1px solid #444;
padding: 10px;
border-radius: 8px;
font-family: 'Inter', sans-serif;
}
input:focus, textarea:focus {
border-color: #ff992f;
box-shadow: 0 0 10px #ff992f99;
outline: none;
}
/* ===== Botões ===== */
button, .mw-ui-button {
background-color: #ff992f;
color: #111;
font-weight: bold;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
}
button:hover, .mw-ui-button:hover {
background-color: #ffaa4d;
box-shadow: 0 0 12px #ff992f99;
}
/* ===== Rodapé minimalista ===== */
#footer {
text-align: center;
color: #888;
padding: 40px 0 20px;
font-size: 14px;
}
/* ===== Tabelas estilosas ===== */
table {
width: 100%;
border-collapse: collapse;
background-color: #1b1b1b;
border: 1px solid #333;
}
th, td {
border: 1px solid #444;
padding: 12px;
color: #eee;
}
th {
background-color: #262626;
color: #ff992f;
text-shadow: 0 0 5px #ff992f55;
}
/* ===== Destaques visuais especiais ===== */
code, pre {
background-color: #111;
color: #ffb36b;
padding: 8px;
border-radius: 4px;
font-family: monospace;
display: block;
margin: 15px 0;
}
/* ===== Scrollbar custom ===== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #111;
}
::-webkit-scrollbar-thumb {
background: #ff992f;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #ffaa4d;
}
/* ===== Corrige textos pretos dos menus laterais e abas ===== */
/* Menu lateral esquerdo */
#mw-panel .portal,
#mw-panel .body,
#mw-panel ul li a,
#mw-panel ul li {
color: #ff992f !important;
}
/* Menu lateral direito (ferramentas) */
#p-tb li a,
#p-cactions li a,
#p-cactions li {
color: #ff992f !important;
}
/* Itens ativos e hover */
#mw-panel ul li a:hover,
#p-tb li a:hover,
#p-cactions li a:hover {
color: #ffaa4d !important;
text-shadow: 0 0 6px #ff992f;
}
/* Títulos de menus */
#mw-panel .portal h3,
#p-tb h3,
#p-cactions h3 {
color: #ff992f !important;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Abas como "Editar", "Histórico", etc. */
#ca-edit a,
#ca-history a,
#ca-viewsource a,
#ca-talk a {
color: #ff992f !important;
}
#ca-edit a:hover,
#ca-history a:hover,
#ca-viewsource a:hover,
#ca-talk a:hover {
color: #ffaa4d !important;
text-shadow: 0 0 6px #ff992f;
}
/* ==== Aba ativa sem fundo, texto branco ==== */
#p-cactions li.selected a,
#p-cactions li.selected a:visited,
#p-cactions li.selected a:hover,
#p-views li.selected a,
#p-views li.selected a:visited,
#p-views li.selected a:hover,
.vectorTabs li.selected a,
.vectorTabs li.selected a:visited,
.vectorTabs li.selected a:hover {
color: #ffffff !important;
background-color: transparent !important;
text-shadow: 0 0 6px #ff992f;
}
/* Corrige qualquer aba ativa com texto preto (ex: Mensagem) */
#p-views li.selected a,
#p-views li.selected a:visited,
#p-views li.selected a:hover,
#ca-talk.selected a,
#ca-talk.selected a:visited,
#ca-talk.selected a:hover,
#ca-history.selected a,
#ca-history.selected a:visited,
#ca-history.selected a:hover,
#ca-view.selected a,
#ca-view.selected a:visited,
#ca-view.selected a:hover {
color: #ffffff !important;
background-color: transparent !important;
text-shadow: 0 0 6px #ff992f;
}