User:Irukaza/common.css

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

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

  • 按住CTRL+SHIFT+DEL 或 ⌘-Shift-R来清除缓存!
  • 或尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
    添加代码后的本页地址如下:-{R|https://hmoegirl.com/User:Irukaza/common.css?_=1}-
  • 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
#sidebarHidden-logo-link {
    display: none;
    position: absolute;
    top: 60px;
    cursor: pointer;
    height: 40px;
    width: 9em;
    left: 1em;
    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;
}

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

body.sidebarHidden #sidebarHidden-logo-link {
    display: block;
}

#sidebarHidden-logo {
    height: 100%;
    width: auto;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
}

#sidebarHidden-arrow {
    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: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;
}

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

body.sidebarHidden #mw-panel {
    display: none !important;
}