Template:TotK Quest/Styles.css

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
/* [[Category:Template Styles]] */
* {    
 box-sizing: border-box;
}

.zw-quest__container {
/*	display: flex; */
/*	flex-direction: column; */
	overflow-x: visible;
	overflow-y: auto;
}

/*
.zw-quest__item {
	flex: 1 1 auto;
}
*/

.zw-quest__table {
	background-color: #172f46;
	border-radius: .3rem;
	margin-bottom: .8rem;
	width: 100%;
}

.zw-quest__header {
	text-align: center;
	font-weight: bold;
}

.zw-quest__header {
	white-space: normal;
}

.zw-quest__header a {
    color: #72bfec;
    text-decoration: none;
	}

.zw-quest__header a:visited {
	color: #61a2c8;
	text-decoration: none;
	}

.zw-quest__header a:hover, .zw-quest__header a:active {
	color: #00ffe8;
	text-decoration: none;
}

.zw-quest__type {
	text-align: center;
	width: 100%;
}

.zw-quest__type-image {
	background-color: #44839b;
}

.zw-quest__location {
	text-align: right;
}

@media screen and (max-width: 53.124rem) {
	.zw-quest__container {
		max-height: 32.6rem;
	}
	
	.zw-quest__container {
		width: 100%;
		max-width: 100%;
	}

	.zw-quest__table {
		width: 100%;
	}

	.zw-quest__type-image {
		text-align: center;
		font-weight: bold;
		border-radius: .3rem .3rem 0 0;
	}

	.zw-quest__giver {
		padding: .2rem;
	}

	.zw-quest__location {
		padding: .2rem;
	}
}

@media screen and (min-width: 53.125rem) {
	.zw-quest__container {
		max-height:  18.5rem;
	}
	
	.zw-quest__table {
		max-width: 56.6rem;
	}

	.zw-quest__table {
		width: 100%;
	}
	
	.zw-quest__image {
		max-width: 17.5rem;
	}
	
	.zw-quest__header {
		padding: 4px;
		font-size: 1.5rem;
		white-space: nowrap;
		width:100%;
	}
	.zw-quest__type-image {
		border-radius: .3rem 0 0 .3rem;
		max-width: 3.75rem;
	}
	
	.zw-quest__giver {
		padding: 4px;
		white-space: nowrap;
	}

	.zw-quest__location {
		padding: 4px;
		white-space: nowrap;
	}
}