|
Thanks for using our site! |
Template:Styles/mobile.css: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket mNo edit summary |
||
| Line 66: | Line 66: | ||
} | } | ||
.imglink | .imglink > img { | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
position: absolute; | position: absolute; | ||
} | } | ||
Revision as of 00:10, 19 June 2021
/******************
PADDING
******************/
/* Table padding */
table.padding-1em > tr > td,
table.padding-1em > * > tr > td {
padding: 0.7em 1em;
}
table.padding-07em > tr > td,
table.padding-07em > * > tr > td {
padding: 0.5em 0.7em;
}
table.padding-03em > tr > td,
table.padding-03em > * > tr > td {
padding: 0.3em;
}
/* Table Heading */
table.header-1em > tr > th,
table.header-1em > * > tr > th {
padding: 0.7em 1em;
}
table.header-07em > tr > th,
table.header-07em > * > tr > th {
padding: 0.5em 0.7em;
}
/******************
MAPS
******************/
@media only screen and (max-width: 720px) {
.map .noresize {
width: 100% !important;
height: 100% !important;
}
.map img{
height: 100%;
max-width: 100%;
}
}
.imgwrapper {
width: 100%;
position: relative;
}
.imgwrapper img {
width: 100%;
height: 100%;
max-width: 100%;
position: relative;
display: inline-block;
}
.imglink {
border: 1px solid red;
position: absolute;
}
.imglink > img {
width: 100%;
height: 100%;
position: absolute;
}