Template

Collapsible Map/styles.css

From Dogcraft Wiki

No edit summary
No edit summary
Line 20: Line 20:
position: absolute;  
position: absolute;  
width: 60px;  
width: 60px;  
height: 70px;
text-align: center;
text-align: center;
line-height: 0;
line-height: 0;

Revision as of 17:48, 9 February 2024

#outer-map-container{
	position: relative;
	width: 95%;
	margin: auto;
	border-radius: 10px;
	line-height: 0;
	font-family: 'Nunito';
}

#outer-map-container img{
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	object-position: top;
	display: block;
	border-radius: 10px;
}

#marker-wrapper{
	position: absolute; 
	width: 60px; 
	height: 70px;
	text-align: center;
	line-height: 0;
}

#marker-wrapper i{
	display: block;
	color: red;
	font-size: 70px;
}

#coord-text{
	text-align: center;
}

#outer-map-container a.external{
	width: 100%;
	height: 100%;
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	font-size: 17px;
	border-radius: 10px;
	text-align: center;
	line-height: 100%;
	transition: 0.5s;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: white;
	text-decoration: none;
	background-color: #00000044;
	opacity: 0;
	font-family: 'Nunito';
}

#outer-map-container a.external:hover{
	opacity: 1;
}
This page was last modified on 9 February 2024, at 17:48. (21 days ago)
Background SRN Opening by Montenator