Diferencia entre revisiones de «MediaWiki:Common.css Ver historial

Sin resumen de edición
Sin resumen de edición
Línea 486: Línea 486:
     padding-left:0;
     padding-left:0;
}
}
/*  */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/* MENÚ PRUEBAS */
/*  */
ul#menu,ul#menu ul{
margin:0;list-style:none;padding:0;background-color:#92C3D3;-moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px;}
ul#menu ul{
display:none;position:absolute;left:0;top:100%;-moz-box-shadow:3.5px 3.5px 5px #000000;-webkit-box-shadow:3.5px 3.5px 5px #000000;box-shadow:3.5px 3.5px 5px #000000;background-color:#FFFFFF;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;border-color:#d4d4d4;padding:0 10px 10px;}
ul#menu li:hover>*{
display:block;}
ul#menu li{
position:relative;display:block;white-space:nowrap;font-size:0;float:left;}
ul#menu li:hover{
z-index:1;}
ul#menu ul ul{
position:absolute;left:100%;top:0;}
ul#menu{
font-size:0;z-index:999;position:relative;display:inline-block;zoom:1;padding:0;
*display:inline;}
* html ul#menu li a{
display:inline-block;}
ul#menu>li{
margin:0;}
ul#menu a:active, ul#menu a:focus{
outline-style:none;}
ul#menu a{
display:block;vertical-align:middle;text-align:center;text-decoration:none;font:bold 14px Trebuchet MS;color:#000000;text-shadow:#FFF 0 0 1px;cursor:pointer;padding:10px;background-color:#92C3D3;background-image:url("mainbk.png");background-repeat:repeat;background-position:0 0;border-width:0 0 0 1px;border-style:solid;border-color:#C0C0C0;}
ul#menu ul li{
float:none;margin:10px 0 0;}
ul#menu ul a{
text-align:left;padding:4px;background-color:#FFFFFF;background-image:none;border-width:0;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;font:14px Tahoma;color:#000;text-decoration:none;}
ul#menu li:hover>a,ul#menu li a.pressed{
background-color:#ffffff;border-color:#C0C0C0;border-style:solid;color:#000000;text-shadow:#FFF 0 0 1px;background-image:url("mainbk.png");background-position:0 100px;}
ul#menu img{
border:none;vertical-align:middle;margin-right:10px;}
ul#menu span{
display:block;overflow:visible;background-position:right center;background-repeat:no-repeat;padding-right:0px;}
ul#menu ul span{
background-image:url("arrowsub.png");padding-right:12px;}
ul#menu > li.switch{
display:none;cursor:pointer;width:25px;height:20px;padding:10px;}
ul#menu > li.switch:before{
content:"";position:absolute;display:block;height:4px;width:25px;border-radius:4px;background:#000000;-moz-box-shadow:0 8px #000000, 0 16px #000000;-webkit-box-shadow:0 8px #000000, 0 16px #000000;box-shadow:0 8px #000000, 0 16px #000000;}
ul#menu > li.switch:hover:before{
background:#000000;-moz-box-shadow:0 8px #000000, 0 16px #000000;-webkit-box-shadow:0 8px #000000, 0 16px #000000;box-shadow:0 8px #000000, 0 16px #000000;}
.c3m-switch-input{
display:none;}
ul#menu li:hover>a,ul#menu li > a.pressed{
background-color:#ffffff;background-image:url("mainbk.png");background-position:0 100px;border-style:solid;border-color:#C0C0C0;color:#000000;text-decoration:none;text-shadow:#FFF 0 0 1px;}
ul#menu ul li:hover>a,ul#menu ul li > a.pressed{
background-color:#FFFFFF;background-image:none;color:#868686;text-decoration:none;}
ul#menu li.topfirst>a{
border-radius:0px 0 0 0px;-moz-border-radius:0px 0 0 0px;-webkit-border-radius:0px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-transition:all 0.5s;-webkit-transition:all 0.5s;-o-transition:all 0.5s;}
ul#menu li.topmenu>a{
-moz-transition:all 0.5s;-webkit-transition:all 0.5s;-o-transition:all 0.5s;}
ul#menu li.toplast>a{
border-radius:0 0px 0px 0;-moz-border-radius:0 0px 0px 0;-webkit-border-radius:0;-webkit-border-top-right-radius:0px;-webkit-border-bottom-right-radius:0px;-moz-transition:all 0.5s;-webkit-transition:all 0.5s;-o-transition:all 0.5s;}
@media screen and (max-width: 768px) {
ul#menu > li {
position: initial;}
ul#menu ul .submenu,ul#menu li > ul {
left: 0; right:auto; top: 100%;}
ul#menu .submenu,ul#menu ul,ul#menu .column {
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;padding-right: 0;width: 100% !important;}
}
@media screen and (max-width: 447px) {
ul#menu {
width: 100%;}
ul#menu > li {
display: none; position: relative; width: 100% !important;}
ul#menu > li.switch,.c3m-switch-input:checked + ul#menu > li + li {
display: block;}
ul#menu > li.switch > label { position: absolute;cursor: pointer;top: 0;left: 0;right: 0;bottom: 0;}}

Revisión del 19:39 13 ene 2021

/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */



.page-Spain .firstHeading { display:none; }

/*  */
/* VARIOS */
/*  */

/* Eliminamos la línea que subraya los hipervínculos */
a {
text-decoration: none !important;
}


/* CABECERAS */

