Template
Collapsible Map/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
#coord-text{ | #coord-text{ | ||
text-align: center; | text-align: center; | ||
} | |||
#outer-map-container a.external{ | |||
width: 100%; | |||
height: 100%; | |||
display: block; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
z-index: 100; | |||
font-size: 0; | |||
border-radius: 10px; | |||
text-align: center; | |||
line-height: 500px; | |||
transition: 0.5s; | |||
} | |||
#outer-map-container a.external:hover{ | |||
background-color: #00000044; | |||
font-size: 25px; | |||
font-weight: bold; | |||
color: white; | |||
text-decoration: none; | |||
} | } |
Revision as of 15:27, 9 February 2024
#outer-map-container{
position: relative;
width: 95%;
margin: auto;
border-radius: 10px;
}
#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: block;
position: absolute;
top: 0;
left: 0;
z-index: 100;
font-size: 0;
border-radius: 10px;
text-align: center;
line-height: 500px;
transition: 0.5s;
}
#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:27. (21 days ago)