Skip to content

Instantly share code, notes, and snippets.

@weaming
Last active December 21, 2015 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weaming/4afcb6b24f0475b3dd41 to your computer and use it in GitHub Desktop.
Save weaming/4afcb6b24f0475b3dd41 to your computer and use it in GitHub Desktop.
solarized-dark.css For cnblogs.com
/*
solarized-dark css
Edited for cnblogs
*/
.cnblogs-markdown code{
color: #f92672 !important;
marigin-left: 2px !important;
marigin-right: 2px !important;
}
.cnblogs-markdown pre{color: #839496 !important;border: 0px !important;}
.cnblogs-markdown pre code{
background-color: #002B36 !important;
color: #839496 !important;
border-radius: 5px !important;
border: 1px solid #002B36 !important;
marigin-left: 2px !important;
marigin-right: 2px !important;
}
.hljs-pseudo{color: #2b91af !important;}
/*以上是自定义*/
.hljs {
display: block !important;
overflow-x: auto !important;
padding: 0.5em !important;
background: #002b36 !important;
color: #839496 !important;
}
.hljs-comment,
.hljs-quote {
color: #586e75 !important;
}
/* Solarized Green */
.hljs-keyword,
.hljs-selector-tag,
.hljs-addition {
color: #859900 !important;
}
/* Solarized Cyan */
.hljs-number,
.hljs-tag,
.hljs-value,
.hljs-string,
.hljs-meta .hljs-meta-string,
.hljs-literal,
.hljs-doctag,
.hljs-at_rule,
.hljs-regexp {
color: #2aa198 !important;
}
/* Solarized Blue */
.hljs-title,
.hljs-section,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
color: #268bd2 !important;
}
/* Solarized Yellow */
.hljs-attribute,
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-class,
.hljs-title,
.hljs-type {
color: #b58900 !important;
}
/* Solarized Orange */
.hljs-symbol,
.hljs-bullet,
.hljs-subst,
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-link {
color: #cb4b16 !important;
}
/* Solarized Red */
.hljs-built_in,
.hljs-deletion {
color: #dc322f !important;
}
.hljs-formula {
background: #073642 !important;
}
.hljs-emphasis {
font-style: italic !important;
}
.hljs-strong {
font-weight: bold !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment