七日内新公告:全站维护公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:Sandbox/Grandom/测试HH/styles.css

猛汉♂百科,万男皆可猛的百科全书!转载请标注来源页面的网页链接,并声明引自猛汉百科。内容不可商用。
跳到导航 跳到搜索
.hh-nav-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(253, 253, 253, 0.6); /* 降低图片对比度同时充当navbox的背景色 */
    overflow: hidden;
}

.hh-nav-bg img {
    position: absolute;
    width: 100%;
    height: 194px; /* navbox - title */
    top: calc(50% - 72px); /* navbox * 0.5 - title */
    left: 0;
    object-fit: contain;
    z-index: -1;
}

.hh-nav-item {
    font-size: 10.5px;
    display: inline-block;
    padding: 0 1.5em 0 0.5em;
    text-decoration: inherit;
}

.hh-nav-item .hh-nav-below {
    font-size: 14px;
}

.navbox-list a:nth-child(odd) .hh-nav-item.hime,
.navbox-list .hh-nav-item.hime:nth-child(odd),
.navbox-list a:nth-child(even) .hh-nav-item.hina,
.navbox-list .hh-nav-item.hina:nth-child(even) {
    border-left: medium solid #fbc6d9;
}

.navbox-list a:nth-child(even) .hh-nav-item.hime,
.navbox-list .hh-nav-item.hime:nth-child(even),
.navbox-list a:nth-child(odd) .hh-nav-item.hina,
.navbox-list .hh-nav-item.hina:nth-child(odd) {
    border-left: medium solid #87cefa;
}

.hh-nav .textToggleDisplayButtonLabel {
	border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: none;
    cursor: pointer;
}
.hh-nav .textToggleDisplayButtonInput {display:none;}
.hh-nav .textToggleDisplayButtons>:nth-child(even)>:not(.after-on) {display:none;}
.hh-nav .hhAlbum.hhAlbumCollapsed {
	max-height: 0;
	padding: 0 0.5em;
	box-shadow: 0 0 1px 1px transparent, inset 0 2px 4px rgba(0,0,0,.08), inset 0 0 3px rgba(0,0,0,.1);
	overflow: hidden;
	transition: all .2s ease-in-out;
}
.hh-nav .hhAlbum.textToggleDisplay-on {
	max-height: 300px;
	margin-top: 2px;
	padding: 0.25em 0.5em;
	box-shadow: 0 0 1px 1px rgba(255,255,255,.67), inset 0 2px 4px rgba(0,0,0,.08), inset 0 0 3px rgba(0,0,0,.1);
	overflow: hidden;
	transition: all .2s .2s ease-in-out;
}