.hpTab{
/*[[File:Moegirl-wallpaper-fall-2019.png]]*/
background-image: url(https://storage.moegirl.org.cn/moegirl/commons/a/a4/Moegirl-wallpaper-fall-2019.png);
border-radius: 5px;
}
.hpTab > div:nth-of-type(2)::after {
content: "Draco dormiens nunquam titillandus.\A眠龙勿扰";
white-space: pre-wrap;
display: block;
border-top: 1px dashed #b39f7c;
padding-top: 10px;
margin-top: 15px;
color: #2c1e0e;
text-align: center;
font-size: 1.2rem;
line-height: 1.4;
font-style: italic;
}
.hpTab > div:nth-of-type(2)::after {
margin-bottom: 0;
}
.TabLabelText::after {
content: '';
position: absolute;
left: 0;
width: 80%;
height: 200px;
background: #B7956C;
transform-origin: top;
z-index: -1;
box-shadow: 7px -2px 9px 3px #4b4a4a;
}
.TabContent {
background: white;
padding: 0 !important;
position: relative;
z-index: 3;
box-shadow: 9px -4px 9px 1px #4b4a4a;
}
.TabLabelText {
position: relative;
transition: top 0.3s ease;
top: 0;
}
.TabLabelText:hover {
top: -20px;
}
/* 移动端悬浮目录 */
@media (max-width: 768px) {
.floating-btn{
background: #25b449;
border-radius: 99em 0 0 99em;
padding: 0.5rem 1rem 0.5rem 1rem;
writing-mode: vertical-rl;
font-size: 0.9rem;
font-weight: 600;
color: white;
cursor: pointer;
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
z-index: 1;
}
.toc{
width: 280px;
max-height: 15em;
top: 50%;
right: -304px;
padding: 10px;
border-radius: .5rem;
transform: translateY(-50%);
overflow:scroll;
box-shadow: 0 20px 35px -10px rgba(0,0,0,0.25);
background-color: rgba(255,255,255,0.9);
transition: all 0.5s ease;
position: absolute;
z-index: 2;
}
.floating-toc-container{
position: fixed;
right: -100px;
top: 50%;
z-index: 1000;
transition: all 0.2s ease;
}
.hpTab:hover .floating-toc-container{
right: 0px;
}
.floating-toc-container:hover > .toc{
right: 1.5rem;
}
}
@media (min-width: 768px) {
.floating-toc-container {
display: none;
}
}