Template:Bandersnatch/styles.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
.bandersnatch-container {
	background: #000000;
	min-width: 500px;
	max-width: 1400px;
	margin: auto;
	padding-top: 20px;
}

.bandersnatch-container img {
	width: 100%;
	height: auto;
}

.bandersnatch-image {
	position: relative;
	overflow: none;
}

.bandersnatch-caption {
	position: absolute;
	color: #FFFFFF;
	text-shadow: 0 0 5px #000000, 0 0 20px #000000;
	font-weight: bold;
	font-size: 2vw;
	bottom: 0;
	width: 100%;
	text-align: center;
}

.bandersnatch-options {
	background-image: -moz-linear-gradient(#FFFFFF, #FFFFFF), -moz-linear-gradient(#000000, #000000);
	background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(#000000, #000000);
	background-size: 100% 3px, auto;
	background-repeat: no-repeat;
	background-position: center top;
	-webkit-transition: all 1s ease-out;
	-moz-transition: all 1s ease-out;
	-ms-transition: all 1s ease-out;
	-o-transition: all 1s ease-out;
	transition: all 1s ease-out;
	width: 100%;
	height: 120px;
	display: flex;
}

.bandersnatch-options:hover {
	background-size: 0 5px, auto;
	-webkit-transition: all 15s ease-out;
	-moz-transition: all 15s ease-out;
	-ms-transition: all 15s ease-out;
	-o-transition: all 15s ease-out;
	transition: all 15s ease-out;
}

.bandersnatch-options a {
	height: 100%;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	font-size: 1.4em;
	display: flex;
	justify-content: center;
	line-height: 120px;
	-webkit-transition: color 0.15s;
	-moz-transition: color 0.15s;
	-ms-transition: color 0.15s;
	-o-transition: color 0.15s;
	transition: color 0.15s;
}

.bandersnatch-options a:hover {
	color: #FFFFFF;
	text-decoration: none;
	position: relative;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	-ms-transition: color 0.3s;
	-o-transition: color 0.3s;
	transition: color 0.3s;
}

.bandersnatch-options a:hover::after {
	content: "";
	position: absolute;
	bottom: 25%;
	width: 100%;
	height: 3px;
    background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 25%, rgba(255,255,255,1) 50%, rgba(0,0,0,1) 75%); /* ff3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(25%, rgba(0,0,0,1)), color-stop(50%, rgba(255,255,255,1)), color-stop(75%, rgba(0,0,0,1))); /* safari4+,chrome */
	background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 25%, rgba(255,255,255,1) 50%, rgba(0,0,0,1) 75%); /* safari5.1+,chrome10+ */
	background: -o-linear-gradient(0deg, rgba(0,0,0,1) 25%, rgba(255,255,255,1) 50%, rgba(0,0,0,1) 75%); /* opera 11.10+ */
	background: -ms-linear-gradient(0deg, rgba(0,0,0,1) 25%, rgba(255,255,255,1) 50%, rgba(0,0,0,1) 75%); /* ie10+ */
	background: linear-gradient(90deg, rgba(0,0,0,1) 25%, rgba(255,255,255,1) 50%, rgba(0,0,0,1) 75%); /* w3c */
}

.bandersnatch-option-1, .bandersnatch-option-2 {
	width: 50%;
}