Last active
January 6, 2020 23:54
-
-
Save bcdavasconcelos/c37eb643a276948b24230b8714368812 to your computer and use it in GitHub Desktop.
Dracula Theme for GoldenDict. Based on the CSS provided by @babygau. #CSS #GoldenDict
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
{ | |
background: #212121; | |
margin-top: 1px; | |
margin-right: 3px; | |
margin-left: 2px; | |
margin-bottom: 3px; | |
color: #f0f0f0; | |
font-family: EB Garamond; | |
line-height: 1.3; | |
} | |
a:link | |
{ | |
color: #0068da; | |
} | |
ul | |
{ | |
color: #f0f0f0; | |
} | |
.gdarticle | |
{ | |
background: #212121; | |
color: #f0f0f0; | |
margin-top: 0.5em; | |
margin-bottom: 0.9em; | |
padding: 8px; | |
border: 1px solid #212121; | |
} | |
.gdactivearticle | |
{ | |
border: 1px solid #212121; | |
} | |
.gdarticleseparator + script + .gdactivearticle .gddictname | |
{ | |
border-top: 1px solid #212121; | |
} | |
.gdarticleseparator | |
{ | |
display: none; | |
} | |
.gddictname | |
{ | |
font-family: Avenir Next; | |
font-size: 13px; | |
font-weight: bold; | |
float: center; | |
text-align: center; | |
color: #f0f0f0; | |
background: #455651; | |
border: 0px; | |
margin: -6px; | |
margin-bottom: 5px; | |
margin-left: 2px; | |
padding-right: 0.4em; | |
-webkit-user-select: none; | |
user-select: none; | |
cursor: default; | |
} | |
.gdactivearticle .gddictname | |
{ | |
font-family: Gentium Plus; | |
font-size: 13px; | |
font-weight: bold; | |
float: center; | |
text-align: center; | |
color: #f0f0f0; | |
background: #a37267; | |
margin: -6px; | |
margin-bottom: 5px; | |
margin-left: 2px; | |
border: 1px #212121; | |
} | |
.gddicticon | |
{ | |
display: inline; | |
vertical-align: text-bottom; | |
float: right; | |
padding-right: 0em; | |
padding-left: 0.3em; | |
} | |
/** | |
* Old Dictionaries using DSL format | |
*/ | |
.gdarticlebody > span:first-child .dsl_headwords, | |
.gdarticlebody > h3:first-child | |
{ | |
margin-top: -3px; | |
display: inline-block; | |
} | |
.gdspellsuggestion | |
{ | |
/* Add some vertical space before the article */ | |
margin-top: 1.5em; | |
} | |
.dsl_article, .dsl_definition, .dsl_ex, .dsl_opt, .dsl_lang, .dsl_m0, .dsl_m1, .dsl_m2, .dsl_m3, .dsl_m4, .dsl_u, .dsl_b, .dsl_i | |
{ | |
color: #f0f0f0 !important; | |
} | |
.dsl_p { | |
color: #FF7400 !important; | |
} | |
.dsl_b font { | |
color: #FFD300 !important; | |
} | |
.dsl_m2 font { | |
color: #71FF35 !important; | |
} | |
.dsl_i font { | |
color: #f0f0f0 !important; | |
} | |
.dsl_article .dsl_definition { | |
color: #FFEA13 !important; | |
} | |
.dsl_article .dsl_definition font[color="darkcyan"] | |
{ | |
color: #FFEA13 !important; | |
} | |
.dsl_article .dsl_definition font[color="teal"] | |
{ | |
color: #FFEA13 !important; | |
} | |
.dsl_article .dsl_definition font[color="darkslategray"] | |
{ | |
color: #FFEA13 !important; | |
} | |
.dsl_article .dsl_definition font[color="darkslateblue"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="darkmagenta"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="sienna"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="rosybrown"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="dimgray"] | |
{ | |
color: #f0f0f0 !important; | |
} | |
.dsl_article .dsl_definition font[color="green"] | |
{ | |
color: #3cb372 !important; | |
} | |
.dsl_article .dsl_definition font[color="darkgreen"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="maroon"] | |
{ | |
color: #b42828 !important; | |
} | |
.dsl_article .dsl_definition font[color="gray"] | |
{ | |
color: #3cb372; | |
color: #3cb372 !important; | |
} | |
::selection | |
{ | |
background: #60605a; | |
color: #f0f0f0; | |
} | |
code::selection | |
{ | |
background: #60605a; | |
} | |
.dsl_s_wav img, .lsa_play img, .forvo_play img[alt="Play"] | |
{ | |
/** | |
display: none; | |
**/ | |
} | |
.dsl_s_wav a, .lsa_play td:nth-of-type(1) a, .forvo_play td:nth-of-type(1) a | |
{ | |
color: #f0f0f0; | |
width: 18px; | |
height: 14px; | |
/** | |
display: inline-block; | |
background: url('file:///control_play_lingvo.png') no-repeat center; | |
vertical-align: text-bottom; | |
-webkit-user-select: none; | |
user-select: none; | |
**/ | |
} | |
/** | |
* OALD9 Dictionary | |
*/ | |
.mdict, .mdict ol, .head-jump-pos, .head-jump-entry, .h-g, sn-gs, .sn-g, .x-gs, .xg, .rx-g, .x, .num, .def, .label-g, .collapse | |
{ | |
color: #f0f0f0 !important; | |
} | |
.head-jump-pos a | |
{ | |
display: inline-block; | |
background-color: green; | |
color: #f0f0f0 !important; | |
padding-top: 2px; | |
padding-bottom: 3px; | |
padding-left: 5px; | |
padding-right: 5px; | |
margin-right: 3px; | |
margin-bottom: 3px; | |
text-decoration: none; | |
font-size: 90%; | |
border-radius: 2px; | |
} | |
.mdict .if-gs | |
{ | |
color: #b42828 !important; | |
} | |
.mdict .gram-g | |
{ | |
color: #FF7400 !important; | |
} | |
.mdict .top-container | |
{ | |
line-height: 1.2em !important; | |
} | |
.mdict .collapse, .mdict .webtop-g | |
{ | |
background-color: #03A9F4 !important; | |
border-left: 3px solid #03A9F4 !important; | |
} | |
.mdict .collapse .body .h1, .mdict .collapse .body .deflist .li .eb | |
{ | |
color: #D32F2F !important; | |
} | |
.mdict .collapse .body .inline .li | |
{ | |
color: #512DA8 !important; | |
} | |
/** Fix numbered list **/ | |
.mdict ol | |
{ | |
list-style-type: none; | |
} | |
.mdict ol li | |
{ | |
counter-increment: step-counter; | |
} | |
.mdict ol li::before | |
{ | |
content: counter(step-counter); | |
color: #b42828 !important; | |
font-weight: bold; | |
} | |
/** Fix phonetics **/ | |
.mdict .phon { | |
color: #b42828 !important; | |
font-weight: bold; | |
} | |
/** | |
* Longman Dictionary 6 | |
*/ | |
.entry, .example, .collocate, .collgloss, .sense, .neutral, .exas li | |
{ | |
color: #f0f0f0 !important; | |
} | |
.hyphenation, .homnum, .frequent | |
{ | |
color: #FFEB3B !important; | |
} | |
.pron, .amevarpron | |
{ | |
color: #D32F2F !important; | |
font-weight: bold; | |
} | |
.gram, .registerlab | |
{ | |
color: #03A9F4 !important; | |
} | |
.propformprep, .expr, .colloc, .collo, .exp, .display, .nodeword { | |
color: #FF4081 !important; | |
} | |
.sensenum | |
{ | |
color: #b42828 !important; | |
} | |
.collobox | |
{ | |
background-color: #448AFF !important; | |
border-color: #448AFF !important; | |
} | |
.thesbox | |
{ | |
background-color: #FFEB3B !important; | |
border-color: #FFEB3B !important; | |
} | |
.grambox .expl, .grambox .compareword, .collobox .section, .thesbox .section | |
{ | |
background-color: #201F1F !important; | |
} | |
.secheading | |
{ | |
background-color: #1976D2 !important; | |
} | |
/** | |
* Từ điển Lạc Việt | |
*/ | |
table, #definition_T_id, #mh_n_T_id, #mh_T_id, #C_C | |
{ | |
color: #f0f0f0 !important; | |
} | |
#C_C font { | |
color: #f0f0f0 !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MainWindow #searchPane #translateLine, MainWindow #searchPane #wordList | |
{ | |
background: #212121; | |
color: #f0f0f0; | |
} | |
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainWindow #dictsPane #dictsList, MainWindow #historyPane #historyList | |
{ | |
background: #212121; | |
color: #f0f0f0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment