Ir al contenido

Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
Etiqueta: Reversión manual
Línea 1: Línea 1:
/*
/*
  * ===================================================================
  * This is the CSS common to all desktop skins on en.Wikipedia.
* PERGAMINO DE ESTILOS: VERSIÓN "VOLUNTAD DE FUEGO MODERNA"
  * Styling inside .mw-parser-output should generally use TemplateStyles.
* Inspirado en el universo de Naruto, con un toque del siglo XXI.
  *
* /#######((((((((((((((((((((((########
* /######((((((((((((((((((((((((((#######
* /####((((((((((((((((((((((((((((((#####
* /###((((((((((((((((((((((((((((((((####
* /##((((((((((((((((/ \((((((((((((((####
* /##((((((((((((((((| O |((((((((((((((###
* '##(((((((((((((((( \ /((((((((((((((###
* '##((((((((((((((((((((((((((((((((((###
* '###((((((((((((((((((((((((((((((((####
* '####((((((((((((((((((((((((((((((#####
* '######((((((((((((((((((((((((((#######
* \#######((((((((((((((((((((((########
*
* ===================================================================
  */
  */
/* Reset italic styling set by user agent */
cite,
dfn {
font-style: inherit;
}
/* Straight quote marks for <q> */
q {
quotes: '"' '"' "'" "'";
}
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
overflow: hidden;
margin: 1em 0;
padding: 0 40px;
}
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup {
font-size: 80%;
}
/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
/* Make the list of references smaller
* Keep in sync with Template:Refbegin/styles.css
* And Template:Reflist/styles.css
*/
ol.references {
font-size: 90%;
margin-bottom: 0.5em;
}
/* Cite customizations for Parsoid
* Once everything uses the one true parser these are just customizations
*/
span[ rel="mw:referencedBy" ] {
counter-reset: mw-ref-linkback 0;
}


/* Importamos fuentes modernas y legibles, con un toque de pincel */
span[ rel='mw:referencedBy' ] > a::before {
@import url('https://fonts.googleapis.com/css2?family=Yuji+Syuku&family=Inter:wght@400;700&display=swap');
content: counter( mw-ref-linkback, lower-alpha );
font-size: 80%;
font-weight: bold;
font-style: italic;
}


/* --- Chakra de Estilos (Variables de Color y Fuentes) --- */
a[ rel="mw:referencedBy" ]::before {
:root {
font-weight: bold;
    --color-naranja-naruto: #ff8c00;
content: "^";
    --color-verde-konoha: #5a804e;
}
    --color-azul-shinobi: #1a325f;
    --color-rojo-sharingan: #d11a2a;


    /* Esquema Claro (Por defecto) */
span[ rel="mw:referencedBy" ]::before {
    --color-fondo: #fdfaf3;
content: "^ ";
    --color-texto: #3a322d;
}
    --color-superficie: #ffffff; /* Para infobox, tablas, etc. */
    --color-borde: #e0d7c8;
    --color-texto-cabecera: #1a325f;


    --fuente-jutsu: 'Yuji Syuku', serif;
.mw-ref > a[data-mw-group=lower-alpha]::after {
    --fuente-cronica: 'Inter', sans-serif;
content: '[' counter( mw-Ref, lower-alpha ) ']';
}


    --sombra-suave: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
.mw-ref > a[data-mw-group=upper-alpha]::after {
    --sombra-media: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
content: '[' counter( mw-Ref, upper-alpha ) ']';
    --radio-borde: 12px;
}
}


/* --- Modo Oscuro (Jutsu de Sustitución de Apariencia) --- */
.mw-ref > a[data-mw-group=decimal]::after {
@media (prefers-color-scheme: dark) {
content: '[' counter( mw-Ref, decimal ) ']';
    :root {
        --color-fondo: #1a1a1a;
        --color-texto: #e0e0e0;
        --color-superficie: #2a2a2a;
        --color-borde: #444444;
        --color-texto-cabecera: #a3b8ff;
    }
}
}


/* --- Estilo General del Cuerpo (El Mundo Shinobi) --- */
.mw-ref > a[data-mw-group=lower-roman]::after {
body {
content: '[' counter( mw-Ref, lower-roman ) ']';
    background-color: var(--color-fondo);
    font-family: var(--fuente-cronica);
    color: var(--color-texto);
    line-height: 1.8;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
}


/* Centramos el contenido para una mejor lectura en pantallas grandes */
.mw-ref > a[data-mw-group=upper-roman]::after {
.mw-body {
content: '[' counter( mw-Ref, upper-roman ) ']';
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
}


/* --- Encabezados (Nombres de Jutsus) --- */
.mw-ref > a[data-mw-group=lower-greek]::after {
h1, h2, h3, h4, h5, h6 {
content: '[' counter( mw-Ref, lower-greek ) ']';
    font-family: var(--fuente-jutsu);
    color: var(--color-texto-cabecera);
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--color-naranja-naruto);
    padding-bottom: 12px;
    margin: 2em 0 1em;
}
}


h1::before {
/* Styling for jQuery makeCollapsible, matching that of collapseButton */
    content: '🍥';
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
    margin-right: 15px;
font-weight: normal;
    font-family: sans-serif;
padding-right: 0.2em;
    color: var(--color-naranja-naruto);
padding-left: 0.2em;
}
}


h1 { font-size: 3.5em; }
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
h2 { font-size: 2.8em; }
/* @noflip */
h3 { font-size: 2.2em; }
float: left;
}


/* --- Enlaces (Caminos del Shinobi) --- */
/* Lists in wikitable data cells are always left-aligned */
a {
.wikitable td ul,
    color: var(--color-verde-konoha);
.wikitable td ol,
    text-decoration: none;
.wikitable td dl {
    font-weight: bold;
/* @noflip */
    transition: all 0.2s ease-in-out;
text-align: left;
}
}


a:hover, a:focus {
/* Change the external link icon to a PDF icon for all PDF files */
    color: var(--color-naranja-naruto);
.mw-parser-output a[href$=".pdf"].external,
    text-decoration: underline;
.mw-parser-output a[href*=".pdf?"].external,
    text-underline-offset: 4px;
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}
}


/*
/* System messages styled similarly to fmbox */
* ===================================================================
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
  * LA FICHA DE INFO (INFOBOX) - ¡EL LIBRO BINGO!
  * the edit-protected notice and the special:Contribs for blocked users
  * ===================================================================
  * The latter has specificity of 3 classes so we have to triple up here.
  */
  */
.infobox {
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
    float: right;
div.mw-lag-warn-high,
    clear: right;
div.mw-cascadeprotectedwarning,
    width: 25em;
div#mw-protect-cascadeon {
    margin: 0.5em 0 1em 1.5em;
clear: both;
    padding: 1.2em;
margin: 0.2em 0;
    background-color: var(--color-superficie);
border: 1px solid #bb7070;
    border: 1px solid var(--color-borde);
background-color: var(--background-color-error-subtle, #ffdbdb);
    border-radius: var(--radio-borde);
padding: 0.25em 0.9em;
    box-shadow: var(--sombra-suave);
box-sizing: border-box;
    font-size: 92%;
}
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
 
/* default colors for partial block message */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
border-color: #fc3;
background-color: var(--background-color-warning-subtle, #fef6e7);
}
 
/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
min-width: 100px;
}
 
/* Prevent floating boxes from overlapping any category listings,
  file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
 
/* Styling for tags in changes pages */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
 
/* Hide stuff meant for accounts with special permissions. Made visible again in
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
 
/* Hide the redlink generated by {{Editnotice}},
  this overrides the ".sysop-show { display: none; }" above that applies
  to the same link as well. See [[phab:T45013]]
 
  Hide the images in editnotices to keep them readable in VE view.
  Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
 
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
margin: 0;
}
 
ul.permissions-errors > li {
list-style: none;
}
}


.infobox:hover {
/* larger inline math */
    transform: translateY(-5px);
span.mwe-math-mathml-inline {
    box-shadow: var(--sombra-media);
font-size: 118%;
    border-color: var(--color-naranja-naruto);
}
}


.infobox .infobox-title {
/* Make <math display="block"> be left aligned with one space indent for
    font-family: var(--fuente-jutsu);
* compatibility with style conventions
    font-size: 1.8em;
*/
    text-align: center;
.mwe-math-fallback-image-display,
    color: white;
.mwe-math-mathml-display {
    background: linear-gradient(45deg, var(--color-azul-shinobi), var(--color-verde-konoha));
margin-left: 1.6em !important;
    padding: 0.8em 0.5em;
margin-top: 0.6em;
    margin: -1.2em -1.2em 1em -1.2em;
margin-bottom: 0.6em;
    border-radius: var(--radio-borde) var(--radio-borde) 0 0;
}
}


