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 44 ediciones intermedias de 2 usuarios)
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 17: Línea 35:
   display: flex;
   display: flex;
   width: 100%;
   width: 100%;
  row-gap: 10px;
}
}
}
}


/* Formato del foro por -Algorithm & -Splaka */
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; color: #000; margin-top: 1em; padding: 12px; }
.forumlist td.forum_edited a { color: black; text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(//www.wikia.com/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }


/* Obtenido de [[w:c:es.pokemon|Wikidex]] */
/* Indicadores de bytes en Cambios recientes */
/*** IMÁGENES ***/
.mw-plusminus-pos { color: #2aa933; }
/* Aspecto de los thumbs */
.mw-plusminus-neg { color: #e3636d; }
div.thumbinner, .WikiaArticle .thumbinner {
.mw-plusminus-null { color: #aaaaaa; }
background-color:#333;
 
background:-moz-linear-gradient(center top, #888 0%, #333 100%);
 
background:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #888888), color-stop(100%, #333333));
/*CSS Sacado de Wikipedia.es (https://es.wikipedia.org/wiki/MediaWiki:Common.css)
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#333333', startColorstr='#888888', gradientType='0');
/* Arregla problemas interlineado para <sup> y <sub> */
border:none;
sup, sub {
-moz-border-radius:5px;
    line-height: 1em;
-webkit-border-radius:5px;
border-radius:5px;
color:#FFFFFF;
-moz-box-shadow:2px 2px 5px #333;
-webkit-box-shadow:2px 2px 5px #333;
box-shadow:2px 2px 5px #333;
padding-top:4px !important; /* Un píxel más para igualar con los lados */
}
}
 
.thumbinner a, .thumbinner a:visited { color:#4169e1; }
/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */
.mw-body-content h3,
img.thumbimage {
.mw-body-content h4,
background-color:#f9f9f9;
.mw-body-content h5,
border:none;
.mw-body-content h6 {
-moz-border-radius:3px;
    margin-bottom:.25em;
-webkit-border-radius:3px;
border-radius:3px;
}
}
 
a.magnify.sprite { background:url("https://images.wikia.nocookie.net/__cb20101012094234/es.pokemon/images/f/ff/FlechaIm%C3%A1genes.png") center center no-repeat; }
/* TABLAS */
/* Estilo visual para tablas con estilo zebra */
/*Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
 
see http://www.barelyfitz.com/projects/tabber/
.wikitable > tr > th, .wikitable > * > tr > th {
*/
    background-color: #e1caac;
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
    color: #000;
    text-align: center;
/*--------------------------------------------------
  }
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
}
 
/*--------------------------------------------------
table {
   .tabber = before the tabber interface is set up
  table-layout: fixed;
   .tabberlive = after the tabber interface is set up
  width: 80%;
   --------------------------------------------------*/
  min-width: 600px;
.tabber {
   margin: 0 auto;
   border-collapse: collapse;
   background-color: #ffffff;
  text-align:center;
  vertical-align: top;
  padding: 0.6em;
}
}
.tabberlive {
 
margin-top:1em;
 
th {
  background-color: #e1caac;
  color: black;
}
}
 
/*--------------------------------------------------
thead {
  ul.tabbernav = the tab navigation list
   background-color: #e1caac;
  li.tabberactive = the active tab
  color: black;
   --------------------------------------------------*/
ul.tabbernav
{
margin:0;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
}
 
ul.tabbernav li
tbody tr:nth-child(odd) {
{
  background-color: #f9f5ef;
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #ccc;
border-bottom: none;
background: #f2f7ff;
text-decoration: none;
}
ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
color: #000;
background: #fff9f2;
border-color: #CCC;
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background: white;
border-bottom: 1px solid white;
}
/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
padding:5px;
border:1px solid #CCC;
border-top:0;
/* If you don't want the tab size changing whenever a tab is changed
    you can set a fixed height */
/* height:200px; */
/* If you set a fix height set overflow to auto and you will get a
    scrollbar when necessary */
/* overflow:auto; */
}
/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
display:none;
}
.tabberlive .tabbertab h3 {
display:none;
}
/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
height:200px;
overflow:auto;
}
}


/* SkyBar */
tbody tr:nth-child(even) {
::-webkit-scrollbar {
  background-color: #ffffff;
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;
}
/*Encales especiales (créditos es.pokemon) */
.enlacesblancos a, .enlacesblancos a:visited { color: white; }

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