Template:Module-nav/styles.css

From Wikidata
Jump to navigation Jump to search
.module-nav .tab1 a,
.module-nav .tab2 a,
.module-nav .tab3 a {
	display: inline-block;
	padding: 0.8em;

	/* override styles on a.external, adding class="plainlinks" is unhelpful
	   because that unsets the background and padding using !important */
	background-position: inherit;
	background-repeat: inherit;

	/* replace with border-inline-end T322482,
	   hexadecimal value is #0002 T265675 */
	border-right: 1px solid rgba(0, 0, 0, 0.13);
}

.module-nav .tab1 a {
	background-image: linear-gradient(to bottom, #f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);
}

.module-nav .tab2 a {
	background-image: linear-gradient(to bottom, #ebf7de 0%, #cee0bc 100%);
}

.module-nav .tab3 a {
	background-image: linear-gradient(to bottom, #fefcea 0%, #ede3a6 100%);
}