Jump to content

Wikipedia:Zenburn

From Wikipedia, the free encyclopedia
(Redirected from Wikipedia:ZENBURN)

Zenburn is a color scheme created for Vim, but since adapted for many other uses. The following CSS, if added to your custom CSS under preferences, is a partial implementation of the scheme. Feel free to tweak this, using https://github.com/jnurmine/Zenburn/blob/master/colors/zenburn.vim as a reference.

body {
    background-color: #3f3f3f;
    /* @embed */
    background-image: url(images/page-base.png);
}
a:link {color: #f0dfaf}
a:visited {color: #e0cf9f}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #dcdccc;
}
 
/* Head */
#mw-page-base {
    height: 5em;
    background-color: #3f3f3f;
    /* @embed */
    background-image: url(images/page-fade.png);
    background-position: bottom left;
    background-repeat: repeat-x;
}
#content {
    margin-left: 10em;
    padding: 1em;
    /* @embed */
    background-image: url(images/border.png);
    background-position: top left;
    background-repeat: repeat-y;
    background-color: #3f3f3f;
    color: #dcdccc;
    direction: ltr;
}
 
pre {
    background: #3f3f3f;
    border: 1pt dashed #dcdccc;
    color: #dcdccc;
    font-size: 8pt;
    overflow: auto;
    padding: 1em 0;
    white-space: pre;
}
 
table.tmbox {
    background: #dc8cc3;
    border: 1px solid #C0C090;
    border-collapse: collapse;
    margin: 4px 10%;
}
 
table.diff {
    background: #3f3f3f;
}
Zenburn color definitions (originally defined for Vim)
Category Example Text Foreground Background Extra
Hex RGB Hex RGB
Normal Normal DCDCCC 220,220,204 3F3F3F 63,63,63
Boolean Boolean DCA3A3 220,163,163
Character Character DCA3A3 220,163,163 bold
Comment Comment 7F9F7F 127,159,127 italic
Conditional Conditional F0DFAF 240,223,175 bold
Constant Constant DCA3A3 220,163,163 bold
Cursor Cursor 000D18 0,13,24 8FAF9F 143,175,159 bold
Debug Debug BCA3A3 188,163,163 bold
Define Define FFCFAF 255,207,175 bold
Delimiter Delimiter 8F8F8F 143,143,143
DiffAdd DiffAdd 709080 112,144,128 313C36 49,60,54 bold
DiffChange DiffChange DCDCCC 220,220,204 333333 51,51,51
DiffDelete DiffDelete 333333 51,51,51 464646 70,70,70
DiffText DiffText ECBCBC 236,188,188 41363C 65,54,60 bold
Directory Directory DCDCCC 220,220,204 bold
ErrorMsg ErrorMsg 80D4AA 128,212,170 2F2F2F 47,47,47 bold
Exception Exception C3BF9F 195,191,159 bold
Float Float C0BED1 192,190,209
FoldColumn FoldColumn 93B3A3 147,179,163 3F4040 63,64,64
Folded Folded 93B3A3 147,179,163 3F4040 63,64,64
Function Function EFEF8F 239,239,143
Identifier Identifier EFDCBC 239,220,188
IncSearch IncSearch 385F38 56,95,56 F8F893 248,248,147
Keyword Keyword F0DFAF 240,223,175 bold
Label Label DFCFAF 223,207,175 underline
LineNr LineNr 9FAFAF 159,175,175 262626 38,38,38
Macro Macro FFCFAF 255,207,175 bold
ModeMsg ModeMsg FFCFAF 255,207,175
MoreMsg MoreMsg FFFFFF 255,255,255 bold
NonText NonText 404040 64,64,64
Number Number 8CD0D3 140,208,211
Operator Operator F0EFD0 240,239,208
PreCondit PreCondit DFAF8F 223,175,143 bold
PreProc PreProc FFCFAF 255,207,175 bold
Question Question FFFFFF 255,255,255 bold
Repeat Repeat FFD7A7 255,215,167 bold
Search Search FFFFE0 255,255,224 284F28 40,79,40
SpecialChar SpecialChar DCA3A3 220,163,163 bold
SpecialComment SpecialComment 82A282 130,162,130 bold
Special Special CFBFAF 207,191,175
SpecialKey SpecialKey 9ECE9E 158,206,158
Statement Statement E3CEAB 227,206,171
StatusLine StatusLine 2E4340 46,67,64 CCDC90 204,220,144
StatusLineNC StatusLineNC 2E3330 46,51,48 88B090 136,176,144
StorageClass StorageClass C3BF9F 195,191,159 bold
String String CC9393 204,147,147
Structure Structure EFEFAF 239,239,175 bold
Tag Tag E89393 232,147,147 bold
Title Title EFEFEF 239,239,239 bold
Todo Todo DFDFDF 223,223,223 bold
Typedef Typedef DFE4CF 223,228,207 bold
Type Type DFDFBF 223,223,191 bold
Underlined Underlined DCDCCC 220,220,204 underline
VertSplit VertSplit 303030 48,48,48 688060 104,128,96
VisualNOS VisualNOS 333333 51,51,51 F18C96 241,140,150 bold, underline
WarningMsg WarningMsg FFFFFF 255,255,255 333333 51,51,51 bold
WildMenu WildMenu CBECD0 220,163,163 2C302D 44,48,45 underline
[edit]