User:Irukaza/common.css

H萌娘,万物皆可H的百科全书!
< User:Irukaza
imported>=海豚=2021年6月19日 (六) 11:38的版本
跳到导航 跳到搜索

注意:这类代码页面在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • 按住CTRL+SHIFT+DEL 或 ⌘-Shift-R来清除缓存!
  • 或尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
    添加代码后的本页地址如下:-{R|https://hmoegirl.com/User:Irukaza/common.css?_=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;
		}