MediaWiki:Common.css

De Wiki Gla
Revisão de 14h09min de 28 de abril de 2025 por Gurren1 (discussão | contribs) (Página substituída por '@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); body { background: url('https://cdn.wikimg.net/en/hkwiki/images/a/a6/HK_...')
Ir para navegação Ir para pesquisar

Nota: Após salvar, 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.
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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;
  font-family: 'Inter', sans-serif;
}

#content {
  background: rgba(24, 24, 24, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

#mw-head,
#mw-page-base,
#mw-navigation {
  background: transparent;
  color: #d0d0d0;
  border: none;
}

#mw-panel {
  background: transparent;
}

#mw-panel .portal {
  background-color: rgba(32, 32, 32, 0.9);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

#mw-panel .portal h3 {
  color: #ffffff;
  border-bottom: 1px solid #444444;
  padding-bottom: 5px;
}

#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;
}

a {
  color: #79a8ff;
}

a:visited {
  color: #a079ff;
}

a:hover {
  color: #ffffff;
}

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;
}

h1,
h2,
h3,
h4,
h5 {
  color: #ffffff;
  font-weight: 600;
}

h1 {
  border-bottom: 1px solid #444444;
  padding-bottom: 5px;
}

.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;
  border-bottom: none !important;
  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;
}

.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;
}

.mw-body {
  margin-top: 0 !important;
  border: 1px solid rgba(100, 100, 100, 0.5) !important;
}

.vector-menu-tabs:first-child {
  margin-left: 20px;
}

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;
}

.searchbox input::placeholder {
  color: #aaaaaa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif !important;
}

h1 {
  font-weight: 700;
  font-size: 1.8em;
}

h2 {
  font-weight: 600;
  font-size: 1.5em;
}

.toc {
  background-color: rgba(36, 36, 36, 0.9);
  color: #d0d0d0;
  border: 1px solid rgba(100, 100, 100, 0.5);
}

.thumb {
  background-color: rgba(36, 36, 36, 0.9);
  border: 1px solid rgba(100, 100, 100, 0.5);
}

.thumb .thumbcaption {
  color: #d0d0d0;
}

.mw-warning,
.mw-content-ltr .infobox,
.mw-message-box {
  background-color: rgba(36, 36, 36, 0.9);
  color: #d0d0d0;
  border: 1px solid rgba(100, 100, 100, 0.5);
}

table:not(.wikitable) {
  background: transparent;
  border: none;
  border-collapse: collapse;
  width: 100%;
}

table:not(.wikitable) th,
table:not(.wikitable) td {
  border: none;
  padding: 4px 8px;
  background: transparent;
  color: #d0d0d0;
  text-align: left;
}

.toc ul {
  color: #d0d0d0;
}

.thumbinner {
  background-color: rgba(36, 36, 36, 0.9) !important;
  border: 1px solid rgba(100, 100, 100, 0.5) !important;
}

.thumbcaption {
  color: #d0d0d0 !important;
}
/* Esconde Ferramentas de quem NÃO está logado */
body.anon #p-tb {
  display: none !important;
}

/* Esconde o footer da data de atualização pra todo mundo */
#footer-info-lastmod {
  display: none !important;
}

/* Esconde abas de edição de quem NÃO está logado */
body.anon .vector-menu-tabs li#ca-edit,
body.anon .vector-menu-tabs li#ca-viewsource,
body.anon .vector-menu-tabs li#ca-history,
body.anon .vector-menu-tabs li#ca-talk {
  display: none !important;
}