Mudanças entre as edições de "MediaWiki:Common.css"

De Wiki Gla
Ir para navegação Ir para pesquisar
m
Etiqueta: Revertido
Etiqueta: Revertido
Linha 222: Linha 222:
   color: #d0d0d0 !important;
   color: #d0d0d0 !important;
}
}
/* Esconde SÓ o que precisa, pra todo mundo por padrão */
 
#p-tb,                    /* Ferramentas (sidebar) */
 
#ca-edit,                  /* Editar */
 
#ca-ve-edit,              /* Editar visual */
/* Por padrão, esconde tudo */
#ca-history,              /* Histórico */
.nav-hidden {
#ca-talk,                 /* Discussão */
#ca-viewsource,            /* Ver código-fonte */
.mw-editsection,          /* Editar seções nos títulos */
.vector-menu-tabs,        /* Abas principais */
.vector-menu-dropdown,    /* Dropdowns */
#contentSub {             /* Subnavegação (ex: histórico, etc.) */
   display: none !important;
   display: none !important;
}
}
 
#p-tb,
/* Sempre mantém a busca e login visíveis */
#ca-edit,
#p-search,
#ca-ve-edit,
#p-personal {
#ca-history,
   display: block !important;
#ca-talk,
#ca-viewsource,
.mw-editsection,
.vector-menu-tabs,
.vector-menu-dropdown,
#contentSub {
   display: none !important; /* REMOVE ISSO E COLOCA: */
  /* Coloca a classe nav-hidden direto no HTML ou via JS depois */
}
}

Edição das 14h56min de 28 de abril de 2025

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



/* Por padrão, esconde tudo */
.nav-hidden {
  display: none !important;
}
#p-tb,
#ca-edit,
#ca-ve-edit,
#ca-history,
#ca-talk,
#ca-viewsource,
.mw-editsection,
.vector-menu-tabs,
.vector-menu-dropdown,
#contentSub {
  display: none !important; /* REMOVE ISSO E COLOCA: */
  /* Coloca a classe nav-hidden direto no HTML ou via JS depois */
}