Template
Collapsible Map/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
object-position: top; | object-position: top; | ||
display: block; | display: block; | ||
border-radius: 10px; | border-bottom-left-radius: 10px; | ||
border-bottom-right-radius: 10px; | |||
} | } | ||
Revision as of 22:12, 9 February 2024
#collapsible-container{
position: relative;
}
#collapsible-container-header{
text-align: center;
line-height: 2;
font-size: large;
font-weight: bold;
color: white;
background: #8b0024;
border-radius: 10px;
}
.mw-collapsible-toggle{
width: 100%;
line-height: 2;
position: absolute;
font-size: large;
opacity: 0;
left: 0;
}
#outer-map-container{
position: relative;
width: 100%;
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-bottom-left-radius: 10px;
border-bottom-right-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: 23px;
margin-top: calc(100% - 23px);
}
#coord-text{
text-align: center;
line-height: 1.5;
margin: 0;
font-weight: normal;
}
#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 22:12. (21 days ago)