置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:彩虹社信息栏/styles.css

猛汉♂百科,万男皆可猛的百科全书!转载请标注来源页面的网页链接,并声明引自猛汉百科。内容不可商用。
跳到导航 跳到搜索
	/* t-style */
.Nijinfobox tr:nth-child(2)~tr:not(:last-child)>td:only-child { font-weight:bold; box-shadow:0 1px 3px rgba(128,128,128,0.5); }

	/* l-style */
.Nijinfobox td:nth-last-child(2) { min-width:5em; box-shadow:0 0.5px 0 0.5px rgba(128,128,128,.5); }

	/* 边框投影 */
.Nijinfobox .ni-border { filter: drop-shadow(0 2px 1px rgba(192,192,192,0.7)); }

	/* 底部圆角 */
.Nijinfobox tr:last-child>:first-child { border-bottom-left-radius:9px; }
.Nijinfobox tr:last-child>:last-child { border-bottom-right-radius:9px; }

	/* Tabs */
.Nijinfobox .TabLabel { justify-content: flex-end; }
.Nijinfobox.Darklabel .TabLabelText.selected { color: #fff; }
.Nijinfobox .TabContent { background: transparent !important; }
.Nijinfobox .TabContentText { width:280px; margin:auto; overflow:hidden; }
.Nijinfobox .Tabs img { max-width:none !important; }

	/* 单图Tab */
.Nijinfobox .SingleTab>.TabLabel { display:none; }
.Nijinfobox .SingleTab>.TabContent { border-radius: 9px 9px 0 0; border-width: 0; }
.Nijinfobox .SingleTab .TabContentText { width:282px; }

	/* 图片描述 */
.Nijinfobox .image-describe { position:absolute; bottom:0; left:0; right:0; background:rgba(255,255,255,0.85); max-height:0; transition:all .3s ease-in-out; }
.Nijinfobox .TabContentText:hover .image-describe { max-height:80px; }

	/* 调整ruby行距 */
.Nijinfobox .namefield ruby { line-height:0; }

	/* 今天也是跟MoeSkin斗智斗勇的一天 */
.Nijinfobox, .Nijinfobox * { box-sizing:content-box; }
.Nijinfobox td { padding:1px 4px; }

/* [[Category:在模板名字空间下的CSS页面]] */