Module
Infobox/styles.css
From Dogcraft Wiki
No edit summary |
mNo edit summary |
||
Line 65: | Line 65: | ||
display:flex; | display:flex; | ||
justify-content:center; | justify-content:center; | ||
} | |||
.infobox-caption { | |||
padding: 2px 5px; | |||
text-align: left; | |||
} | } | ||
Revision as of 23:47, 3 January 2023
/** Infobox styles **/
.infobox {
border: 1px solid #aaa;
border-radius: 10px;
background-color: #E9EDEF;
margin: 0.5em 0 0.5em 1em;
padding: 0.5em 0 0 0;
float: right;
clear: right;
width: 22em;
text-align: center;
font-size: 88%;
line-height: 1.5em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
color: black;
}
.infobox .infobox-above {
font-size: 140%;
font-weight: bold;
padding: 0.3rem;
}
.infobox .infobox-header {
padding: 0.375rem;
border-radius: 0 0 10px 10px;
background:#8b0024;
color:white;
font-size:large;
}
.infobox .infobox-header.captioned {
border-radius:10px;
}
.infobox .infobox-label, .infobox .infobox-data {
text-align:left;
padding: .375rem .625rem;
}
.infobox .infobox-subheader {
padding-bottom: .3rem;
}
.infobox .thumb .thumbinner {
margin:0;
border-radius:0;
width: 100%;
}
.infobox .thumb .thumbinner img {
width:100%;
}
.infobox .thumb {
width:100%;
display:flex;
justify-content:center;
}
.infobox-caption {
padding: 2px 5px;
text-align: left;
}
/* Infobox gallery slideshow */
.infobox ul.gallery.mw-gallery-slideshow .gallerycarousel {
width:100%; /*image wobbly*/
}
.infobox ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons {
padding: 0.3em 0;
}
.infobox ul.gallery.mw-gallery-slideshow {
display:flex;
flex-wrap:wrap;
justify-content:center;
gap: 3px;
padding:0;
}
.infobox ul.gallery.mw-gallery-slideshow li.gallerybox {
max-width: 20%;
display:flex;
flex-direction:column;
justify-content:center;
min-height:3.5rem;
margin-bottom: 0.2rem;
}
.infobox ul.gallery.mw-gallery-slideshow .gallerybox > div {
max-width:100%;
display:flex;
justify-content:center;
}
.infobox ul.gallery.mw-gallery-slideshow .gallerybox div.thumb {
max-width:100%;
}
.infobox ul.gallery.mw-gallery-slideshow .gallerybox div.thumb > div {
margin: 0 0 !important;
}
.infobox .mw-gallery-slideshow .gallerybox .gallerytext {
display:none;
}
.infobox ul.gallery.mw-gallery-slideshow .gallerybox.slideshow-current {
outline: solid slategray 2px;
border-radius: 7.5px;
}
.infobox .mw-gallery-slideshow-buttons.oo-ui-layout.oo-ui-panelLayout > div {
display:flex;
justify-content:space-around;
}
.infobox ul.gallery.mw-gallery-slideshow .gallerycarousel.mw-gallery-slideshow-thumbnails-toggled {
margin-bottom:0;
}
.infobox div.gallerytext{
word-break:break-word;
padding:0;
}
@media only screen and (max-width: 1000px) {
.infobox ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons {
display:none;
}
}
This page was last modified on 3 January 2023, at 23:47. (19 months ago)