MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(Página substituída por 'body { background-image: url('URL_DA_IMAGEM'); background-size: cover; background-attachment: fixed; background-color: #f4f4f4; →Cor de fallback: }') Etiquetas: Substituído Reversão manual |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
body { | /** Estilo Simplificado para MediaWiki **/ | ||
background | |||
/* Fundo da página */ | |||
body::before { | |||
content: ''; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100vh; | |||
background: url('https://images2.alphacoders.com/686/686188.jpg') no-repeat center center; | |||
background-size: cover; | background-size: cover; | ||
background- | opacity: 0.8; | ||
background-color: # | z-index: -1; | ||
} | |||
/* Fundo e bordas do conteúdo */ | |||
.mw-body { | |||
background: rgba(255, 255, 255, 0.9); | |||
border-radius: 8px; | |||
padding: 20px; | |||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); | |||
} | |||
/* Menu lateral */ | |||
#mw-panel { | |||
background: rgba(0, 0, 0, 0.7); | |||
color: white; | |||
border-radius: 8px; | |||
padding: 10px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | |||
} | |||
#mw-panel a { | |||
color: white; | |||
text-decoration: none; | |||
font-weight: bold; | |||
} | |||
#mw-panel a:hover { | |||
color: #FFD700; /* Dourado ao passar o mouse */ | |||
} | |||
/* Cabeçalho */ | |||
#mw-head { | |||
background: rgba(0, 0, 0, 0.8); | |||
color: white; | |||
padding: 10px; | |||
border-radius: 8px; | |||
} | |||
/* Rodapé */ | |||
.mw-footer { | |||
background: rgba(0, 0, 0, 0.7); | |||
color: white; | |||
padding: 10px; | |||
border-radius: 8px; | |||
text-align: center; | |||
font-size: 0.9em; | |||
} | |||
/* Links */ | |||
a { | |||
color: #1E90FF; /* Azul */ | |||
text-decoration: none; | |||
font-weight: bold; | |||
} | |||
a:hover { | |||
color: #FF4500; /* Laranja ao passar o mouse */ | |||
} | |||
/* Tabelas */ | |||
table.wikitable { | |||
background: white; | |||
border: 1px solid #ccc; | |||
border-radius: 8px; | |||
width: 100%; | |||
text-align: center; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |||
} | |||
table.wikitable th { | |||
background: #0073e6; | |||
color: white; | |||
padding: 10px; | |||
} | |||
table.wikitable td { | |||
padding: 10px; | |||
border: 1px solid #ddd; | |||
} | |||
/* Botões */ | |||
button, .button { | |||
background: #0073e6; | |||
color: white; | |||
padding: 10px 20px; | |||
border: none; | |||
border-radius: 5px; | |||
cursor: pointer; | |||
font-size: 1em; | |||
} | |||
button:hover, .button:hover { | |||
background: #005bb5; | |||
} | |||
/* Responsividade */ | |||
@media (max-width: 768px) { | |||
.mw-body { | |||
padding: 10px; | |||
} | |||
#mw-panel { | |||
font-size: 0.9em; | |||
} | |||
} | } | ||
Edição das 20h48min de 1 de janeiro de 2025
/** Estilo Simplificado para MediaWiki **/
/* Fundo da página */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: url('https://images2.alphacoders.com/686/686188.jpg') no-repeat center center;
background-size: cover;
opacity: 0.8;
z-index: -1;
}
/* Fundo e bordas do conteúdo */
.mw-body {
background: rgba(255, 255, 255, 0.9);
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Menu lateral */
#mw-panel {
background: rgba(0, 0, 0, 0.7);
color: white;
border-radius: 8px;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
#mw-panel a {
color: white;
text-decoration: none;
font-weight: bold;
}
#mw-panel a:hover {
color: #FFD700; /* Dourado ao passar o mouse */
}
/* Cabeçalho */
#mw-head {
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 10px;
border-radius: 8px;
}
/* Rodapé */
.mw-footer {
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 10px;
border-radius: 8px;
text-align: center;
font-size: 0.9em;
}
/* Links */
a {
color: #1E90FF; /* Azul */
text-decoration: none;
font-weight: bold;
}
a:hover {
color: #FF4500; /* Laranja ao passar o mouse */
}
/* Tabelas */
table.wikitable {
background: white;
border: 1px solid #ccc;
border-radius: 8px;
width: 100%;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
table.wikitable th {
background: #0073e6;
color: white;
padding: 10px;
}
table.wikitable td {
padding: 10px;
border: 1px solid #ddd;
}
/* Botões */
button, .button {
background: #0073e6;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
}
button:hover, .button:hover {
background: #005bb5;
}
/* Responsividade */
@media (max-width: 768px) {
.mw-body {
padding: 10px;
}
#mw-panel {
font-size: 0.9em;
}
}