/*  */
/* BARRA DE NAVEGACIÓN */
/*  */
#NavBar1
{
background-color: rgba(146,195,211,1.00);
   display: block;
   font-family: Arial;
   font-weight: normal;
   text-align: center;
   width: 100%;
   border-radius: 15px 15px 0px 0px;
   -webkit-border-radius: 15px 15px 0px 0px;
   -moz-border-radius: 15px 15px 0px 0px;
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
}

#Menu1
{
   background-color: #92C3D3;
   display: inline-block;
   height: 67px;
}

#NavBar1 ul
{
   list-style: none;
   margin: 0;
   padding: 0;
   position: relative;
}
#NavBar1 ul:after
{
   clear: both;
   content: "";
   display: block;
}


#NavBar1 ul li
{
   background-color: #92C3D3;
   display: list-item;
   float: left;
   list-style: none;
   z-index: 9999;
}

.Menu1 :link 
{
   display: block;
}


#NavBar1 li :link:hover, #NavBar1 li .active
{ 
	background-color: #A7D2DF;
	border-radius: 15px 15px 0px 0px;
	color: #424242;
	transform: translate(0px, -5px) scale(1.2);
	transition: .5s cubic-bezier(.5,.03,.41,1);
	-webkit-transition: .5s cubic-bezier(.5,.03,.41,1);
	-moz-transition: .5s cubic-bezier(.5,.03,.41,1);
	-webkit-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
	-moz-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
	box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
}

#NavBar1 ul li a, #NavBar1 .toggle
{
   padding: 0px 25px 0px 25px;
}

/*  */
/* SUBMENÚ DE NAVEGACIÓN */
/*  */

#NavSubmenu_top, #NavSubmenu_bottom
{
background-color: rgba(146,195,211,1.00);
   display: block;
   color: white;
   font-family: Arial;
   font-weight: normal;
   text-align: center;
   width: 100%;
}
#NavSubmenu_top {
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
#NavSubmenu_bottom {
   border-radius: 0px 0px 15px 15px;
   -webkit-border-radius: 0px 0px 15px 15px;
   -moz-border-radius: 0px 0px 15px 15px;
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}

/*  */
/* SUBMENÚ DE NAVEGACIÓN */
/*  */

#NavSubmenu_top, #NavSubmenu_bottom
{
background-color: rgba(146,195,211,1.00);
   display: block;
   color: white;
   font-family: Arial;
   font-weight: normal;
   text-align: center;
   width: 100%;
}
#NavSubmenu_top {
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
#NavSubmenu_bottom {
   border-radius: 0px 0px 15px 15px;
   -webkit-border-radius: 0px 0px 15px 15px;
   -moz-border-radius: 0px 0px 15px 15px;
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}


/*  */
/* Estilo de la Plantilla error */
/*  */

#error {
  width: 50%;
  background-color: red;
  position: relative;
  animation-name: example;
  animation-duration: 4s;
}

@keyframes error {
  0%   {background-color:red; left:0px; top:0px;}
  25%  {background-color:yellow; left:200px; top:0px;}
  50%  {background-color:blue; left:200px; top:200px;}
  75%  {background-color:green; left:0px; top:200px;}
  100% {background-color:red; left:0px; top:0px;}





/*  */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/* PRUEBAS */
/*  */


/* Message box templates */
.messagebox {
 border: 1px solid #a2a9b1;
 background: #f8f9fa;
 width: 80%;
 margin: 0 auto 1em;
 padding: 0.2em;
 text-align: justify;
}
.messagebox.merge {
 border: 1px solid #cf9fff;
 background: #f5edf5;
 text-align: center;
}
.messagebox.cleanup {
 border: 1px solid #9f9fff;
 background: #efefff;
 text-align: center;
}
.messagebox.standard-talk {
 border: 1px solid #c0c090;
 background: #f8eaba;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none;
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none;
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center;
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center;
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0 10%;   /* 10% = Will not overlap with other elements */
    border: 1px solid #a2a9b1;
    border-left: 10px solid #36c;    /* Default "notice" blue */
    background: #fbfbfb;
}
table.ambox + table.ambox {   /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    border-left: 10px solid #36c;    /* Blue */
}
table.ambox-speedy {
    border-left: 10px solid #b32424;    /* Red */
    background: #fee7e6;                   /* Pink */
}
table.ambox-delete {
    border-left: 10px solid #b32424;    /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    border-left: 10px solid #fc3;    /* Yellow */
}
table.ambox-move {
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #a2a9b1;       /* Gray-gold */
}

/* Image message box styles */
table.imbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 3px solid #36c;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {    /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;    /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox {    /* For imboxes inside other templates. */
    margin: 4px;
}

table.imbox-notice {
    border: 3px solid #36c;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b32424;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #fc3;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #a2a9b1;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    background: #DFE8FF;    /* Default "notice" blue */
}

table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b32424;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;       /* Default "notice" gray */
    background: #f8f9fa;
}

table.ombox-notice {
    border: 1px solid #a2a9b1;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #fc3;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #a2a9b1;       /* Gray-gold */
}

/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
    margin: 2px 0;               /* class ensures that this declaration overrides other */
    width: 100%;  /* For Safari and Opera */     /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */
    font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #fc3;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #a2a9b1;    /* Gray-brown */
}

/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f8f9fa;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

#catlinks li {
    padding:0 .3em;
    margin:0;
}
#catlinks li:first-child {
    padding-left:0;
}