Jump to content

Module:Sister project links/bar/sandbox/styles.css

From Wikipedia, the free encyclopedia
.sister-bar-sand {
	display:flex;
	justify-content: center;
	align-items: baseline;
	font-size: 88%;
	background-color: #fdfdfd;
	border: 1px solid #a2a9b1;
	clear: both;
	margin: 1em 0 0;
	padding: 0 2em;
}

.sister-bar-header-sand {
    margin: 0 1em 0 0.5em;
    padding: 0.2em 0;
    flex:0 0 auto;
    min-height: 24px;
    line-height: 22px;
}

.sister-bar-content-sand {
	display:flex;
	flex-flow: row wrap;
	flex:0 1 auto;
	align-items: baseline;
	padding: 0.2em 0;
	column-gap: 1em;
	margin: 0;
	list-style: none;
}

.sister-bar-item-sand {
	display:flex;
	align-items: baseline;
	margin:0.15em 0;
	min-height:24px;
	text-align:left;
}

.sister-bar-logo-sand {
	width: 22px;
	line-height: 22px;
	margin:0 0.2em;
	text-align: right;
}

.sister-bar-link-sand {
	margin:0 0.2em;
	text-align: left;
}

@media screen and (max-width:960px) {
	.sister-bar-sand {
		flex-flow: column wrap;
		margin: 1em auto 0;
	}
	
	.sister-bar-header-sand {
		flex:0 1;
	}
	
	.sister-bar-content-sand {
		flex:1;
		border-top: 1px solid #a2a9b1;
		margin: 0;
		list-style: none;
	}	
	
	.sister-bar-item-sand {
		flex:0 0 20em;
		min-width: 20em;
	}
}

.navbox + link + .sister-bar-sand,
.navbox + style + .sister-bar-sand,
.portal-bar-sand + link + .sister-bar-sand,
.portal-bar-sand + style + .sister-bar-sand,
.sister-bar-sand + .navbox-styles + .navbox,
.sister-bar-sand + .navbox-styles + .portal-bar-sand {
	margin-top: -1px;
}