Template:ResearchMetaLandingPage/styles.css

From Meta, a Wikimedia project coordination wiki
#rp_container {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-weight: 400;
	background-color: #fff;
	color: #222;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
	max-width: 1000px;
	margin: -4em auto 0;
        padding-bottom: 3.2em;
	overflow: hidden;
}

#rp_container div,
#rp_container span,
#rp_container applet,
#rp_container object,
#rp_container iframe,
#rp_container h1,
#rp_container h2,
#rp_container h3,
#rp_container h4,
#rp_container h5,
#rp_container h6,
#rp_container p,
#rp_container blockquote,
#rp_container pre,
#rp_container a,
#rp_container abbr,
#rp_container acronym,
#rp_container address,
#rp_container big,
#rp_container cite,
#rp_container code,
#rp_container del,
#rp_container dfn,
#rp_container em,
#rp_container font,
#rp_container img,
#rp_container ins,
#rp_container kbd,
#rp_container q,
#rp_container s,
#rp_container samp,
#rp_container small,
#rp_container strike,
#rp_container strong,
#rp_container sub,
#rp_container sup,
#rp_container tt,
#rp_container var,
#rp_container b,
#rp_container u,
#rp_container i,
#rp_container center,
#rp_container dl,
#rp_container dt,
#rp_container dd,
#rp_container ol,
#rp_container ul,
#rp_container li,
#rp_container fieldset,
#rp_container form,
#rp_container label,
#rp_container legend,
#rp_container table,
#rp_container caption,
#rp_container tbody,
#rp_container tfoot,
#rp_container thead,
#rp_container tr,
#rp_container th,
#rp_container td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

#rp_container h1,
#rp_container h2,
#rp_container h3,
#rp_container h4,
#rp_container h5,
#rp_container h6 {
	clear: both;
	font-weight: inherit;
	line-height: 1.25;
}

#rp_container ol,
#rp_container ul {
	list-style: none;
}

#rp_container blockquote {
	quotes: none;
}

#rp_container blockquote:before,
#rp_container blockquote:after {
	content: '';
	content: none;
}

#rp_container a {
	cursor: pointer;
	color: inherit;
}

#rp_container del {
	text-decoration: line-through;
}

#rp_container table {
	border-collapse: collapse;
	border-spacing: 0;
}

#rp_container object {
	cursor: pointer;
}

#rp_container .rp_clear {
	display: block;
	clear: both;
	width: 100%;
	height: 0;
}

#rp_container img {
	max-width: 100%;
}

/* Local Reset: end */

.rp_separator {
	margin: 1.6em auto;
	border-top: 1px solid #ccc;
	height: 0;
}

.rp_boxwidth--1-1,
.rp_boxwidth--3-4,
.rp_boxwidth--1-2 {
	margin-left: auto;
	margin-right: auto;
}

.rp_boxwidth--1-1 {
	max-width: 114em;
}

.rp_boxwidth--3-4 {
	max-width: 92em;
}

.rp_boxwidth--1-2 {
	max-width: 75em;
}

#rp_container .rp_padded {
	padding: 3.2em;
}

#rp_container .rp_padded--top-half {
	padding-top: 1.6em;
}

#rp_container .rp_padded--top {
	padding-top: 3.2em;
}

#rp_container .rp_padded--top-2 {
	padding-top: 6.4em;
}

#rp_container .rp_padded--right {
	padding-right: 3.2em;
}

#rp_container .rp_padded--bottom {
	padding-bottom: 3.2em;
}

#rp_container .rp_padded--left {
	padding-left: 3.2em;
}

.rp_fonty,
#rp_container h1,
#rp_container h3,
#rp_container h4,
#rp_container h5,
#rp_container h6 {
	font-family: 'Merriweather', Georgia, serif;
	position: relative;
}

#rp_container h2 {
	color: #72777d;
}

#rp_container #rp_main_nav {
	margin-top: .5em;
	background: #eaeaea;
	text-align: center;
	font-size: 85.71428571%;
}

#rp_container #rp_main_nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

#rp_main_nav li {
	display: inline-block;
	margin: 0;
}

#rp_main_nav li + li {
	margin-left: 1px;
}

#rp_main_nav li a {
	display: block;
	padding: 1em;
	padding-bottom: .8em;
	border-bottom: .2em solid transparent;
	text-decoration: none;
}

#rp_main_nav li a:hover {
	background-color: #fff;
	border-color: #36c;
}

#rp_container #rp_title_image {
	position: relative;
	height: 0;
	padding-bottom: 36%;
	overflow: hidden;
	margin-top: 1.6em;
}

#rp_title_image img {
	display: block;
	position: absolute;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

#rp_top_nav {
	display: inline-block;
	vertical-align: middle;
	font-weight: 300;
}

#rp_top_nav span,
#rp_top_nav a {
	opacity: .75;
}

#rp_top_nav a {
	font-weight: 400;
}

#rp_top_nav a:hover {
	opacity: 1;
	color: #36c;
}

#rp_title {
	/*	padding-top: 2.4em;*/
}

