Skip to content

百度翻译黑暗模式 by kedouvv

Details

Authorkedouvv

LicenseGPL-3.0 License

Categoryfanyi.baidu.com

Created

Updated

Size3.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

为百度翻译添加黑暗模式

Notes

Source code

/* ==UserStyle==
@name         百度翻译黑暗模式
@version      20211008.14.14
@namespace    userstyles.world/user/kedouvv
@description  为百度翻译添加黑暗模式
@author       kedouvv
@license      GPL-3.0 License
==/UserStyle== */

@-moz-document domain("fanyi.baidu.com") {
html,.container,.sample-wrap .sample-origin-tips p,.language-btn, .language-btn-disable{
    background-color: #1c1c1c;
}
.input-wrap,.output-blank,.ordinary-wrap,.history-wrap{
    background-color: #444;
}
.trans-input-wrap,.output-blank,.ordinary-wrap{
    border-color: #aaa;
}
.textarea,.ordinary-output,.japan-pinyin-output, .luoma-pinyin-kor,.japan-ouput-pinyin, .luoma-ouput-pinyin,#side-nav .nav-item span,#side-nav .nav-sub-item span{
    color: #fdfdfd;
}
.sug-wrap,.account-panel li a:hover{
    background-color: #4f4f4f;
}
.sug-wrap .sug-item .sug-query,.language-selected{
    color: #fff;
}
.sug-wrap .sug-item .sug-query-rest, .sug-wrap .sug-item .sug-translate,.dictionary-wrap .dictionary-comment p b~.dict-comment-mean,.english-item dl{
    color: #ccc;
}
.dictionary-wrap .dictionary-comment p b,.dictionary-wrap .dictionary-spell .phonetic-transcription span,.dictionary-wrap .dictionary-spell .phonetic-transcription b,.english-item p,.mean-title .mean-content span,.entry-pg .entry-p-ib,.entry-pg .entry-p-ib p,.account-panel a{
    color: #eee;
}
.header,.account-panel{
    background-color: #222;
}
#left-result-container,.dictionary-wrap .simple-dict-ztoe .dictionary-comment .dict-comment-mean,.dictionary-wrap .strong,#app-read,.dictionary-wrap.dictionary-wrap-f .simple-dict-f{
    color: #eee;
    border-color: #aaa;
}
.dictionary-wrap.dictionary-wrap-f .simple-dict-f.simple-dict-f-nimg,#app-read,.dictionary-wrap.dictionary-wrap-f .simple-dict-f,.keywords-outter,.keywords-word{
    background-color: #2c2c2c;
}
.sample-wrap .sample-source, .sample-wrap .sample-target,.keywords-outter .keywords-title,.keywords-outter .keywords-container,#footer-products-container .products-item h5{
    color: #eaeaea;
}
.select-from-language, .select-to-language,{
    background-color: #444;
    color: #fff;
}
#side-nav .nav-ol .nav-sort-btn,#side-nav .nav-ol .nav-search-again,.feedback-btn,#side-nav .nav-ol .nav-sort-btn,.backtotop-btn,.backtotop-btn{
    border: 1px solid #aaa;
    background-color: #000;
    color: #fff;
}
.keywords-outter .keywords-inner{
    border: 1px solid #aaa;
}
.synonym-item{
    color: #cdcdcd;
}

.need-collapse .details-cont-item:after{
    background: #0000;
}

.manual-trans-info .list-container,#header-plugins-container .plugins-list,#header-plugins-container .plugins-list>a,.app-contain{
    background-color: #1f1f1f;
    color: #eee;
    border: 1px solid #eee;
}
.domain-trans-wrapper .domain-trans-wrapper-inner,.domain-trans-wrapper .domain-trans-bottom,.domain-trans-wrapper .domain-trans-item-wrapper,.domain-trans-wrapper .domain-trans-item.disable > span:hover,.lang-panel,.search-input,#to-cover-line,#to-cover-line, #from-cover-line{
    background: #1f1f1f;
}
.domain-trans-wrapper .domain-trans-item.disable,.domain-trans-wrapper .domain-trans-item,.lang-panel,.lang-item,.search-input,.search-result-item{
    color: #eee;
}
.letter-title,.often-list .lang-item{
    color: #bfbfbf;
}
.infolist-right-card:nth-child(n){
    background-image: none;
}
.infolist-left,.infolist-right-card{
    background: #333;
    color: #eee;
}
.infolist-detail-title{
    color: #fff;
}
}

Reviews

No reviews yet.