Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

Template:Styles/maps.css: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
No edit summary
imported>Kiwibasket
mNo edit summary
Line 39: Line 39:
@media only screen and (min-width: 720px) {
@media only screen and (min-width: 720px) {
.mapstats > div {
.mapstats > div {
padding: 0 1em;
padding: 0 0.5em;
}
}
.mapstats {
.mapstats {

Revision as of 19:36, 21 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 > div > p {
	margin: 0;
}

.mapstats > div > h3 {
	margin-top: 0.3em;
	margin-bottom: 0;
}

@media only screen and (min-width: 720px) {
	.mapstats > div {
		padding: 0 0.5em;
	}
	.mapstats {
		display: flex;
		justify-content: center;
	}
}