Skip to content

changebackground by what-is-me

Screenshot of changebackground

Details

Authorwhat-is-me

LicenseNo License

Categoryhttps://codeforces.com/

Created

Updated

Size11 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

小修小改,
改改背景,
蓝紫名的专属红名体验卡

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         changebackground
@version      20220302.11.38
@namespace    userstyles.world/user/what-is-me
@description  小修小改,
改改背景,
蓝紫名的专属红名体验卡
@author       what-is-me
@license      No License
==/UserStyle== */

@-moz-document domain("codeforces.com") {
body {
    background: url(http://www.dmoe.cc/random.php) no-repeat fixed top;
    background-size: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 1rem;
}
.roundbox,
.topic,
.datatable,
#header {
    background-color: rgba(255, 255, 255, 0.8)!important;
}
div.ttypography p,
div.ttypography ol,
div.ttypography ul {
    font-size: 18px;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: local('JetBrains Mono'), url('https://what-is-me.github.io/font/JetBrainsMono-Regular.woff2') format('woff2');
}
div.ttypography p,
div.ttypography ol,
div.ttypography ul,
body,
select,
input {
    font-family: 'JetBrains Mono';
}
.datatable {
    background-color: rgba(255, 255, 255, 0.8)!important;
}
body div div div div div {
    background-color: rgba(255, 255, 255, 0)!important;
}
.datatable table .dark {
    background-color: rgba(255, 255, 255, 0)!important;
}
#footer {
    background-color: rgba(255, 255, 255, 0)!important;
}
/**----below cpoied from codeforces美化 by wjr-----**/
/*答案提交相关*/
.input {
    font-family: "Fira Mono" !important;
}
#header {
    border-radius: 20px 20px 0 0;
    padding: 17px 20px 8px 20px;
    margin-top: -14px;
    background-color: #fff;
}
/*滚动栏*/
:root {
    --themeColor: #87CEFF;
}
.emoji-picker__emojis::-webkit-scrollbar,
.scrollbar-gradient::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: block;
    width: 10px;
    height: 12px;
}
.emoji-picker__emojis::-webkit-scrollbar-thumb,
.scrollbar-gradient::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    border-radius: 22px;
    -webkit-box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25), inset -2px -2px 2px rgba(0, 0, 0, .25);
    box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25), inset -2px -2px 2px rgba(0, 0, 0, .25);
    background-color: var(--themeColor);
}

.emoji-picker__emojis::-webkit-scrollbar-track,
.scrollbar-gradient::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: rgba(211, 210, 210, .2)
}
#catalog ul::-webkit-scrollbar,
.cnblogs_code::-webkit-scrollbar,
code::-webkit-scrollbar,
pre::-webkit-scrollbar {
    display: block;
    margin-top: 105px;
    width: 10px;
    height: 8px
}
#catalog ul::-webkit-scrollbar-thumb,
.cnblogs_code::-webkit-scrollbar-thumb,
code::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
    background-color: var(--themeColor)
}
#catalog ul::-webkit-scrollbar-track,
.cnblogs_code::-webkit-scrollbar-track,
code::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
    background: rgba(211, 210, 210, 0)
}
#cnblogs_post_body table::-webkit-scrollbar {
    display: block;
    margin-top: 105px;
    width: 10px;
    height: 8px
}
#cnblogs_post_body table::-webkit-scrollbar-thumb {
    background-color: var(--themeColor)
}
#cnblogs_post_body table::-webkit-scrollbar-track {
    background: rgba(211, 210, 210, 0)
}
/*去除所有字体下划线*/
a {
    text-decoration: none;
}
/*背景色微调*/
body {
    background-color: #F0F2F5;
}
code {
    font-family: FangSong !important;
}
.roundbox-lt,
.roundbox-rt,
.roundbox-lb,
.roundbox-rb {
    display: none;
}

.roundbox {
    padding-bottom: 10px;
    border-radius: 10px;
}

.sidebox.roundbox {
    margin-top: 10px;
}

