Difference between revisions of "Template:Gallery/styles.css"
Jump to navigation
Jump to search
imported>Frietjes (per request on talk page) |
imported>MSGJ |
||
| Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
| + | @media all and (max-width: 720px) { | ||
| + | .mod-gallery { | ||
| + | width:100% !important; | ||
| + | } | ||
| + | } | ||
.mod-gallery { | .mod-gallery { | ||
display:table; | display:table; | ||
Revision as of 09:51, 28 May 2020
/* {{pp-template}} */
@media all and (max-width: 720px) {
.mod-gallery {
width:100% !important;
}
}
.mod-gallery {
display:table;
}
.mod-gallery-default {
background:transparent;
margin-top:4px;
}
.mod-gallery-center {
margin-left:auto;
margin-right:auto;
}
.mod-gallery-left {
float:left;
}
.mod-gallery-right {
float:right;
}
.mod-gallery-none {
float:none;
}
.mod-gallery-collapsible {
width: 100%;
}
.mod-gallery .title,
.mod-gallery .main,
.mod-gallery .footer {
display:table-row;
}
.mod-gallery .title>div {
display:table-cell;
text-align:center;
font-weight:bold;
}
.mod-gallery .main>div {
display:table-cell;
}
.mod-gallery .caption {
display:table-row;
vertical-align: top;
}
.mod-gallery .caption>div {
display:table-cell;
display:block;
font-size:94%;
padding:0;
}
.mod-gallery .footer>div {
display:table-cell;
text-align:right;
font-size:80%;
line-height:1em;
}
.mod-gallery .gallerybox img {
background:none !important;
}
.mod-gallery .bordered-images .thumb img {
border:solid #eee 1px;
}
.mod-gallery .whitebg .gallerybox,
.mod-gallery .whitebg .thumb {
background:#fff !important;
}
.mod-gallery .whitebg .thumb {
margin-top:1px;
}