#rp_title .rp_status {
	display: inline-block;
	vertical-align: middle;
	margin-right: 1em;
	background-color: #f7f1c8;
	color: #6d6630;
	padding: .8em .8em;
	font-size: .8em;
	cursor: default;
}

#rp_title .rp_title {
	display: block;
	margin-top: .4em;
	vertical-align: middle;
	font-size: 228.57142857%;
}

#rp_container #rp_title .rp_subtitle {
	margin-top: .6em;
	font-size: 142.85714286%;
	font-weight: 300;
	font-style: italic;
}

#rp_container #rp_nav > * + *:not(.rp_clear) {
	margin-top: 1em;
}

#rp_container #rp_content {
	overflow: hidden;
}

#rp_container .rp_aside {
	font-size: 85.7142%;
}

#rp_container .rp_aside + .rp_content {
	margin-top: 3.2em;
}

#rp_container .rp_infobox .rp_infobox_in {
	padding: 1em;
	background-color: #eaeaea;
}

#rp_container .rp_infobox .rp_infobox_in > *:not(.rp_infobox_title) {
	opacity: .75;
}

#rp_container .rp_infobox .rp_infobox_in + .rp_infobox_in {
	margin-top: .5em;
}

#rp_container .rp_aside.rp_style2 .rp_infobox .rp_infobox_in {
	padding: 0;
	background-color: transparent;
}

#rp_container .rp_aside.rp_style2 .rp_infobox .rp_infobox_in + .rp_infobox_in {
	margin-top: 1em;
	border-top: 1px solid #ccc;
	padding-top: 1em;
}

#rp_container .rp_infobox a:hover {
	text-decoration: none;
}

#rp_container .rp_description > * + *:not(.rp_clear) {
	margin-top: 2em;
}

#rp_container #rp_projects {
	margin-top: 6.4em;
	border-top: 1px solid #ccc;
	padding-top: 3.2em;
}

#rp_container #rp_projects .rp_meta_title .rp_title {
	font-size: 100%;
}

#rp_container .rp_project_card .rp_clear:last-of-type {
	display: block !important;
}

#rp_container .rp_project_card {
	padding-top: 4.8em;
	box-sizing: border-box;
}

#rp_container .rp_project_card:nth-of-type(-n+1) {
	padding-top: 0;
}

#rp_container .rp_project_card .rp_texts .rp_title {
	font-size: 175%;
	font-family: serif;
}

#rp_container .rp_project_card .rp_texts .rp_description,
#rp_container .rp_project_card .rp_texts .rp_more {
	margin-top: 1.6em;
}

#rp_container .rp_project_card .rp_texts .rp_more {
	color: #36c;
}

#rp_container .rp_project_card_in {
	display: block;
	text-decoration: none;
}

#rp_container .rp_project_card_in:hover .rp_texts .rp_more {
	text-decoration: underline;
}

@media all and (min-width: 551px) {

	#rp_container #rp_projects .rp_projects {
		width: calc(100% + 4.8em);
		margin-left: -2.4em;
	}

	#rp_container #rp_projects .rp_projects .rp_project_card {
		float: left;
		padding-left: 2.4em;
		padding-right: 2.4em;
	}

	#rp_container .rp_project_card_in {
		max-width: 24em;
	}

}

@media all and (min-width: 721px) {

	#rp_container .rp_header {
		position: relative;
	}

	#rp_title_image img {
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	#rp_container #rp_main_nav {
		font-size: 100%;
	}

	#rp_container .rp_aside {
		float: left;
		width: 25%;
	}

	#rp_container .rp_aside + .rp_content {
		float: right;
		width: 75%;
		box-sizing: border-box;
		margin-top: 0;
		padding-left: 6.4em;
	}

	#rp_container #rp_description {
		font-size: 114.28571429%;
	}

}

@media all and (min-width: 551px) and (max-width: 720px) {

	#rp_container #rp_projects .rp_projects .rp_project_card {
		width: 50%;
	}

	#rp_container .rp_projects .rp_clear:nth-of-type(2n+1) {
		display: none;
	}

	#rp_container .rp_project_card:nth-of-type(-n+2) {
		padding-top: 0;
	}

}

@media all and (min-width: 721px) and (max-width: 1000px) {

	#rp_container #rp_projects .rp_projects .rp_project_card {
		width: 33.3333%;
	}

	#rp_container .rp_projects .rp_clear:nth-of-type(3n+1),
	#rp_container .rp_projects .rp_clear:nth-of-type(3n+2) {
		display: none;
	}

	#rp_container .rp_project_card:nth-of-type(-n+3) {
		padding-top: 0;
	}

}

@media all and (min-width: 1001px) {

	#rp_container #rp_projects .rp_projects .rp_project_card {
		width: 25%;
	}

	#rp_container .rp_projects .rp_clear:nth-of-type(4n+1),
	#rp_container .rp_projects .rp_clear:nth-of-type(4n+2),
	#rp_container .rp_projects .rp_clear:nth-of-type(4n+3) {
		display: none;
	}

	#rp_container .rp_project_card:nth-of-type(-n+4) {
		padding-top: 0;
	}

}