.infobox .infobox-header {
.mwe-math-mathml-display math {
    background-color: transparent;
display: inline;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid var(--color-borde);
    border-bottom: 1px solid var(--color-borde);
    padding: 0.5em;
}
}


.infobox .infobox-label {
@media screen {
    font-weight: bold;
/* Put a chequered background behind images, only visible if they have transparency,
    color: var(--color-texto-cabecera);
* except on main, user, and portal namespaces
*/
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: block;
}
}
 
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
display: none;
}
}


/*
/*
  * ===================================================================
  * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
  * TABLA DE CONTENIDOS (ÍNDICE DEL PERGAMINO)
  * SEE [[MediaWiki talk:Common.css/to do]]
* ===================================================================
  */
  */
#toc {
 
    background-color: var(--color-superficie);
/* Infobox template style */
    border: 1px solid var(--color-borde);
.infobox {
    border-radius: var(--radio-borde);
border: 1px solid #a2a9b1;
    padding: 1.5em;
border-spacing: 3px;
    margin: 2em 0;
background-color: #f8f9fa;
    box-shadow: var(--sombra-suave);
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
 
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
 
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
}


#toc .toctitle {
/* Remove .infobox when element selectors above are removed */
    font-family: var(--fuente-jutsu);
.infobox .infobox-above,
    font-size: 1.5em;
.infobox .infobox-title,
    text-align: center;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    margin-bottom: 1em;
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


#toc ul {
.infobox-title,
    list-style: none;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    padding-left: 0;
.infobox caption {
padding: 0.2em;
}
}


#toc ul ul {
/* Remove .infobox when element selectors above are removed */
    padding-left: 2em;
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


/* --- Tablas (Registro de Misiones) --- */
/* Remove .infobox when element selectors above are removed */
.wikitable {
.infobox .infobox-navbar {
    background-color: var(--color-superficie);
/* @noflip */
    border: 1px solid var(--color-borde);
text-align: right;
    border-collapse: collapse;
    box-shadow: var(--sombra-suave);
    margin: 2em 0;
    width: 100%;
    border-radius: var(--radio-borde);
    overflow: hidden; /* Clave para que el border-radius afecte a th */
}
}


.wikitable th {
/* Normal font styling for wikitable row headers with scope="row" tag */
    background-color: var(--color-azul-shinobi);
.wikitable.plainrowheaders th[scope=row],
    color: #fff;
.wikitable.plainrowheaders th[scope=rowgroup] {
    padding: 1em;
font-weight: normal;
    font-weight: bold;
/* @noflip */
    text-align: left;
text-align: left;
}
}


.wikitable td {
/* Remove underlines from certain links */
    padding: 1em;
.nounderlines a,
    border-bottom: 1px solid var(--color-borde);
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
}


.wikitable tr:last-child td {
/* Prevent line breaks in silly places where desired (nowrap)
    border-bottom: none;
  and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
}


/* --- Citas (Palabras de Leyendas) --- */
/* But allow wrapping where desired: */
blockquote {
.wrap,
    margin: 1.5em 0;
.wraplinks a {
    padding: 1em 1.5em;
white-space: normal;
    border-left: 5px solid var(--color-naranja-naruto);
}
    background: var(--color-superficie);
 
    font-style: italic;
/* texhtml class for inline math (based on generic times-serif class) */
    font-size: 1.1em;
span.texhtml {
    border-radius: 0 var(--radio-borde) var(--radio-borde) 0;
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
}


/* --- Barra de Desplazamiento Personalizada --- */
span.texhtml span.texhtml {
::-webkit-scrollbar {
font-size: 100%;
    width: 12px;
}
}


::-webkit-scrollbar-track {
@media screen {
    background: var(--color-fondo);
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
}


::-webkit-scrollbar-thumb {
.infobox {
    background: var(--color-verde-konoha);
  background-color: #f9f9f9;
    border-radius: 10px;
  border: 1px solid #aaa;
    border: 2px solid var(--color-fondo);
  padding: 5px;
  font-size: 90%;
  width: 22em;
}
}


::-webkit-scrollbar-thumb:hover {
/* Put anything you mean to be a sitewide addition above the TemplateStyles
    background: var(--color-naranja-naruto);
* comment above.
*/
 
/* Estilos para Fichas (Infobox) */
.infobox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}
}

Revisión del 16:45 23 sep 2025

/*
 * This is the CSS common to all desktop skins on en.Wikipedia.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */
/* Reset italic styling set by user agent */
cite,
dfn {
	font-style: inherit;
}

/* Straight quote marks for <q> */
q {
	quotes: '"' '"' "'" "'";
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}

.mw-body-content sub,
.mw-body-content sup {
	font-size: 80%;
}

/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),

/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
	display: none;
}

