Mudanças entre as edições de "MediaWiki:Common.css"
Ir para navegação
Ir para pesquisar
Etiqueta: Reversão manual |
(Página substituída por '→Fundo geral com imagem: body { background: url('https://cdn.wikimg.net/en/hkwiki/images/a/a6/HK_Wiki_Bg-Hollow_Knight.webp') no-repeat center center fixed; bac...') Etiquetas: Revertido Substituído |
||
| Linha 1: | Linha 1: | ||
/** | /* Fundo geral com imagem */ | ||
/ | |||
body { | body { | ||
background: url('https://cdn.wikimg.net/en/hkwiki/images/a/a6/HK_Wiki_Bg-Hollow_Knight.webp') no-repeat center center fixed; | |||
background-size: cover; | |||
color: #d0d0d0; | |||
} | } | ||
/* Blur no conteúdo principal */ | |||
#content { | |||
background | background: rgba(24, 24, 24, 0.85); | ||
backdrop-filter: blur(10px); | |||
-webkit-backdrop-filter: blur(10px); | |||
padding: 20px; | |||
border-radius: 0; /* Tirado o border-radius como pediu */ | |||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); | |||
} | } | ||
/* Cabeçalho sem fundo */ | |||
#mw-head, | |||
#mw-page-base, | |||
#mw-navigation { | |||
/* | |||
background: transparent; | background: transparent; | ||
color: #d0d0d0; | |||
border: none; | |||
} | } | ||
/* | /* Footer com leve blur */ | ||
#footer { | |||
background: rgba(24, 24, 24, 0.75); | |||
backdrop-filter: blur(6px); | |||
-webkit-backdrop-filter: blur(6px); | |||
color: #d0d0d0; | |||
background | |||
border: none; | border: none; | ||
padding: 10px; | |||
padding: | |||
text-align: center; | text-align: center; | ||
border-radius: 10px 10px 0 0; | border-radius: 10px 10px 0 0; | ||
margin-top: 20px; | |||
} | } | ||
/* Sidebar geral */ | |||
#mw-panel { | |||
/* | |||
#mw- | |||
background: transparent; | background: transparent; | ||
} | } | ||
/* Só o espaço das opções da sidebar com fundo */ | |||
#mw-panel .portal { | |||
background-color: rgba(32, 32, 32, 0.9); | |||
padding: 10px; | |||
/* | |||
. | |||
. | |||
padding: | |||
border-radius: 8px; | border-radius: 8px; | ||
margin-bottom: 10px; | |||
} | } | ||
/* Títulos da sidebar */ | |||
#mw-panel .portal h3 { | |||
color: #ffffff; | |||
border-bottom: 1px solid #444444; | |||
padding-bottom: 5px; | |||
color: | |||
border- | |||
padding- | |||
} | } | ||
. | /* Links da sidebar */ | ||
#mw-panel .portal li a { | |||
color: #b0b0b0; | |||
padding: 3px 0; | |||
} | } | ||
#mw-panel .portal li a:hover { | |||
color: #ffffff; | color: #ffffff; | ||
background-color: #333333; | |||
border-radius: 4px; | |||
padding-left: 5px; | |||
background-color: # | |||
border-radius: | |||
padding | |||
} | } | ||
/* | /* Links gerais */ | ||
a { | a { | ||
color: # | color: #79a8ff; | ||
} | } | ||
a:visited { | a:visited { | ||
color: # | color: #a079ff; | ||
} | } | ||
a:hover { | |||
a | color: #ffffff; | ||
color: | |||
} | } | ||
/* Inputs e forms */ | |||
input, | |||
textarea { | |||
background-color: #303030; | |||
color: #e0e0e0; | |||
border: 1px solid #555555; | |||
} | } | ||
button, | |||
input[type="submit"] { | |||
color: # | background-color: #3a3a3a; | ||
color: #e0e0e0; | |||
border: 1px solid #666666; | |||
} | } | ||
button:hover, | |||
input[type="submit"]:hover { | |||
background-color: #555555; | |||
} | } | ||
/* | /* Títulos */ | ||
h1, h2, h3, h4, h5 { | |||
color: #ffffff; | |||
font-weight: 600; | |||
} | } | ||
h1 { | |||
border-bottom: 1px solid #444444; | |||
padding-bottom: 5px; | |||
} | } | ||
/* Navegação de abas com borda alinhada ao corpo */ | |||
background: | .vector-menu-tabs li { | ||
background: rgba(36, 36, 36, 0.9) !important; | |||
background-image: none !important; | |||
border: 1px solid rgba(100, 100, 100, 0.5) !important; /* Borda igual à do .mw-body */ | |||
background: none; | border-bottom: none !important; /* Remove a linha de baixo pra alinhar com o corpo */ | ||
border: | margin-right: 2px; | ||
color: #d0d0d0 !important; | |||
} | } | ||
.vector-menu-tabs li.current a { | |||
background: rgba(60, 60, 60, 0.9) !important; | |||
background | color: #ffffff !important; | ||
color: # | |||
} | } | ||
.vector-menu-tabs li a:hover { | |||
background: rgba(50, 50, 50, 0.9) !important; | |||
background | color: #ffffff !important; | ||
} | } | ||
/* | /* Remove a borda/separador dos tabs e dropdowns do Vector */ | ||
.vector-menu-tabs, | .vector-menu-tabs, | ||
.vector-menu-tabs a, | .vector-menu-tabs a, | ||
#mw-head .vector-menu-dropdown h3 { | #mw-head .vector-menu-dropdown h3 { | ||
background: none; | background: none !important; | ||
background-image: none !important; | |||
background-repeat: no-repeat !important; | |||
background-size: 0 !important; | |||
background- | border: none !important; | ||
background | |||
border | |||
} | } | ||
/* | /* Corpo da página com borda mais suave no dark */ | ||
.mw-body { | .mw-body { | ||
margin-top: | margin-top: 0 !important; | ||
border: 1px solid | border: 1px solid rgba(100, 100, 100, 0.5) !important; | ||
} | } | ||
/* Empurra as abas da esquerda (Mensagem e Discussão) mais pra direita */ | |||
. | .vector-menu-tabs:first-child { | ||
margin-left: 20px; | |||
} | } | ||
.mw- | /* Corrige cores apagadas no dark */ | ||
color: # | body, | ||
.mw-body-content, | |||
.vector-menu-tabs li a, | |||
#mw-head a, | |||
#mw-head h1, | |||
#p-personal li a, | |||
#footer a, | |||
.searchbox input { | |||
color: #d0d0d0 !important; | |||
} | } | ||
. | /* Cor do placeholder da busca */ | ||
color: # | .searchbox input::placeholder { | ||
color: #aaaaaa; | |||
} | } | ||
/* Tipografia geral */ | |||
body { | |||
font-family: 'Inter', sans-serif; | |||
/* | |||
font- | |||
} | } | ||
/* Importa a fonte Inter do Google Fonts */ | |||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); | |||
/* | |||
@ | |||
/ | |||
Edição das 12h04min de 28 de abril de 2025
/* Fundo geral com imagem */
body {
background: url('https://cdn.wikimg.net/en/hkwiki/images/a/a6/HK_Wiki_Bg-Hollow_Knight.webp') no-repeat center center fixed;
background-size: cover;
color: #d0d0d0;
}
/* Blur no conteúdo principal */
#content {
background: rgba(24, 24, 24, 0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 20px;
border-radius: 0; /* Tirado o border-radius como pediu */
box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
/* Cabeçalho sem fundo */
#mw-head,
#mw-page-base,
#mw-navigation {
background: transparent;
color: #d0d0d0;
border: none;
}
/* Footer com leve blur */
#footer {
background: rgba(24, 24, 24, 0.75);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
color: #d0d0d0;
border: none;
padding: 10px;
text-align: center;
border-radius: 10px 10px 0 0;
margin-top: 20px;
}
/* Sidebar geral */
#mw-panel {
background: transparent;
}
/* Só o espaço das opções da sidebar com fundo */
#mw-panel .portal {
background-color: rgba(32, 32, 32, 0.9);
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
}
/* Títulos da sidebar */
#mw-panel .portal h3 {
color: #ffffff;
border-bottom: 1px solid #444444;
padding-bottom: 5px;
}
/* Links da sidebar */
#mw-panel .portal li a {
color: #b0b0b0;
padding: 3px 0;
}
#mw-panel .portal li a:hover {
color: #ffffff;
background-color: #333333;
border-radius: 4px;
padding-left: 5px;
}
/* Links gerais */
a {
color: #79a8ff;
}
a:visited {
color: #a079ff;
}
a:hover {
color: #ffffff;
}
/* Inputs e forms */
input,
textarea {
background-color: #303030;
color: #e0e0e0;
border: 1px solid #555555;
}
button,
input[type="submit"] {
background-color: #3a3a3a;
color: #e0e0e0;
border: 1px solid #666666;
}
button:hover,
input[type="submit"]:hover {
background-color: #555555;
}
/* Títulos */
h1, h2, h3, h4, h5 {
color: #ffffff;
font-weight: 600;
}
h1 {
border-bottom: 1px solid #444444;
padding-bottom: 5px;
}
/* Navegação de abas com borda alinhada ao corpo */
.vector-menu-tabs li {
background: rgba(36, 36, 36, 0.9) !important;
background-image: none !important;
border: 1px solid rgba(100, 100, 100, 0.5) !important; /* Borda igual à do .mw-body */
border-bottom: none !important; /* Remove a linha de baixo pra alinhar com o corpo */
margin-right: 2px;
color: #d0d0d0 !important;
}
.vector-menu-tabs li.current a {
background: rgba(60, 60, 60, 0.9) !important;
color: #ffffff !important;
}
.vector-menu-tabs li a:hover {
background: rgba(50, 50, 50, 0.9) !important;
color: #ffffff !important;
}
/* Remove a borda/separador dos tabs e dropdowns do Vector */
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown h3 {
background: none !important;
background-image: none !important;
background-repeat: no-repeat !important;
background-size: 0 !important;
border: none !important;
}
/* Corpo da página com borda mais suave no dark */
.mw-body {
margin-top: 0 !important;
border: 1px solid rgba(100, 100, 100, 0.5) !important;
}
/* Empurra as abas da esquerda (Mensagem e Discussão) mais pra direita */
.vector-menu-tabs:first-child {
margin-left: 20px;
}
/* Corrige cores apagadas no dark */
body,
.mw-body-content,
.vector-menu-tabs li a,
#mw-head a,
#mw-head h1,
#p-personal li a,
#footer a,
.searchbox input {
color: #d0d0d0 !important;
}
/* Cor do placeholder da busca */
.searchbox input::placeholder {
color: #aaaaaa;
}
/* Tipografia geral */
body {
font-family: 'Inter', sans-serif;
}
/* Importa a fonte Inter do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');