Diferencia entre revisiones de «MediaWiki:Common.css»

De Dragon Quest Wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
 
(No se muestran 22 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
/* Los estilos CSS definidos aquí se aplicarán a todas las pieles (skins) */
/* Los estilos CSS definidos aquí se aplicarán a todas las pieles (skins) de la web*/
/* Todos los cambios aplicados a esta página deben verse reflejados en MediaWiki:Mobile.css, y vice versa. */
 
/* Galerías */
/* Ayuda para eliminar las etiquetas <center> anticuadas */
.gallery.mw-gallery-traditional {
text-align: center;
}
 
h2 {
    padding-top: 15px;
}
 
li.main li {
    padding-right: 2px;
    text-align: left;
    padding-left: 20px;
}
 
@media screen and (min-width: 1024px)
@media screen and (min-width: 1024px)
{
{
Línea 20: Línea 38:
}
}


/* SkyBar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-button {
width: 8px;
height:5px;
}
::-webkit-scrollbar-track {
background:#eee;
border: thin solid lightgray;
box-shadow: 0px 0px 3px #dfdfdf inset;
border-radius:10px;
}
::-webkit-scrollbar-thumb {
background:#999;
border: thin solid gray;
border-radius:10px;
}
::-webkit-scrollbar-thumb:hover {
background:#7d7d7d;
}
/* Estilo visual para tablas */
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #e1caac;
    color: #000;
    text-align: center;
  }
}
table {
  table-layout: fixed;
  width: 80%;
  min-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #ffffff;
  text-align:center;
}
th,
td {
  vertical-align: top;
  padding: 0.6em;
}


th {
/* Indicadores de bytes en Cambios recientes */
  background-color: #e1caac;
.mw-plusminus-pos { color: #2aa933; }
  color: black;
.mw-plusminus-neg { color: #e3636d; }
}
.mw-plusminus-null { color: #aaaaaa; }


thead {
  background-color: #e1caac;
  color: black;
}


tbody tr:nth-child(odd) {
/*CSS Sacado de Wikipedia.es (https://es.wikipedia.org/wiki/MediaWiki:Common.css)
  background-color: #f9f5ef;
/* Arregla problemas interlineado para <sup> y <sub> */
sup, sub {
    line-height: 1em;
}
}


tbody tr:nth-child(even) {
/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */
  background-color: #ffffff;
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
    margin-bottom:.25em;
}
}


/* Estilo visual para tablas */
/* TABLAS */
/* Estilo visual para tablas con estilo zebra */


.tabladqw > tr > th, .tabladqw > * > tr > th {
.wikitable > tr > th, .wikitable > * > tr > th {
     background-color: #e1caac;
     background-color: #e1caac;
     color: #000;
     color: #000;
Línea 104: Línea 77:
   background-color: #ffffff;
   background-color: #ffffff;
   text-align:center;
   text-align:center;
}
th,
td {
   vertical-align: top;
   vertical-align: top;
   padding: 0.6em;
   padding: 0.6em;
}
}


th {
th {

Revisión actual - 18:19 1 mar 2026

/* Los estilos CSS definidos aquí se aplicarán a todas las pieles (skins) de la web*/
/* Todos los cambios aplicados a esta página deben verse reflejados en MediaWiki:Mobile.css, y vice versa. */

/* Galerías */
/* Ayuda para eliminar las etiquetas <center> anticuadas */
.gallery.mw-gallery-traditional {
 text-align: center;
}

h2 {
    padding-top: 15px;
}

li.main li {
    padding-right: 2px;
    text-align: left;
    padding-left: 20px;
}

@media screen and (min-width: 1024px)
{
.item1
{
  width: 65%;
  margin-right: 1%;
}

.item2
{
  width: 35%;
}

.index-div
{
   display: flex;
   width: 100%;
}
}


/* Indicadores de bytes en Cambios recientes */
.mw-plusminus-pos { color: #2aa933; }
.mw-plusminus-neg { color: #e3636d; }
.mw-plusminus-null { color: #aaaaaa; }


/*CSS Sacado de Wikipedia.es (https://es.wikipedia.org/wiki/MediaWiki:Common.css)
/* Arregla problemas interlineado para <sup> y <sub> */
sup, sub {
    line-height: 1em;
}

/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
    margin-bottom:.25em;
}

/* TABLAS */
/* Estilo visual para tablas con estilo zebra */

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #e1caac;
    color: #000;
    text-align: center;
  }
}

table {
  table-layout: fixed;
  width: 80%;
  min-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #ffffff;
  text-align:center;
  vertical-align: top;
  padding: 0.6em;
}


th {
  background-color: #e1caac;
  color: black;
}

thead {
  background-color: #e1caac;
  color: black;
}

tbody tr:nth-child(odd) {
  background-color: #f9f5ef;
}

tbody tr:nth-child(even) {
  background-color: #ffffff;
}