MediaWiki:Common.css

/* Design from the Spanish Wikipedia: es:Plantilla:Portada/OOUI/styles.css

Based on https://design.wikimedia.org/style-guide/ https://github.com/wikimedia/wikimedia-ui-base/blob/master/wikntilla:Portada:Encabezimedia-ui-base.less

/* Encabezados estándar */

.main-header { border-bottom-color: transparent; margin-bottom: 0.25em; margin-top: 0; padding-bottom: 0; padding-top: 0; }

/* Listas no ordenadas */

.main-plainlist>ul { list-style: none; margin: 0; padding: 0; }

.main-plainlist li { margin-bottom: 0; }

/* Enlaces-botones */

.main-top-right .mw-ui-quiet:hover, .main-top-right .mw-ui-quiet:focus, .main-footer .mw-ui-quiet:hover, .main-footer .mw-ui-quiet:focus { color: #0645ad; }

/* Eliminar la numeración de los encabezados creados por la opción «Numerar automáticamente los encabezados» en Especial:Preferencias */

.mw-headline-number { display: none; }

/* Tabletas

@media (min-width: 720px) { .main-wikimedia { padding-top: 1rem; padding-left: 1rem; padding-right: 1rem; } }

/* Computadoras

@media (min-width: 1000px) { .forsida-grid { display: grid; grid-template-columns: 3fr 2fr; grid-gap: 0 14px; } .main-wrapper { display: flex; /* margin: 0 -0.5rem; */ } .main-wrapper-column { margin: 0 0.5rem; } .main-wikimedia { padding-top: 1rem; padding-left: 1rem; padding-right: 1rem; } }

/* Reparto columnas al 55-45 % */

@media (min-width: 1000px) { .main-wrapper-column { width: 55%; } .main-wrapper-column+.main-wrapper-column { width: 45%; } .main-wrapper-column { flex: inherit; } }

/* es:Plantilla:Portada:Sección/styles.css

.main-box { background: #fff; border: solid #c8ccd1; border-width: 1px 0; box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15); margin: 0 -1rem 1rem; padding: 1rem; }

.main-box>p:last-child { margin-bottom: 0; }

/* Recurso del día */

.main-box-image-only>.main-box-content { margin: 0.5rem -1rem 0; text-align: center; }

.main-box-image-only>.main-box-content img { height: auto; max-width: 100%; }

.main-box-imageCaption { text-align: center; }

.main-box-imageCaption>p { display: inline-block; margin-bottom: 0; text-align: left; }

/* Sección */

.main-box-section { color: #72777d; line-height: 1.25; margin-top: -.125em; /* Equilibrando el límite superior de nombre de sección debido a line-height: 1.25; */ }

/* Encabezado */

.main-box-header { margin-top: -.15em; /* Equilibrando el límite superior del encabezado debido a line-height: 1.3; */ }

.main-box-header a { color: inherit; }

.main-box-section+.main-box-header { /* Cuando existe el nombre, restablecer el margen al valor estándar */ margin-top: 0; }

.main-box-header a:focus, .main-box:hover .main-box-header a, .main-box:hover .main-featuredLists-item>a { color: #0645ad; }

/* Teléfonos móviles

@media (max-width: 719px) { .main-box { margin-bottom: 0; border-bottom: 0; } .main-box-responsive-image>.floatleft, .main-box-responsive-image>.floatright { float: none; margin-left: -1rem; margin-right: -1rem; text-align: center; } .main-box-responsive-image>.floatleft>a, .main-box-responsive-image>.floatright>a { display: block; } }

/* Tabletas

@media (min-width: 720px) { .main-box { border-radius: 2px; border-width: 1px; margin-bottom: 1rem; margin-left: 0; margin-right: 0; } }

/* Computadoras

@media (min-width: 1000px) { .main-box { margin-bottom: 1rem; padding: 1rem; } .main-box-image-only>.main-box-content { margin-left: -1rem; margin-right: -1rem; } }

.main-box { padding-bottom: 10px }

.main-box-content { }

/* Pie */

.main-footer { border-top: 1px solid #d6d6d6; margin-top: 7px; padding-top: 9px; }

/* Byggt á hönnun spænsku Wikipedíu: https://es.wikipedia.org/wiki/Plantilla:Portada:Encabezado/OOUI/styles.css

.main-top { font-size: 1rem; margin-top: 1rem; padding-bottom: 1.5rem; }

.main-top-left>p { font-size: 0.875em; margin: 0; }

.main-top-right { font-size: 0.875em; margin-top: 0.5em; }

.main-top-right>ul { line-height: 12px; font-size: 16px; margin-top: 0.5rem; margin-right: 14px; }

.main-top-right>ul li .mw-ui-button { padding: 0px 8px; color: inherit; }

.main-top-right>ul li .mw-ui-button:hover { text-decoration: underline; }

.main-top-header { border-bottom: 0; margin-bottom: 5px; margin-top: 0; }

.main-top-articleCount { margin-bottom: 0; }

/* Spjaldtölvur

@media (min-width: 720px) { .main-top { background-color: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 2px; box-shadow: 0 1px 1px rgba(0, 0, 0, .15); margin-bottom: 1rem; margin-top: 0; padding: 1rem; text-align: center; } .main-top-right>ul { font-size: 18px; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; } .main-top-articleCount { margin-bottom: 0px; font-size: 12px; } }

/* Computadoras

@media (min-width: 1000px) { .main-top { align-items: center; background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e3/Wikipedia_logo_letters_banner.svg); background-position: right; background-repeat: no-repeat; display: flex; margin-bottom: 1rem; margin-top: 0; padding: 0 1.5rem 0 0; } .main-top-left { background-image: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%); flex: 2; padding: 2rem 0 2rem 1.5rem; text-align: left; } .main-top-right { flex: 3; margin-top: 0; text-align: right; } .main-top-right>ul { align-items: flex-end; margin: 7px 0; justify-content: flex-end; } .main-top-articleCount { font-size: 14px; margin: 0; } }

/* bugfix in skin-modern */

body.skin-modern .main-top-header { line-height: 1.8rem; font-size: 1.8rem; }

/* Feladót */ .page-Forsíða .firstHeading { display: none; }

/* Float. Mismunandi hegðun á mobile og desktop. */ .float-right { float: right; } .float-left { float: left; }

/* Gerir sjálfvirkar merkingar („Merki: Breyting frá farsímavef“) smærri */ .mw-tag-markers { font-style: italic; font-size: 90%; }