Template:Wikivahdat's sister projects/styles.css

< Template:Wikivahdat's sister projects
Revision as of 06:14, 24 November 2023 by Wikivahdat (talk | contribs) (Created page with "→‎{{pp-template}}: #sister-projects-list { display: flex; flex-wrap: wrap; } #sister-projects-list li { display: inline-block; } #sister-projects-list li span { font-weight: bold; } #sister-projects-list li > div { display: inline-block; vertical-align: middle; padding: 6px 4px; } #sister-projects-list li > div:first-child { text-align: center; } @media (min-width: 360px) { #sister-projects-list li { width: 33%; min-width: 20em; white-space: nowrap...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
#sister-projects-list {
	display: flex;
	flex-wrap: wrap;
}

#sister-projects-list li {
	display: inline-block;
}

#sister-projects-list li span {
	font-weight: bold;
}

#sister-projects-list li > div {
	display: inline-block;
	vertical-align: middle;
	padding: 6px 4px;
}

#sister-projects-list li > div:first-child {
	text-align: center;
}

@media (min-width: 360px) {
	#sister-projects-list li {
		width: 33%;
		min-width: 20em;
		white-space: nowrap;
		flex: 1 0 25%;
	}

	#sister-projects-list li > div:first-child {
		min-width: 50px;
	}
}