Jump to content

Template:Wikimedia Affiliates Data Portal/styles.css

From Meta, a Wikimedia project coordination wiki
/* Ported from MediaWiki.org home page styles plus additional stylings */

.wadp_row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -5px 0 -5px;
}
.wadp_box {
	flex: 1;
	margin: 5px;
	min-width: 240px;
	border: 1px solid #CCC;
	padding: 0 10px 10px 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
	align-items: center;
	justify-content: center;
}

#style_user_button > a {
	text-decoration: none;
	color: #ffffff;
}

#style_user_button {
	width: 260px;
	height: 50px;
	border-radius: 15px;
	background-color: #0066ff;
	display: table-cell;
	text-align: center;
	color: #ffffff;
	vertical-align: middle;
	cursor: pointer;
}

#style_me_button {
	width: 260px;
	height: 50px;
	border-radius: 15px;
	background-color: #66ccff;
	border-color: #66ccff;
	color: #ffffff;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	cursor: pointer;
}

#style_infobox {
	width: 30px;
}

#pad_wadp_box {
	width: 20%;
	padding: 2.5em 2.5em 2.5em 2.5em;
}

.wadp_box h3 {
	/* Reset padding so is equal across skins */
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
}
/* Set padding left only if headanchor gadget is not enabled */
.wadp_box h3:not(.tpl-vheadanchor-heading) {
	padding-left: 0;
}
.wadp_box h3 .header_icon {
	float: left;
	margin-right: 5px;
}
.wadp_box .items {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
}
.wadp_box p:last-child {
	margin-bottom: 0;
}
.wadp_boxcontents_small {
	font-size: 95%;
}

.wadp-sticky-header > thead {
	position: sticky;
	top: 0;
}

@media screen and (max-width: 719px) {
	.thumb {
		float: none;
	}
	.thumb, .thumbinner {
		margin-left: auto;
		margin-right: auto;
	}
}