Skip to content

Custom background image for CF/AT/Hydro by shine-yu-student

Details

Authorshine-yu-student

LicenseNO-REDISTRIBUTION

Categoryhydro.ac,codeforces.com,atcoder.jp

Created

Updated

Size2.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Change the background image by editing the script and replacing the image URL with yours!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Custom background image for CF/AT/Hydro
@namespace      USO Archive
@author       ShinyShine
@description    `Change the background image by editing the script and replacing the image URL with yours!`
@version        2023.8.12.1
@license        GPL-v4.0
@preprocessor   uso
==/UserStyle== */
@-moz-document domain("oiclass.com"), domain("www.luogu.com.cn"){
main
  {
    background-image: url("https://image.nemophery.repl.co/img/1691673083503-tidlp.jpeg") !important; /*Change Tthe URL To Your Background!*/
    background-size: cover !important;
    background-attachment: fixed !important;
  }
}
@-moz-document domain("oiclass.com"){
    .main{
        background-image: url("https://image.nemophery.repl.co/img/1691673083503-tidlp.jpeg") !important; /*Change Tthe URL To Your Background!*/
        background-size: cover !important;
        background-attachment: fixed !important;
    }
}
@-moz-document domain("oiclass.com"), domain("www.luogu.com.cn"){
    .columns{
        opacity:0.95;
    }
    .slideout-menu{
        opacity:0.95;
    }
}
@-moz-document domain("www.luogu.com.cn"){
    .card{
        background-color:white;
        opacity:0.9;
    }
}
@-moz-document domain("codeforces.com"){
    #body{
        width: 100%;
        height: 100%;
        background-image: url("https://image.nemophery.repl.co/img/1691673083503-tidlp.jpeg")!important;
        background-size: cover !important;
        background-attachment: fixed !important;
    }
    .content-with-sidebar,#footer{
        background-color:white;
        opacity:0.9;
    }
    .roundbox{
        opacity:0.9;
    }
}
@-moz-document domain("atcoder.jp"){
    .float-container{
        width: 100%;
        height: 100%;
        background-image: url("https://image.nemophery.repl.co/img/1691673083503-tidlp.jpeg") !important;
        background-size: cover !important;
        background-attachment: fixed !important;
    }
    #main-container{
        opacity:0.9;
    }
}

Reviews

No reviews yet.