Template
Map Location/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
display: | display: block; | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
Line 34: | Line 34: | ||
border-radius: 10px; | border-radius: 10px; | ||
text-align: center; | text-align: center; | ||
line-height: 500px; | |||
transition: 0.5s; | |||
} | } | ||
#map-outer-container a.external:hover{ | #map-outer-container a.external:hover{ | ||
background-color: # | background-color: #00000044; | ||
font-size: | font-size: 25px; | ||
font-weight: bold; | |||
color: white; | color: white; | ||
text-decoration: none; | text-decoration: none; | ||
} | } |
Latest revision as of 19:10, 8 February 2024
#map-container img{
width: 500px;
height: 500px;
float: left;
object-fit: cover;
object-position: top;
position: static;
border-radius: 10px;
}
#map-inner-container{
position: relative;
height: 500px;
}
#coord-text{
width: 500px;
text-align: center;
}
#map-outer-container{
position: relative;
}
#map-outer-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;
}
#map-outer-container a.external:hover{
background-color: #00000044;
font-size: 25px;
font-weight: bold;
color: white;
text-decoration: none;
}