MediaWiki:Mobile.css

De Wikiviajes, la guía libre de viajes

Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.

  • Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
  • Internet Explorer/Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
  • Opera: Presiona Ctrl+F5.
/* CSS colocados aquí afectará a los usuarios del sitio móvil */


/***************************************************************
    PORTADA 2019, CÓDIGO MÓVIL BETA
***************************************************************/

/* Estilos para [[Plantilla:Portada:Ticker]], [[Plantilla:Portada:Ticker/Core]] y [[Plantilla:Portada:Ticker/Data]] */

.ticker-container {
	height: 36px;
	overflow: hidden;
	border:1px solid #A9A9A9;
	border-left:none;
	border-radius:0 3px 3px 0;
}
.ticker-text {
	height: 150%;
    white-space:nowrap;
    display:inline-block;
}
 
.inicio-ticker {
  text-align: center;
  float: left;
  font-size: 100%;
  color: white;
  background: #808080;
  padding: 3px 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px 0 0 3px;
  height: 32px;
  display:table;
}
.inicio-ticker b {
	display: table-cell;
	vertical-align: middle;
}

/* Estilos para imágenes en Portada 2019 y secciones */

.radius-img img {
	margin-bottom:7px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius:5px;
}

.tarjeta img {
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius:5px 5px 0 0;
	transition: width 1s, height 1s, transform 1s;
    -moz-transition: width 1s, height 1s, -moz-transform 1s;
    -webkit-transition: width 1s, height 1s, -webkit-transform 1s;
    -o-transition: width 1s, height 1s,-o-transform 1s;
    width: 100%;
	height: auto;
}

.tarjeta img:hover{
	transform : scale(1.05);
    -moz-transform : scale(1.05);      /* Firefox */
    -webkit-transform : scale(1.05);   /* Chrome - Safari */
    -o-transform : scale(1.05);        /* Opera */
}

.tarjeta-main img {
	transition: width 7s, height 7s, transform 7s;
    -moz-transition: width 7s, height 7s, -moz-transform 7s;
    -webkit-transition: width 7s, height 7s, -webkit-transform 7s;
    -o-transition: width 7s, height 7s,-o-transform 7s;
    width: 100%;
	height: auto;
}

.tarjeta-main img:hover{
    transform : scale(1.2);
    -moz-transform : scale(1.2);      /* Firefox */
    -webkit-transform : scale(1.2);   /* Chrome - Safari */
    -o-transform : scale(1.2);        /* Opera */
}

/* SÓLO PARA ANUNCIOS COLUMNA 3 TEMPORAL */
.tarjeta-main2 img {
	transition: width 7s, height 7s, transform 7s;
    -moz-transition: width 7s, height 7s, -moz-transform 7s;
    -webkit-transition: width 7s, height 7s, -webkit-transform 7s;
    -o-transition: width 7s, height 7s,-o-transform 7s;
    width: 100%;
	height: 395px;
}

.tarjeta-main2 img:hover{
    transform : scale(1.2);
    -moz-transform : scale(1.2);      /* Firefox */
    -webkit-transform : scale(1.2);   /* Chrome - Safari */
    -o-transform : scale(1.2);        /* Opera */
}

/* Encabezados estándar Portada 2019 */
.main-header {
	border-bottom-color: transparent;
	margin-bottom: 0.25em;
	margin-top: 0;
	padding-bottom: 0;
	padding-top: 0;
}

/* Tablet */
@media (min-width: 720px) {
	.main-top {
		background-color: #f8f9fa;
		border: 1px solid #c8ccd1;
		border-radius: 5px;
		margin-bottom: 1em;
		padding: 1em;
	}
	
	.main-top-right > ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center
	}
}

/* Computadoras */
@media (min-width: 1000px) {
	.main-wrapper {
		display: flex;
		margin: 0 -0.5em;
	}
	
	.main-wrapper-column {
		flex: 1;
		margin: 0 0.5em;
	}
}

@media (min-width: 1000px) {
	.main-top {
		align-items: center;
		background-size: 850px;
		background-position: right;
		background-repeat: no-repeat;
		display: flex;
		margin-bottom: 1em;
		margin-top: 0.5em;
		padding: 0 1.5em 0 0;
	}
	
	.main-top-left {
		background-image: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 75%, rgba(255, 255, 255, 0) 100%);
		flex: 2;
		padding: 2em 0 2em 1.5em;
	}
	
	.main-top-right {
		flex: 3;
		margin-top: 2em;
		text-align: right;
	}
}

