Template

Collapsible Map/styles.css

From Dogcraft Wiki

No edit summary
No edit summary
Line 41: Line 41:
left: 0;
left: 0;
z-index: 100;
z-index: 100;
font-size: 0;
font-size: 25px;
border-radius: 10px;
border-radius: 10px;
text-align: center;
text-align: center;
Line 52: Line 52:
text-decoration: none;
text-decoration: none;
font-family: 'Nunito';
font-family: 'Nunito';
background-color: black;
opacity: 0;
}
}


#outer-map-container a.external:hover{
#outer-map-container a.external:hover{
background-color: #00000044;
opacity: 1;
font-size: 25px;
}
}

Revision as of 16:31, 9 February 2024

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

#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; 
	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: 25px;
	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;
	font-family: 'Nunito';
	background-color: black;
	opacity: 0;
}

#outer-map-container a.external:hover{
	opacity: 1;
}
This page was last modified on 9 February 2024, at 16:31. (24 days ago)