Skip to content

bog岛摸鱼友好型 by tiamed

Screenshot of bog岛摸鱼友好型

Details

Authortiamed

LicenseNo License

Categorybog

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

bog.ac 样式微调

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         bog岛摸鱼友好型
@version      20220531.13.52
@namespace    userstyles.world/user/tiamed
@description  bog.ac 样式微调
@author       tiamed
@license      No License
==/UserStyle== */
@-moz-document url-prefix("http://bog.ac/"), url-prefix("https://bog.ac/") {

    :root {
        --scrollbar: #ccc;
    }

    /* 隐藏侧栏logo及广告 */
    .sidebar-url,
    .sidebar .logo {
        display: none;
    }

    /* 缩小图片 */
    .item-content-img-list {
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: row;
    }

    .item-content-img-list .img {
        width: 0.5rem;
        height: 0.5rem;
    }

    /* 侧栏改为纯文字展示 */
    .forum-list-item {
        height: auto;
        width: calc(100% - 20px);
        margin: 2px 10px;
        padding: 6px 0;
        background: white;
    }

    .sidebar .forum .forum-list-item a {
        height: auto;
        line-height: 1;
        text-align: center;
    }

    .forum-list {
        text-align: center;
    }

    .forum-list.active {
        max-height: calc(100vh - 480px);
        overflow-y: scroll;
    }

    .forum-list.active::-webkit-scrollbar {
        width: 2px;
    }

    .forum-list-item .forum-icon {
        display: none;
    }

    .forum-list .forum-list-name {
        position: relative;
        width: auto;
        height: auto;
        top: auto;
        float: none;
        font-size: .1rem;
    }

    /* roll点样式简化 */
    .item-content b {
        color: inherit;
        background-color: inherit;
        padding: 0;
    }

    .item-content b::before {
        display: none;
    }
}

Reviews

No reviews yet.