MediaWiki:Common.css

From Potatopedia
Revision as of 23:28, 28 December 2015 by Avm99963 (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: →‎* Cajas de aviso son blancas y con * una cinta de color en la parte superior: table.ambox { margin: 0 7% .8em; /*...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/** Cajas de aviso son blancas y con
 * una cinta de color en la parte superior  */
table.ambox {
    margin: 0 7% .8em; /* https://es.wikipedia.org/?diff=80119206 */
    border-collapse: collapse;
    background-color: #fbfbfb;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    font-size: 95%;
}

table.ambox th.ambox-text, table.ambox td.ambox-text {
    padding: 0.25em 0.5em; /* 0.5em left/right */
    width: 100%; /* Make all templates the same width regardless of text size */
}
table.ambox .ambox-image {
    padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
    text-align: center;
}
table.ambox .ambox-imageright {
    padding: 2px 0.5em 2px 0;  /* 0px left, 0.5em right */
    text-align: center;
}
.ambox-notice {border-top: 5px solid #608EC2}  /* Azul */
.ambox-protection {border-top: 5px solid #bba} /* Gris */
.ambox-delete,
.ambox-serious {border-top: 5px solid #b22222} /* Rojo */
.ambox-content {border-top: 5px solid #f28500} /* Naranja */
.ambox-style {border-top: 5px solid #f4c430}   /* Amarillo */
.ambox-merge {border-top: 5px solid #8c08a4}   /* Purpura */
.ambox-growth {border-top: 5px solid #47a30d}  /* Verde */

.ambox.ambox-mini { /* Versión pequeña flotante */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}