2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

User:AnnAngela/js/sidebarHidden.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索

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

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
添加代码后的本页地址如下:-{R|https://moegirl.icu/User:AnnAngela/js/sidebarHidden.css?_=1}-
#sidebarHidden-logo-link {
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: .37s ease-in-out all;
    position: absolute;
    top: 60px;
    cursor: pointer;
    height: 40px;
    width: 0;
    left: 10em;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, .5)) !important;
    background-color: transparent !important;
    overflow-x: hidden;
}

body.sidebarHidden #sidebarHidden-logo-link {
    opacity: 1;
    pointer-events: all;
    width: 9em;
    left: 1em;
}

@media screen and (min-width: 982px) {
    #sidebarHidden-logo-link {
        left: 11em;
    }

    body.sidebarHidden #sidebarHidden-logo-link {
        width: 10em;
        left: 1em;
    }
}

#sidebarHidden-logo {
    transition: .37s ease-in-out all;
    height: 100%;
    width: auto;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
}

#sidebarHidden-arrow {
    transition: .37s ease-in-out all;
    position: fixed;
    width: .8em;
    height: .8em;
    top: calc(2.5em + 60px);
    cursor: pointer;
    padding: .3em;
    border-radius: 50%;
    text-align: center;
    border: 1px solid rgb(167, 215, 249);
    background: rgb(255, 255, 255);
    z-index: 99;
    left: 9.3em;
}

#sidebarHidden-arrow-left,
#sidebarHidden-arrow-right {
    position: absolute;
    top: .3em;
    left: .3em;
    right: .3em;
    bottom: .3em;
    pointer-events: none;
    transition: .37s ease-in-out all;
}

body.sidebarHidden #sidebarHidden-arrow-left,
body:not(.sidebarHidden) #sidebarHidden-arrow-right {
    opacity: 0;
}

body:not(.sidebarHidden) #sidebarHidden-arrow-left,
body.sidebarHidden #sidebarHidden-arrow-right {
    opacity: 1;
}

#sidebarHidden-arrow:hover {
    background-color: rgb(223, 245, 255);
}

@media screen and (min-width: 982px) {
    #sidebarHidden-arrow {
        left: 10.3em;
    }
}

body.sidebarHidden #sidebarHidden-arrow {
    left: 0.3em;
}

#content,
#footer {
    transition-duration: .37s;
    transition-timing-function: ease-in-out;
    transition-property: margin-left;
}

#mw-panel {
    transition-duration: .37s;
    transition-timing-function: ease-in-out;
    transition-property: z-index, opacity;
    z-index: 1;
    opacity: 1;
}

body.sidebarHidden #content,
body.sidebarHidden #footer {
    margin-left: 1em !important;
}

body.sidebarHidden #mw-panel {
    z-index: -999;
    opacity: 0;
    pointer-events: none;
}