Jump to content

Template:Portal CSS/style.css: Difference between revisions

From Marxist Wiki
Created page with ".portal{ display:flex; flex-flow:row wrap; justify-content:space-between; align-items:stretch; align-content:flex-start; row-gap:20px; box-sizing:border-box; } h2,h3{ Remove the extra styling on top-level headings that ideally are only used at the very top of a container: border-bottom:none; margin-top:0; } @media only screen and (max-width:768px){ .portal{ row-gap:10px; align-items:flex-start; } }"
 
(No difference)

Latest revision as of 03:25, 15 March 2025

.portal{
	display:flex;
	flex-flow:row wrap;
	justify-content:space-between;
	align-items:stretch;
	align-content:flex-start;
	row-gap:20px;
	box-sizing:border-box;
}

h2,h3{ /*Remove the extra styling on top-level headings that ideally are only used at the very top of a container*/
	border-bottom:none;
	margin-top:0;
}

@media only screen and (max-width:768px){
	.portal{
		row-gap:10px;
		align-items:flex-start;
	}
}