MediaWiki:Common.css: diferenças entre revisões

Fonte: Wiki 420
Sem resumo de edição
Etiqueta: Revertida
Sem resumo de edição
Etiqueta: Revertida
Linha 1: Linha 1:
/* MediaWiki:Common.css – Tema Wiki 420 – Substituição de cores de links */
/* MediaWiki:Common.css – Tema Wiki 420 – Substitui todos os tons de azul por verde */


/* Links internos (páginas existentes) em verde-escuro */
/* Links gerais */
#mw-content-text a {
#mw-content-text a,
   color: #0c3c29 !important;
a.mw-selflink,
   text-decoration: none;
a.extiw,
   border-bottom: 1px dotted #0c3c29;
a.new {
   color: #0c3c29 !important; /* verde-escuro */
   text-decoration: none !important;
   border-bottom: 1px dotted #0c3c29 !important;
}
#mw-content-text a:hover,
a.mw-selflink:hover,
a.extiw:hover,
a.new:hover {
  color: #689427 !important; /* verde-médio */
  border-bottom-color: #689427 !important;
}
}
#mw-content-text a:hover {
/* Visited */
#mw-content-text a:visited {
   color: #689427 !important;
   color: #689427 !important;
  border-bottom-color: #689427;
}
/* Active */
#mw-content-text a:active {
  color: #0c3c29 !important;
}
}


/* Links externos (class="external") em verde-médio */
/* External links */
#mw-content-text a.external,
#mw-content-text a.external,
#mw-content-text span.external a {
span.external a {
   color: #689427 !important;
   color: #689427 !important;
}
}
#mw-content-text a.external:hover,
#mw-content-text a.external:hover,
#mw-content-text span.external a:hover {
span.external a:hover {
  color: #0c3c29 !important;
}
 
/* Sidebar (portlets) links */
.portal a,
#mw-panel a,
#p-navigation a,
#p-interaction a,
#p-tb a,
#p-logo a {
  color: #0c3c29 !important;
}
.portal a:hover,
#mw-panel a:hover,
#p-navigation a:hover,
#p-interaction a:hover,
#p-tb a:hover,
#p-logo a:hover {
  color: #689427 !important;
}
 
/* Page tools / ações da página */
#p-cactions a,
#p-cactions li.selected a,
#p-cactions .selected a {
   color: #0c3c29 !important;
   color: #0c3c29 !important;
}
#p-cactions a:hover {
  color: #689427 !important;
}
}


/* Links para páginas inexistentes (class="new") em amarelo-ouro */
/* Footer links */
#mw-content-text a.new {
#footer a,
   color: #f2ca36 !important;
.footer a {
   color: #0c3c29 !important;
}
}
#mw-content-text a.new:hover {
#footer a:hover,
   color: #fdedc7 !important;
.footer a:hover {
   color: #689427 !important;
}
}


/* Portlets e navegação lateral */
/* Panel and table of contents links */
/* Ações da página */
.toc a,
#p-cactions li a,
.mw-editsection a {
#p-cactions li.selected a {
   color: #0c3c29 !important;
   color: #0c3c29 !important;
}
.toc a:hover,
.mw-editsection a:hover {
  color: #689427 !important;
}
}


/* Sidebar (portlets) */
/* Global UI links such as .plainlinks, .wikilink */
.portal a {
a.plainlinks a,
a.wikilink {
   color: #0c3c29 !important;
   color: #0c3c29 !important;
}
}
.portal a:hover {
a.plainlinks a:hover,
a.wikilink:hover {
   color: #689427 !important;
   color: #689427 !important;
}
}


/* Rodapé */
/* Override default MediaWiki skin colors */
#footer a {
/* Replace default link color variables if skin supports variables */
:root {
  --link-color: #0c3c29;
  --link-hover: #689427;
}
 
/* Misc buttons, tabs etc. */
.mw-ui-button,
.mw-ui-icon,
.mw-ui-icon-element {
   color: #0c3c29 !important;
   color: #0c3c29 !important;
}
}
#footer a:hover {
.mw-ui-button:hover {
   color: #689427 !important;
   color: #689427 !important;
}
}

Revisão das 11h58min de 22 de julho de 2025

/* MediaWiki:Common.css – Tema Wiki 420 – Substitui todos os tons de azul por verde */

/* Links gerais */
#mw-content-text a,
a.mw-selflink,
a.extiw,
a.new {
  color: #0c3c29 !important; /* verde-escuro */
  text-decoration: none !important;
  border-bottom: 1px dotted #0c3c29 !important;
}
#mw-content-text a:hover,
a.mw-selflink:hover,
a.extiw:hover,
a.new:hover {
  color: #689427 !important; /* verde-médio */
  border-bottom-color: #689427 !important;
}
/* Visited */
#mw-content-text a:visited {
  color: #689427 !important;
}
/* Active */
#mw-content-text a:active {
  color: #0c3c29 !important;
}

/* External links */
#mw-content-text a.external,
span.external a {
  color: #689427 !important;
}
#mw-content-text a.external:hover,
span.external a:hover {
  color: #0c3c29 !important;
}

/* Sidebar (portlets) links */
.portal a,
#mw-panel a,
#p-navigation a,
#p-interaction a,
#p-tb a,
#p-logo a {
  color: #0c3c29 !important;
}
.portal a:hover,
#mw-panel a:hover,
#p-navigation a:hover,
#p-interaction a:hover,
#p-tb a:hover,
#p-logo a:hover {
  color: #689427 !important;
}

/* Page tools / ações da página */
#p-cactions a,
#p-cactions li.selected a,
#p-cactions .selected a {
  color: #0c3c29 !important;
}
#p-cactions a:hover {
  color: #689427 !important;
}

/* Footer links */
#footer a,
.footer a {
  color: #0c3c29 !important;
}
#footer a:hover,
.footer a:hover {
  color: #689427 !important;
}

/* Panel and table of contents links */
.toc a,
.mw-editsection a {
  color: #0c3c29 !important;
}
.toc a:hover,
.mw-editsection a:hover {
  color: #689427 !important;
}

/* Global UI links such as .plainlinks, .wikilink */
a.plainlinks a,
a.wikilink {
  color: #0c3c29 !important;
}
a.plainlinks a:hover,
a.wikilink:hover {
  color: #689427 !important;
}

/* Override default MediaWiki skin colors */
/* Replace default link color variables if skin supports variables */
:root {
  --link-color: #0c3c29;
  --link-hover: #689427;
}

/* Misc buttons, tabs etc. */
.mw-ui-button,
.mw-ui-icon,
.mw-ui-icon-element {
  color: #0c3c29 !important;
}
.mw-ui-button:hover {
  color: #689427 !important;
}