/* Enlaces-botones Portada 2019*/
.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;
}

/* Listas no ordenadas Portada 2019*/
.main-plainlist > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

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

/* Reparto columnas al 55-45 % Portada 2019*/
@media (min-width: 1000px) {
	.main-wrapper-column {
		width: 55%;
	}
	.main-wrapper-column + .main-wrapper-column {
		width: 45%;
	}
	.main-wrapper-column {
		flex: inherit;
	}
}

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

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

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

.main-top-right > ul {
	display: none;
	margin-top: 0.5em;
}

.main-top-right .mw-ui-button.mw-ui-quiet {
	padding-right: 0;
}

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

/* Buxfix en skin-modern Portada 2019*/
body.skin-modern .main-top-header {
	line-height: 1.8rem;
	font-size: 1.8rem;
}

/* Estilos de la [[Plantilla:Portada:Sección]]*/
.main-box {
	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;
}

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

/* Encabezado de la [[Plantilla:Portada:Sección]]*/
.main-box-header {
	margin-top: -0.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;
}

/* 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;
	}
}

/* Pie de la [[Plantilla:Portada:Sección]]*/
.main-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
	position: relative;
}

.main-footer:empty {
	display: none;
}

.main-footer-actions {
	flex: 1;
}

.main-footer-actions > ul {
	align-items: center;
	display: flex;
}

/* Menú de la [[Plantilla:Portada:Sección]]*/
.main-footer-menu {
	align-items: stretch;
	display: flex;
}

.main-footer-menuToggle {
	align-items: center;
	display: flex;
	float: none;
	height: 100%;
	opacity: 0.87;
}

.main-footer-menuToggle:hover {
	opacity: 0.51;
}

/* Desplegable de la [[Plantilla:Portada:Sección]]*/
.main-footer-menuDropdown {
	background: #fff;
	border: 1px solid #a2a9b1;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
	max-width: 20em;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 100;
}

.main-footer-menuDropdown .mw-ui-button {
	text-align: left;
	width: 100%;
}

/* Estilos de [[Plantilla:Portada:Categorías]]*/
.contenido-caja {
	height:100%;
	width:100%;
	position:absolute;
	transition:1s;
	opacity:0;
	padding:5% 3% 5%;
	z-index:100;
	white-space:nowrap;
	overflow:hidden;
}
.contenido-caja:hover {
	opacity:0.8;
}
.contenido-caja:hover + .titulo-caja {
	transform: translate(20%,-30%);
	opacity: 0;
}

.titulo-caja {
	transition:1s;
	margin:10%;
	z-index:0;
	font-size:150%;
}

/***************************************************************
          FIN CÓDIGO NECESARIO PARA LA PORTADA 2019
***************************************************************/


/* Mark's template version of the new main page */
 
.banner-image {
    position: relative;
    overflow: hidden;
    max-width: 1125px; 
    height: auto;
    margin-bottom: .6em;
}
 
.banner-image img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}
 
.banner-box {
    position: absolute;
    z-index: 2;
    margin-top: 2.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    text-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em;
}
 
.banner-box-wide {
    width: 80%
}
 
.banner-box-left {
    left: 5%;
    text-align: left;
}
 
.banner-box-right {
    right: 5%;
    text-align: right;
}
 
.banner-box-welcome {
    left: 1em;
    text-align: center;
    width: 40%;
    white-space: nowrap;
}
 
.banner-box a {
    color: white !important;
    font-weight: bold;
}
 
.banner-box .name {
    font-size: 3em;
    white-space: nowrap;
    line-height: 1.2em;
}
 
.banner-box .type {
    font-size: 2em;
    line-height: 1.2em;
}
 
.banner-box .stats {
    font-size: 1em;
    margin-top: 1.7em;
}
 
.banner-box .quote {
    font-size: 1em;
    line-height: 1.2em;
}
 
.banner-box .welcome a {
    font-size: 1.5em;
}
 
.banner-box .welcome {
    font-size: 2.1em;
}
 
.banner-box .nav-tip {
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
 
.banner-box .welcome-map-nav {
    font-size: 1.25em;
}
 
.banner-box ul {
    font-size: 1.25em;
}
 
.banner-box ul li {
    display: inline;
}
 
.banner-box ul li:before {
    content: " • ";
}
 
.banner-box ul li:nth-of-type(1):before {
    content: " ";
}

#toc > tbody > tr > td > ul, #toc > tr > td > ul {
  padding-left: 2em;
}
 
#toc > ul {padding-left: 2em;}