.menu-box {
    margin-top: 0px !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.menu-box:hover {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
/** Custom sidebar */
.roundbox {
    margin-top: 10px;
    border: none;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.roundbox:hover {
    -webkit-box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.1);
}

.roundbox .titled {
    padding: 0 10px 10px 10px;
    border-bottom-color: #e4e6eb;
}

.sidebox div {
    border-bottom-color: #e4e6eb !important;
}
/** Sidebar avatar custom */
.personal-sidebar .for-avatar {
    float: none !important;
    display: block;
    font-size: 18px;
    padding: 10px;
}

.personal-sidebar .for-avatar .avatar img {
    border-radius: 50px;
    width: 90px;
    height: 90px;
    object-fit: cover;
}
/** Sidebar remove property links*/
.personal-sidebar .propertyLinks {
    display: none;
}

.personal-sidebar .nav-links {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #e4e6eb;
    padding-top: 10px;
}

.personal-sidebar .nav-links li {
    list-style-type: none !important;
    padding: 10px;
    font-size: 13px;
    border-radius: 5px;
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.personal-sidebar .nav-links li a,
.personal-sidebar .nav-links li a:visited {
    color: #050505;
}

.personal-sidebar .nav-links li:after {
    content: '→';
    float: right;
    color: #050505;
}

.personal-sidebar .nav-links li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.personal-sidebar .nav-links li a {
    text-decoration: none !important;
}

.roundbox .bottom-links {
    padding: 10px;
    background-color: #fff;
    border-top-color: #e4e6eb !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.roundbox .rtable .dark {
    background-color: #fff;
}
/** Topic custom */
.topic {
    margin-top: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.topic:hover {
    -webkit-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
}

.topic .roundbox {
    border-style: solid;
    border-color: #e4e6eb;
}

.topic .meta a {
    text-decoration: none;
}

.meta {
    padding-bottom: 0px !important;
}

.topic .content {
    border-left-color: #e4e6eb;
}

.roundbox .rtable td,
.roundbox .rtable th {
    border-bottom: 1px solid #e4e6eb;
    border-left: none;
    padding: 7px;
}
.menu-box {
    padding: 0 10px 10px 10px;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
/** Footer custom */
#footer {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
/** Contest data table */
.datatable .lt,
.datatable .rt,
.datatable .lb,
.datatable .rb,
.datatable .ilt,
.datatable .irt {
    display: none;
}

.datatable table {
    margin-top: 10px;
    border-style: solid;
    border-width: 1px;
}

.datatable table td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.datatable {
    padding: 20px !important;
    width: inherit;
    padding-bottom: 40px !important;
    border-radius: 10px;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.datatable:hover {
    -webkit-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
}

.contests-table::first-line {
    font-size: 20px;
    font-weight: bold !important;
}

.datatable {
    margin-top: 10px !important;
}
/** Custom input */
input[type="submit"],
button {
    outline: none;
    height: auto !important;
    padding: 5px 30px 5px 30px !important;
    border-radius: 8px;
    background-color: #00ffd08a;
    border-width: 1.5px;
    border-color: #e4e6eb;
    font-weight: bold;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

input[type="submit"]:hover,
button:hover {
    background-color: rgba(0, 221, 255, 0.23);
}

label[for=searchByProblemCheckbox] {
    margin-top: 20px !important;
    color: rgba(0, 0, 0, 0.5);
}

.notice {
    margin-top: 0px !important;
}

.highlighted-row td,
.highlighted-row th {
    background-color: rgba(221, 238, 255, 0.47) !important;
}

input[name=sourceFile] {
    border-style: dashed;
    border-width: 2px;
    border-color: #e4e6eb;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
}

.submit-form {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px 0 20px 0;
    border-radius: 10px;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.submit-form:hover {
    -webkit-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.1);
}

.source-popup pre {
    padding: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: #e4e6eb;
}

hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(228, 230, 235, 0.1), rgba(228, 230, 235, 1), rgba(228, 230, 235, 0.1));
}

.popup-input-div div...

Reviews

No reviews yet.