Jump to content

کينډۍ:ويکيپېډيا نورې برخې/styles.css

د ويکيپېډيا، وړیا پوهنغونډ له خوا
/* {{pp-template}} */
#wikipedia-other-sections {
	display: flex;
	flex-wrap: wrap;
}

#wikipedia-other-sections li {
	display: inline-block;
}

#swikipedia-other-sections li span {
	font-weight: bold;
}

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

#wikipedia-other-sections li > div:first-child {
	text-align: center;
}


@media screen {
	.wikipedia-other-sections-wikt-icon-dark,
    html.skin-theme-clientpref-night .sister-projects-wikt-icon-light {
		display: none;
	}
	
	html.skin-theme-clientpref-night .wikipedia-other-sections-wikt-icon-dark {
		display: inline;
	}
}


@media screen and ( prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .wikipedia-other-sections-wikt-icon-dark {
		display: inline;
	}
	
	html.skin-theme-clientpref-os .wikipedia-other-sections-wikt-icon-light {
		display: none;
	}
}

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

	#wikipedia-other-sections li > div:first-child {
		min-width: 50px;
	}
}