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
Sin resumen de edición
 
(No se muestran 56 ediciones intermedias de 5 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. */


/* Formato del foro por -Algorithm & -Splaka */
/* Galerías */
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; color: #000; margin-top: 1em; padding: 12px; }
/* Ayuda para eliminar las etiquetas <center> anticuadas */
.forumlist td.forum_edited a { color: black; text-decoration: none }
.gallery.mw-gallery-traditional {
.forumlist td.forum_title a { padding-left: 20px; }
text-align: center;
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://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]] */
h2 {
/*** IMÁGENES ***/
    padding-top: 15px;
/* Aspecto de los thumbs */
div.thumbinner, .WikiaArticle .thumbinner {
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));
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#333333', startColorstr='#888888', gradientType='0');
border:none;
-moz-border-radius:5px;
-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; }
li.main li {
    padding-right: 2px;
img.thumbimage {
    text-align: left;
background-color:#f9f9f9;
    padding-left: 20px;
border:none;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
}
}
 
a.magnify.sprite { background:url("http://images2.wikia.nocookie.net/__cb20101012094234/es.pokemon/images/f/ff/FlechaIm%C3%A1genes.png") center center no-repeat; }
@media screen and (min-width: 1024px)
/*Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
see http://www.barelyfitz.com/projects/tabber/
*/
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
/*--------------------------------------------------
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}
.tabberlive {
margin-top:1em;
}
/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav
{
{
margin:0;
.item1
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
ul.tabbernav li
{
{
list-style: none;
  width: 65%;
margin: 0;
  margin-right: 1%;
display: inline;
}
}
 
ul.tabbernav li a
.item2
{
{
padding: 3px 0.5em;
  width: 35%;
margin-left: 3px;
border: 1px solid #ccc;
border-bottom: none;
background: #f2f7ff;
text-decoration: none;
}
}
 
ul.tabbernav li a:link { color: #448; }
.index-div
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
{
color: #000;
  display: flex;
background: #fff9f2;
  width: 100%;
border-color: #CCC;
}
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
}
 
ul.tabbernav li.tabberactive a:hover
 
{
/* Indicadores de bytes en Cambios recientes */
color: #000;
.mw-plusminus-pos { color: #2aa933; }
background: white;
.mw-plusminus-neg { color: #e3636d; }
border-bottom: 1px solid white;
.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) */
  .tabbertab = the tab content
.mw-body-content h3,
  Add style only after the tabber interface is set up (.tabberlive)
.mw-body-content h4,
  --------------------------------------------------*/
.mw-body-content h5,
.tabberlive .tabbertab {
.mw-body-content h6 {
padding:5px;
    margin-bottom:.25em;
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 */
/* TABLAS */
.tabberlive .tabbertab h2 {
/* Estilo visual para tablas con estilo zebra */
display:none;
 
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #e1caac;
    color: #000;
    text-align: center;
  }
}
}
.tabberlive .tabbertab h3 {
 
display:none;
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;
}
}
 
/* Example of using an ID to set different styles for the tabs on the page */
 
.tabberlive#tab1 {
th {
  background-color: #e1caac;
  color: black;
}
}
.tabberlive#tab2 {
 
}
thead {
.tabberlive#tab2 .tabbertab {
  background-color: #e1caac;
height:200px;
  color: black;
overflow:auto;
}
}


  /*============*/
tbody tr:nth-child(odd) {
/* Encabezados*/
  background-color: #f9f5ef;
/*============*/
body.ns-0 div.mw-content-ltr > h2, body.ns-0 #WikiaArticle > h2 {
background: White;
background-image: -moz-linear-gradient(top, Orange 20%, OrangeRed 90%) !important;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%,Orange), color-stop(90%,OrangeRed)) !important;
background-image: -webkit-linear-gradient(top, Orange 20%, OrangeRed 90%) !important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='OrangeRed', endColorstr='Red', GradientType=0 ) !important;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
}


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

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