Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Sin resumen de edición
 
(No se muestran 26 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:
}
}


/* Obtenido de [[w:c:es.pokemon|Wikidex]] */
 
/*** IMÁGENES ***/
/* Indicadores de bytes en Cambios recientes */
/* Aspecto de los thumbs */
.mw-plusminus-pos { color: #2aa933; }
div.thumbinner, .WikiaArticle .thumbinner {
.mw-plusminus-neg { color: #e3636d; }
background-color:#333;
.mw-plusminus-null { color: #aaaaaa; }
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');
/*CSS Sacado de Wikipedia.es (https://es.wikipedia.org/wiki/MediaWiki:Common.css)
border:none;
/* Arregla problemas interlineado para <sup> y <sub> */
-moz-border-radius:5px;
sup, sub {
-webkit-border-radius:5px;
    line-height: 1em;
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; }
img.thumbimage {
background-color:#f9f9f9;
border:none;
-moz-border-radius:3px;
-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; }
/*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;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
ul.tabbernav li
{
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 */
/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */
::-webkit-scrollbar {
.mw-body-content h3,
width: 8px;
.mw-body-content h4,
}
.mw-body-content h5,
::-webkit-scrollbar-button {
.mw-body-content h6 {
width: 8px;
    margin-bottom:.25em;
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) */
/* TABLAS */
.enlacesblancos a, .enlacesblancos a:visited { color: white; }
/* Estilo visual para tablas con estilo zebra */


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


table {
table {
Línea 200: Línea 77:
   background-color: #ffffff;
   background-color: #ffffff;
   text-align:center;
   text-align:center;
}
td {
   vertical-align: top;
   vertical-align: top;
   padding: 0.6em;
   padding: 0.6em;
}
}


th {
th {
   background-color: #e1caac;
   background-color: #e1caac;
   color: black;
   color: black;
   vertical-align: top;
}
   padding: 0.6em;
 
thead {
   background-color: #e1caac;
   color: black;
}
}