小胖的作者页
评分: +39+x

[[iftags +component]]

This is a component to make the mobile sidebar button active on desktop-size screen.
To use, put the following:

[[include :scp-wiki:component:toggle-sidebar]]

If used with a theme, it's recommended to put said theme after this [[include]].

(Use this version by WoedenazWoedenaz if you're using Black Highlighter)


/* source: http://ah-sandbox.wikidot.com/component:collapsible-sidebar-x1 */
 
#top-bar .open-menu a {
        position: fixed;
        top: 0.5em;
        left: 0.5em;
        z-index: 5;
        font-family: 'Lucida Sans Unicode','Lucida Grande','Lucida Sans','Times New Roman',Helvetica,Roboto,sans-serif;
        font-size: 30px;
        font-weight: 700;
        width: 30px;
        height: 30px;
        line-height: 0.9em;
        text-align: center;
        border: 0.2em solid #888;
        background-color: #fff;
        border-radius: 3em;
        color: #888;
        pointer-events: auto;
}
 
@media not all and (max-width: 767px) {
 
    #top-bar .mobile-top-bar {
        display: block;
        pointer-events: none;
    }
 
    #top-bar .mobile-top-bar li {
        display: none;
    }
 
    #main-content {
        max-width: 44.5rem;
        margin: 0 auto;
        padding: 0;
        transition: max-width 0.2s ease-in-out;
    }
 
    #side-bar {
        display: block;
        position: fixed;
        top: 0;
        left: -18rem;
        width: 15.25rem;
        height: 100%;
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 10;
        padding: 1em 1em 0 1em;
        background-color: rgba(0,0,0,0.1);
        transition: left 0.4s ease-in-out;
 
        scrollbar-width: thin;
    }
 
    #side-bar:target {
        left: 0;
    }
    #side-bar:focus-within {
        left: 0;
    }
 
    #side-bar:target .close-menu {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin-left: 17rem;
        opacity: 0;
        z-index: -1;
        visibility: visible;
    }
    #side-bar:not(:target) .close-menu { display: none; }
 
    #top-bar .open-menu a:hover {
        text-decoration: none;
    }
}

[[/iftags]]

警告:您现在正在阅读未知页面


该页面内收录的内容可能对您的精神造成不可逆的损害,如未经Area-CN-201信息管理部门的许可,请离开该页面。
返回首页



















人员档案:QIUxlQIUxl
人员内部代号:小胖
归属:SCP基金会中国分部Area-CN-201高级研究员
身份简介:QIUxlQIUxl是一名被确认出生于扬州的男性,截至2030年21岁,于2026年前半年入职Area-CN-201。
理想:

  • 能建立一个自己的站点。(但希望很渺茫)
  • 希望可以写出高分作品。(努力中)
  • 希望可以成为中分的大作家。(梦里啥都有)

以下为我参与记录的事件与scps

我的第一部SCP项目,啊啊啊为什么上课这么催眠啊!


第二篇项目,参加的家具城竞赛,能够活吗?现在是+7

除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License