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
 
(12 intermediate revisions by the same user not shown)
Line 28: Line 28:
}
}


.mapstats > p {
.mapstats > div > p {
margin: 0;
margin: 0;
}
}


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


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

Latest revision as of 18: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;
	}
}