|
Thanks for using our site! |
Template:Styles/maps.css: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket No edit summary |
imported>Kiwibasket No edit summary |
||
| Line 39: | Line 39: | ||
.mapwrapper { | .mapwrapper { | ||
padding: 0 1em; | padding: 0 1em; | ||
} | } | ||
} | } | ||
Revision as of 13:08, 20 June 2021
/******************
MAPS
******************/
.imgwrapper {
width: 100%;
position: relative;
margin: auto;
}
.imgwrapper img {
width: 100%;
height: 100%;
max-width: 100%;
position: relative;
display: inline-block;
}
.imglink {
position: absolute;
}
.imglink > img, .imglink > a > img {
width: 100%;
height: 100% !important;
position: absolute;
}
.mapstats > p {
margin: 0;
}
.mapstats > h3 {
margin-top: 0.3em;
}
@media only screen and (min-width: 720px) {
.mapwrapper {
padding: 0 1em;
}
}
@media only screen and (max-width: 720px) {
.mapstats {
display: flex;
justify-content: center;
}
}