粉笔网站刷题布局优化

粉笔网站布局优化

// ==UserScript==
// @name         粉笔网站刷题布局优化
// @namespace    https://www.fenbi.com/
// @version      0.1
// @description  粉笔网站布局优化
// @author       Zhou
// @match        *://www.fenbi.com/*
// @grant        GM_addStyle
// ==/UserScript==
// practice-header:试卷名横幅
// div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child:答题卡收缩按钮
// fb-collpase-bottom:答题卡
// exam-content:试卷
// ul:横幅上的推广
// fenbi-web-footer:网站信息

(function() {
    let css=`
    #app-practice > .practice-header{
    visibility: hidden !important;
    }
    #app-report-solution >.practice-header{
    visibility: hidden !important;
    }
    #app-practice > div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child{
    visibility: hidden !important;
    }
    #app-report-solution > div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child{
    visibility: hidden !important;
    }
    #app-practice .fb-collpase-bottom{
    left: 0 !important;
    top: 0px !important;
    max-width: 300px;
    }
    #app-report-solution .fb-collpase-bottom{
    left: 0 !important;
    top: 0px !important;
    max-width: 300px;
    }
    #app-practice .fb-collpase-bottom .fb-collpase-content {
    max-height: 720px;
    }
    #app-report-solution .fb-collpase-bottom .fb-collpase-content {
    max-height: 720px;
    }
    #app-practice .exam-content{
    top: -80px !important;
    left: 110px;
    /* margin: 20px auto 0; */
    }
    #app-report-solution .exam-content{
    top: -80px !important;
    left: 110px;
    /* margin: 20px auto 0; */
    }
    #fb-web-nav-header > div.nav-header-content > nav.fb-web-nav:nth-child(2) > ul > li:last-child{
    visibility: hidden !important;
    }
    #fb-web-nav-header > div.nav-header-content > nav.fb-web-nav:nth-child(2) > ul > div.content-filters:nth-child(6){
    visibility: hidden !important;
    }
    #fenbi-web-footer{
    visibility: hidden !important;
    }
    `
     GM_addStyle(css)
})();