Still working to recover. Please don't edit quite yet.

Difference between revisions of "MediaWiki:Common.css"

From Anarchopedia
Jump to: navigation, search
(Página nueva: Los estilos CSS definidos aquí aplicarán a todas las pieles (skins): Evitar la aparición del subrayado al pasar sobre la imagen cuande se usa {{tl|clic}}: .clic a:active...)
(No difference)

Revision as of 07:38, 3 November 2008

/* Los estilos CSS definidos aquí aplicarán a todas las pieles (skins) */
/* Evitar la aparición del subrayado al pasar sobre la imagen cuande se usa {{tl|clic}} */ 
.clic a:active, .clic a:hover {text-decoration:none}
 
 
/* Style for "notices" */
.notice {
    text-align: justify;
    margin: 1em;
    padding: 0.2em;
}
 
#disambig {
    border-top: 3px double #cccccc; 
    border-bottom: 3px double #cccccc;
}
 
#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}
 
/* Standard talk template style */
 
.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}
 
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}
 
.plainlinksneverexpand .urlexpansion {
  display : none ! important;
}
 
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important
}
*/
.plainlinksneverexpand a.external.text:after {
 display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
 display: none !important;
}
 
/* Merge template style */
 
.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
   font-size: 90%;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
   text-align: center;
}
 
.messagebox.warning {
   border: 1px solid #fcc;
   background-color: #fee;
   text-align: center;
   font-size: 100%;
}
 
/* Article message box template styles */
table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
    border-left: 10px solid #b22222;     /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
    border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-growth {
  border-left: 10px solid #228b22;       /* Green */
}
table.ambox-protection {
    border-left: 10px solid #bba;        /* Gray */
}
table.ambox.ambox-mini {                 /* Small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}
@media print {                           /* Do not print article message box */
    .ambox {
        display: none;
    }
}
 
/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
    margin-left: inherit;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
@media print {
    .infobox.sisterproject {
        display: none;
    }
}
 
/* make the list of references look smaller */
ol.references {
   font-size: 100%;
}
 
.references-small { font-size: 90%;}
 
.references-2column {
  font-size: 90%;
}
 
/* Highlight clicked reference in blue to help navigation */
 
ol.references > li:target {
background-color: #DEF;
}
 
sup.reference:target { 
background-color: #DEF;
}
/* [[Plantilla:Listaref]] */
@media print { 
  .listaref {
    -moz-column-count: 1 !important;
  }
 
}
 
/* [[Especial:SpecialPages]] */
.mw-specialpages-table { text-align:left } /* alinear a la izquierda, en vez de estar justificado */