Skip to content

fengwei2002 luogu by fengwei2002

Details

Authorfengwei2002

LicenseNo License

Categoryluogu

Created

Updated

Size8.9 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           fengwei2002
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
/* ==UserStyle==
@name           洛谷Luogu去广告
@namespace      USO Archive
@author         Jerry_Zhou
@description    `洛谷Luogu去广告`
@version        20220118.13.38
@license        NO-REDISTRIBUTION
@preprocessor   uso
==/UserStyle== */
@-moz-document regexp("^((?!blog).)*https://www.luogu.org((?!blog).)*$"), regexp("^((?!blog).)*http://www.luogu.org((?!blog).)*$"), regexp("^((?!blog).)*https://www2.luogu.org((?!blog).)*$"), regexp("^((?!blog).)*http://www2.luogu.org((?!blog).)*$"), regexp("^((?!blog).)*https://www.luogu.com.cn((?!blog).)*$"), regexp("^((?!blog).)*http://www.luogu.com.cn((?!blog).)*$")
{
  div [data-v-0a593618]{
    display: none;
  }
}
@-moz-document domain("luogu.com.cn") {
    /*洛谷主站*/
    /*动画*/
    @keyframes user {
        from {
            margin-top: 0px;
        }
        to {
            margin-top: 20px;
        }
    }
    @keyframes h1 {
        from {
            margin-left: -200px;
        }
        to {
            margin-left: 10px;
        }
    }
    /*背景*/
    body {
        background-image: url('https://cdn.acwing.com/media/article/image/2021/10/05/101476_f48a644225-background.png');
        background-size: 100% 100%;
        background-attachment: fixed;
    }
    /*顶部*/
    .wrapper.wrapped.lfe-body,
    div.wrapper.wrapped.lfe-body.header-layout.narrow {
        visibility: hidden;
    }
    .footer,
    .header {
        visibility: visible;
    }
    .user-nav[data-v-2dfcfd35] {
        transition: all 0.5s ease;
        color: #fff!important;
        border-radius: 25px;
        animation: user 1s;
        margin-top: 20px;
    }
    .user-nav[data-v-2dfcfd35]:hover{
        transition: all 0.5s ease;
    }
    .user-nav {
        color: #fff;
    }
    /*主体*/
    .lfe-body {
        visibility: hidden;
    }
    .clone-card,
    .card.user-header-container.padding-0,
    .am-modal-dialog,
    .am-g.lg-main-content,
    .container,
    .lg-index-content.am-center,
    .full-container {
        visibility: visible;
    }
    .clone-card,
    .swal2-popup.swal2-modal.swal2-show,
    .popup[data-v-1d675dd8],
    .center,
    .card.padding-none,
    .am-panel.am-panel-default.lg-summary,
    .am-g.lg-table-bg0.lg-table-row,
    .card.padding-default,
    .lg-article {
        transition: all 0.5s ease;
        border-radius: 25px!important;
        background-color: #fff!important;
    }
    .clone-card:hover,
    .swal2-popup.swal2-modal.swal2-show:hover,
    .card.padding-none:hover,
    .popup[data-v-1d675dd8]:hover,
    .center:hover,
    card.padding-none:hover,
    .am-panel.am-panel-default.lg-summary:hover,
    .am-g.lg-table-bg0.lg-table-row:hover,
    .card.padding-default:hover,
    .lg-article:hover {
        transition: all 0.1s ease;
        background-color: #fff!important;
    }
    .am-comment.am-comment-primary,
    .am-comment.am-comment-dange{
        transition: all 0.1s ease;
    }
    .am-comment.am-comment-primary:hover,
    .am-comment.am-comment-danger:hover {
        transition: all 0.1s ease;
    }
    .am-panel.lg-index-contest.am-panel-danger,
    .am-panel.lg-index-contest.am-panel-success,
    .am-panel.lg-index-contest.am-panel-primary{
        border-radius:20px;
    }
    .am-panel.lg-index-contest.am-panel-primary{
        border-color:rgb(120, 52, 219);
    }
    /*侧栏*/
    div[data-v-27b2cd59] {
        border-radius: 25px 25px 0px 0px;
        background-color: #fff0!important;
    }
    #app > .lfe-body {
        visibility: visible;
        top: 130px;
        border-radius: 25px;
        height: 430px;
        background-color: #fff0!important;
        margin-left: 0px;
    }
    *#app > .lfe-body > a > .text {
        opacity: 1;
        margin-top: 0.5em;
        display: block;
        transition: all 0.3s ease;
    }
    #app > .lfe-body > a {
        color: #fff !important;
        height: 3.7em;
        margin-top: 3px;
        padding: 0 !important;
    }
    .lfe-body>a{
        transition: all 0.2s ease;
        border-radius: 10px;
    }
    .lfe-body > a:hover {
        transition: all 0.5s ease;
        background-color: #ffffff57;
        color: #fff!important;
    }
    .popup-button{
        transition: all 0.5s ease;
        color:#fff;
        border-radius: 10px!important;
    }
    .popup-button:hover {
        transition: all 0.5s ease;
        background-color: #ffffff57!important;
        color: #fff!important;
    }
    #app > .lfe-body {
        animation: h1 1s;
        width: 70px;
    }
    a.logo-wrap[data-v-27b2cd59] {
        width: 70px;
    }
    /*字体*/
    p {
        color: #000; 
    }
    .lfe-h1 {
        font-size: 40px;
        animation: h1 0.1s;
    }
    .color-none {
        margin-top: 30px !important;
    }
    nav[data-v-258e49ac],
    .header-link.color-none,
    .mdui-list-item-icon.mdui-icon.material-icons,
    .mdui-drawer {
        color: #fff;
    }
    .lfe-form-sz-small,
    div[data-v-45591776]>.lfe-form-sz-middle{
        color:#fff!important;
    }
    /*细节*/
    .lfe-form-sz-small,
    .am-input-group-label,
    .am-btn.am-btn-primary.am-btn-sm,
    .lfe-form-sz-middle[data-v-7ade990c],
    .input-group.search-filter > button.lfe-form-sz-middle,
    button.selected,
    .items > li.selected {
        background-color: rgb(120, 52, 219)!important;
        border-color: rgb(120, 52, 219)!important;
    }
    div.tag[data-v-2a31ee10],
    .lfe-caption.tag.selected {
        background-color: rgb(120, 52, 219)!important;
    }
    .am-form-field,
    .refined-input.input-wrap.frame {
        border-color: rgb(120, 52, 219)!important;
    }
    button[data-v-66021821]:hover {
        border-color: rgb(120, 52, 219)!important;
    }
    .lfe-caption {
        border-radius: 15px!important;
    }
    .test-case {
        border-radius: 10px;
    }
    .progress-frame.has-tooltip>div{
        background-color:rgb(120, 52, 219)!important;
        border-radius:0px 10px 10px 0px;
    }
    .am-pagination > .am-active > a:hover,
    .am-pagination > .am-active > a{
        background-color:rgb(120, 52, 219);
        border-color:rgb(120, 52, 219);
    }
    .am-pagination.am-pagination-centered a{
        border-radius:10px;
    }
    .am-slider-default .am-control-nav li a.am-active{
        background-color:rgb(120, 52, 219);
    }
     .color-default[data-v-303bbf52]:hover,
    a:hover{
        color:rgb(120, 52, 219);
    }
    .menu[data-v-0e1ae304]{
        --main-color:rgb(120, 52, 219)!important;
    }
    input:enabled + label:hover > .fa-input[data-v-7ecd1f3a]{
        color:rgb(120, 52, 219)!important;
    }
    .clear-filter{
        color:rgb(120, 52, 219)!important;
    }
    input.lfe-form-sz-small,
    .text.lfe-form-sz-small{
        color:#000!important;
        background-color:#fff!important;
    }
    .refined-input.input-wrap.input.frame>.lfe-form-sz-middle{
        color:#000!important;
    }
    .copy-btn.lfe-form-sz-middle{
        color:#fff!important;
    }
    .item:hover{
        border-radius:25px;
        transition: all 0.5s ease;
    }
    /*隐藏广告*/
    div[data-v-0a593618]{
        display:none;
    }
    /*洛谷有题*/
    /*顶部*/
    #app-header{
        background-color:#fff0;
    }
    nav.user-nav{
        color: #fff!important;
        border-radius: 25px!important;
        animation: user 1s;
        margin-top: 20px;
    }
    /*侧栏*/
    .sm-hide.router-link-active.color-default{
        border-radius:25px 25px 0px 0px;
        background-color:#fff0!important;
    }
    #app-sidenav{
        margin-left:10px;
        margin-top:200px;
        height:150px;
        border-radius:25px;
        background-color:#fff0;
        animation: h1 1s;
    }
    .list-item-container>span{
        opacity: 0;
        margin-top: -1em;
        display: block;
        transition: all 0.3s ease;
    }
    .list-item-container:hover>span{
        opacity: 1;
        margin-top: 0.2em;
        color:#000!important;
    }
    .icon.fa.fa-book{
        opacity:1;
        color:#fff;
    }
    .list-item-container {
        transition: all 0.5s ease;
        border-radius: 10px;
        color: #fff !important;
        height: 3.7em;
        margin-top: 3px;
        padding: 0 !important;
    }
    .list-item-container:hover{
        transition: all 0.5s ease;
        background-color: #fff;
    }
    /*主体*/
    .card{
        transition: all 0.5s ease;
        border-radius:25px;
        background-color:#ffffffc2;
    }
    .card:hover{
        transition: all 0.5s ease;
        background-color:#fff;
    }
    /*底部*/
    #app-footer{
        visibility: hidden;
    }
    .width-wrap.min-margin{
        visibility: visible;
    }
}

Reviews

No reviews yet.