MediaWiki:Mobile.css : Différence entre versions

De Wiki Makilab
Aller à : navigation, rechercher
(Page créée avec « Le CSS placé ici n’affectera que les utilisateurs du site mobile : @media screen and (max-width: 640px) { .fullWidthMobile { width: 100% ! important; } .... »)
 
(Balises : Modification par mobile, Modification par le web mobile)
Ligne 9 : Ligne 9 :
 
     font-size: 50% ! important;
 
     font-size: 50% ! important;
 
   }
 
   }
 +
}
 +
 +
/**
 +
* COLONNES DES PORTAILS
 +
*/
 +
.portail-gauche,
 +
.portail-droite {
 +
box-sizing: border-box;
 +
}
 +
.portail-gauche {
 +
float: left;
 +
padding-right: 1.2rem;
 +
}
 +
.portail-droite {
 +
float: right;
 +
}
 +
@media screen and (max-width: 981px) {
 +
.portail-gauche,
 +
.portail-droite {
 +
float: none;
 +
width: auto !important;
 +
}
 +
.portail-gauche {
 +
padding-right: 0;
 +
}
 
}
 
}

Version du 27 février 2019 à 21:35

/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */

@media screen and (max-width: 640px) {
  .fullWidthMobile {
    width: 100% ! important;
  }
  .titre-accueil {
    line-height: 1.3 ! important;
    font-size: 50% ! important;
  }
}

/**
 * COLONNES DES PORTAILS
 */
.portail-gauche,
.portail-droite {
	box-sizing: border-box;
}
.portail-gauche {
	float: left;
	padding-right: 1.2rem;
}
.portail-droite {
	float: right;
}
@media screen and (max-width: 981px) {
	.portail-gauche,
	.portail-droite {
		float: none;
		width: auto !important;
	}
	.portail-gauche {
		padding-right: 0;
	}
}