MediaWiki:Common.css
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)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** Estilo Simplificado inspirado no otPokemon **/
/* Fundo da página */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: url('https://images5.alphacoders.com/135/1351278.png') no-repeat center center;
background-size: cover;
opacity: 0.85;
z-index: -1;
}
/* Fundo do conteúdo principal */
.mw-body {
background: rgba(255, 255, 255, 0.95);
border-radius: 10px;
padding: 20px;
border: 5px solid transparent;
border-image: url('https://wiki.otpokemon.com/images/2/2a/Border-red.png') 15 stretch;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
/* Cabeçalho */
#mw-head {
background: linear-gradient(90deg, #d10a13 0%, #eb333b 46%, #ff1d27 100%);
color: white;
padding: 10px;
border-radius: 10px;
font-weight: bold;
text-align: center;
text-shadow: 1px 1px 2px black;
}
/* Menu lateral */
#mw-panel {
background: rgba(0, 0, 0, 0.8);
color: white;
border-radius: 10px;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
#mw-panel a {
color: white;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
#mw-panel a:hover {
color: #FFD700; /* Dourado ao passar o mouse */
}
/* Rodapé */
.mw-footer {
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 10px;
border-radius: 10px;
text-align: center;
font-size: 0.9em;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
/* Links */
a {
color: #FF4500; /* Laranja */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #FFD700; /* Dourado ao passar o mouse */
}
/* Botões */
button, .button {
background: #d10a13;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
transition: background 0.3s ease;
}
button:hover, .button:hover {
background: #b50911;
}
/* Tabelas */
table.wikitable {
background: white;
border: 3px solid #d10a13;
border-radius: 10px;
width: 100%;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
table.wikitable th {
background: #d10a13;
color: white;
padding: 10px;
}
table.wikitable td {
padding: 10px;
border: 1px solid #ddd;
}
/* Destaques */
.highlight {
background: linear-gradient(90deg, #d10a13 0%, #ff1d27 100%);
color: white;
font-weight: bold;
padding: 10px;
border-radius: 5px;
text-shadow: 1px 1px 2px black;
}
/* Responsividade */
@media (max-width: 768px) {
.mw-body {
padding: 10px;
}
#mw-panel {
font-size: 0.9em;
}
table.wikitable th, table.wikitable td {
font-size: 0.9em;
}
}