MediaWiki:Mobile.css : Différence entre versions

De Wiki Makilab
Aller à : navigation, rechercher
Ligne 8 : Ligne 8 :
  
 
.mainpage_hubtitle {
 
.mainpage_hubtitle {
 +
text-align: center;
 +
}
 +
 +
.mainpage_boxcontents_title {
 +
display: block;
 
text-align: center;
 
text-align: center;
 
}
 
}

Version du 27 février 2019 à 23:11

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

.mainpage_boxtitle,
.mainpage_hubtitle,
#mainpage_pagetitle {
	background-color: #eeeeee;
}

.mainpage_hubtitle {
	text-align: center;
}

.mainpage_boxcontents_title {
	display: block;
	text-align: center;
}

@media screen and (max-width: 640px) {
  td.mainpage_hubbox {
    display:block;
    width:100%;
    box-sizing:border-box;
    clear:both
  }
  .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;
	}
}