User:Irukaza/common.css
跳到导航
跳到搜索
注意:这类代码页面在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 按住
CTRL+SHIFT+DEL 或 ⌘-Shift-R
来清除缓存! - 或尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
ul.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 0;
}
ul.mw-gallery {
text-align: left;
}
div.thumb img {
width: 90% !important;
height: auto;
}
li.gallerybox {
flex-grow: 1;
}
div.gallerytextwrapper {
right: 0;
width: auto ;
margin: 0;
background: transparent;
}
div.thumb:after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 60%;
content: '';
}
div.gallerytextwrapper {
border-radius: 1px;
}
div.gallerytextwrapper:hover {
/* Prevent overflow with long caption */
overflow: hidden;
max-height: 90%;
background: #000;
}
li.gallerybox {
display: block;
width: 100%;
height: auto;
}
div.thumb {
overflow: hidden;
width: 100% !important;
height: auto;
}
p {
margin-top: 0;
}
a.image {
display: inline;
}