Skip to content

有道词典主页美化 by frozenbicycle

Screenshot of 有道词典主页美化

Details

Authorfrozenbicycle

LicenseNo License

Categorywww.youdao.com

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

仅适用于主页;仅保留搜索框;搜索框弹性宽度

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           有道单词美化
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         JoyofFire
==/UserStyle== */

@-moz-document url("https://www.youdao.com/") {
    body {
        height: 100vh;
        overflow: hidden;
    }
    
    footer, .content-cell.content-bg {
        visibility: hidden;
    }
    
    .content.center_container > *, .search_con.search_container {
        width: fit-content;
    }
    
    .content.center_container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw;
        min-width: revert;
        
        position: fixed !important;
        left: 0;
        top: 5em;
        height: calc(100vh - 5em);
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    
    .input_con {
        width: 80vw !important;
        min-width: 10em;
    }
    
    .top-banner-wrap, .product_container.product-container, li.nav_item:nth-of-type(3), li.nav_item:nth-of-type(4), li.nav_item:nth-of-type(5), li.nav_item:nth-of-type(6), .account, .rollNumber-with-banner.contianer, .content-cell.content-bg {
        display: none !important;
    }
}

Reviews

No reviews yet.