|
Thanks for using our site! |
Template:Styles/maps.css: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket No edit summary |
||
| Line 26: | Line 26: | ||
height: 100% !important; | height: 100% !important; | ||
position: absolute; | position: absolute; | ||
} | |||
.mapstats > p { | |||
margin: 0; | |||
} | |||
.mapstats > h3 { | |||
margin-top: 0.3em; | |||
} | } | ||
| Line 31: | Line 39: | ||
.mapwrapper { | .mapwrapper { | ||
padding: 0 1em; | padding: 0 1em; | ||
} | |||
.mapstats { | |||
display: flex; | |||
justify-content: center; | |||
} | } | ||
} | } | ||
.mapstats | @media only screen and (max-width: 720px) { | ||
.mapstats { | |||
display: flex; | |||
justify-content: center; | |||
} | |||
} | } | ||
Revision as of 13:06, 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;
}
.mapstats {
display: flex;
justify-content: center;
}
}
@media only screen and (max-width: 720px) {
.mapstats {
display: flex;
justify-content: center;
}
}