Bách khoa toàn thư mở Wikipedia
/* .main-figure */
.main-figure {
position: relative;
margin: auto;
text-align: center;
}
/** .main-figure-img **/
.main-figure-img {
margin: auto;
}
.main-figure-img .figure-img img {
width: 100%;
height: auto !important;
max-width: 430px !important;
}
/** .main-figure-caption **/
.main-figure-caption {
padding: 0.8em 1em 0.125em;
}
@media (min-width: 1024px) {
/** .main-figure-caption **/
.main-figure-caption {
display: none;
}
.main-figure:hover .main-figure-caption {
display: block;
position: absolute;
left: 0;
bottom: 0;
overflow: hidden;
width: 100%;
height: auto;
background: #fff;
background: rgba(255, 255, 255, 0.9);
padding-bottom: 1em;
box-sizing: border-box;
}
}
@media (max-width: 1023px) {
/* .main-figure */
.main-figure {
max-width: none !important;
}
}
/*** fix bug <small> for skin minerva ***/
body.skin-minerva small {
font-size: smaller;
}