Template:Teammates/styles.css: Difference between revisions

From OnTrackNorthAmerica
No edit summary
No edit summary
Line 2: Line 2:
.pic1{
.pic1{
width:33.3%;
width:33.3%;
float:left;
}
}
}
}
Line 7: Line 8:
height:40em;
height:40em;
float:left;
display:flex;
display:flex;
}
}
Line 26: Line 26:
.pic1{
.pic1{
width:100%!important;
width:100%!important;
float:none;
}
}

Revision as of 19:24, 18 December 2024

@media screen and (min-width: 851px){
	.pic1{
		width:33.3%;
		float:left;
	}
}
.pic1{
	
	height:40em;
	display:flex;
}
.pic1 tr{
	display:flex;
}
.pic1 td{
	min-width: 33.3%!important;
}
.pic1 img{
	max-width: calc(100% - 3em)!important;
}
.pic1 figure{
	float:none;
}

@media screen and (max-width: 850px){
	.pic1{
		width:100%!important;
		float:none;
	}
	
	.pic1 tr{
		display:inline!important;
	}
	
	.pic1 td{
		float:right!important;
		min-width:100%!important;
	}
}