Template
Collapsible Map/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
display: | display: flex; | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
Line 46: | Line 46: | ||
line-height: 100%; | line-height: 100%; | ||
transition: 0.5s; | transition: 0.5s; | ||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
Revision as of 15:44, 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: 0;
border-radius: 10px;
text-align: center;
line-height: 100%;
transition: 0.5s;
align-items: center;
justify-content: center;
}
#outer-map-container a.external:hover{
background-color: #00000044;
font-size: 25px;
font-weight: bold;
color: white;
text-decoration: none;
}
This page was last modified on 9 February 2024, at 15:44. (21 days ago)