/* Make the list of references smaller
 * Keep in sync with Template:Refbegin/styles.css
 * And Template:Reflist/styles.css
 */
ol.references {
	font-size: 90%;
	margin-bottom: 0.5em;
}

/* Cite customizations for Parsoid
 * Once everything uses the one true parser these are just customizations
 */
span[ rel="mw:referencedBy" ] {
	counter-reset: mw-ref-linkback 0;
}

span[ rel='mw:referencedBy' ] > a::before {
	content: counter( mw-ref-linkback, lower-alpha );
	font-size: 80%;
	font-weight: bold;
	font-style: italic;
}

a[ rel="mw:referencedBy" ]::before {
	font-weight: bold;
	content: "^";
}

span[ rel="mw:referencedBy" ]::before {
	content: "^ ";
}

.mw-ref > a[data-mw-group=lower-alpha]::after {
	content: '[' counter( mw-Ref, lower-alpha ) ']';
}

.mw-ref > a[data-mw-group=upper-alpha]::after {
	content: '[' counter( mw-Ref, upper-alpha ) ']';
}

.mw-ref > a[data-mw-group=decimal]::after {
	content: '[' counter( mw-Ref, decimal ) ']';
}

.mw-ref > a[data-mw-group=lower-roman]::after {
	content: '[' counter( mw-Ref, lower-roman ) ']';
}

.mw-ref > a[data-mw-group=upper-roman]::after {
	content: '[' counter( mw-Ref, upper-roman ) ']';
}

.mw-ref > a[data-mw-group=lower-greek]::after {
	content: '[' counter( mw-Ref, lower-greek ) ']';
}

/* Styling for jQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
	font-weight: normal;
	padding-right: 0.2em;
	padding-left: 0.2em;
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}

/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
	/* @noflip */
	padding: 8px 18px 8px 0;
}

/* System messages styled similarly to fmbox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
 * the edit-protected notice and the special:Contribs for blocked users
 * The latter has specificity of 3 classes so we have to triple up here.
 */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background-color: var(--background-color-error-subtle, #ffdbdb);
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* default colors for partial block message */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
	border-color: #fc3;
	background-color: var(--background-color-warning-subtle, #fef6e7);
}

/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
	min-width: 100px;
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
	clear: both;
}

/* Styling for tags in changes pages */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
   [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
   [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
	display: none;
}

/* Hide the redlink generated by {{Editnotice}},
   this overrides the ".sysop-show { display: none; }" above that applies
   to the same link as well. See [[phab:T45013]]

   Hide the images in editnotices to keep them readable in VE view.
   Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
	display: none !important;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
	margin: 0;
}

ul.permissions-errors > li {
	list-style: none;
}

/* larger inline math */
span.mwe-math-mathml-inline {
	font-size: 118%;
}

/* Make <math display="block"> be left aligned with one space indent for 
 * compatibility with style conventions
 */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
	margin-left: 1.6em !important;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}

.mwe-math-mathml-display math {
	display: inline;
}

@media screen {
	/* Put a chequered background behind images, only visible if they have transparency,
	 * except on main, user, and portal namespaces
	 */
	body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
	}

	/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
	   do not apply to print mode */
	#siteSub {
		display: block;
	}
}

/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
	display: none;
}

/*
 * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
 * SEE [[MediaWiki talk:Common.css/to do]]
 */

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
	text-decoration: none !important;
}

/* Prevent line breaks in silly places where desired (nowrap)
   and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
	white-space: nowrap;
}

/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
	white-space: normal;
}

/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	white-space: nowrap;
	/* Force tabular and lining display for texhtml */
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

span.texhtml span.texhtml {
	font-size: 100%;
}

@media screen {
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}
}

.infobox {
  background-color: #f9f9f9;
  border: 1px solid #aaa;
  padding: 5px;
  font-size: 90%;
  width: 22em;
}

/* Put anything you mean to be a sitewide addition above the TemplateStyles
 * comment above.
 */

/* Estilos para Fichas (Infobox) */
.infobox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}