Diferencia entre revisiones de «MediaWiki:Common.css»

Deshecha la revisión 23317 de Bardock RPGManiac (disc.)
Sin resumen de edición
 
(No se muestran 58 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
.item1
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;
  width: 65%;
padding: 3px 0;
  margin-right: 1%;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
}
 
ul.tabbernav li
.item2
{
{
list-style: none;
  width: 35%;
margin: 0;
display: inline;
}
}
 
ul.tabbernav li a
.index-div
{
{
padding: 3px 0.5em;
  display: flex;
margin-left: 3px;
  width: 100%;
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
 
{
/* Indicadores de bytes en Cambios recientes */
background-color: #fff;
.mw-plusminus-pos { color: #2aa933; }
border-bottom: 1px solid #fff;
.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;
}
}
 
ul.tabbernav li.tabberactive a:hover
/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */
{
.mw-body-content h3,
color: #000;
.mw-body-content h4,
background: white;
.mw-body-content h5,
border-bottom: 1px solid white;
.mw-body-content h6 {
    margin-bottom:.25em;
}
}
 
/*--------------------------------------------------
/* TABLAS */
  .tabbertab = the tab content
/* Estilo visual para tablas con estilo zebra */
  Add style only after the tabber interface is set up (.tabberlive)
 
  --------------------------------------------------*/
.wikitable > tr > th, .wikitable > * > tr > th {
.tabberlive .tabbertab {
    background-color: #e1caac;
padding:5px;
    color: #000;
border:1px solid #CCC;
    text-align: center;
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 */
table {
.tabberlive .tabbertab h2 {
  table-layout: fixed;
display:none;
  width: 80%;
  min-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #ffffff;
  text-align:center;
  vertical-align: top;
  padding: 0.6em;
}
}
.tabberlive .tabbertab h3 {
 
display:none;
 
th {
  background-color: #e1caac;
  color: black;
}
}
 
/* Example of using an ID to set different styles for the tabs on the page */
thead {
.tabberlive#tab1 {
  background-color: #e1caac;
  color: black;
}
}
.tabberlive#tab2 {
 
tbody tr:nth-child(odd) {
  background-color: #f9f5ef;
}
}
.tabberlive#tab2 .tabbertab {
 
height:200px;
tbody tr:nth-child(even) {
overflow:auto;
  background-color: #ffffff;
}
}