additional_plugins/serendipity_event_ckeditor/highlight.css

112 lines
1.3 KiB
CSS
Raw Normal View History

2014-11-28 16:26:41 +01:00
/* CKEDITOR CODESNIPPET PLUGIN */
pre {
word-wrap: inherit; /*fixes chrome issue*/
}
pre code {
white-space: pre;
overflow-x: auto;
}
.hljs {
border-left: 5px solid #DDD;
}
2014-10-13 19:46:57 +02:00
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs {
2014-11-28 16:26:41 +01:00
display: block;
overflow-x: auto;
padding: 0.5em;
2014-10-13 19:46:57 +02:00
color: #333;
2014-11-28 16:26:41 +01:00
background: #f8f8f8;
2014-10-13 19:46:57 +02:00
}
.hljs-comment,
.hljs-quote {
2014-10-13 19:46:57 +02:00
color: #998;
2014-11-28 16:26:41 +01:00
font-style: italic;
2014-10-13 19:46:57 +02:00
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
2014-10-13 19:46:57 +02:00
color: #333;
2014-11-28 16:26:41 +01:00
font-weight: bold;
2014-10-13 19:46:57 +02:00
}
.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
2014-11-28 16:26:41 +01:00
color: #008080;
2014-10-13 19:46:57 +02:00
}
.hljs-string,
.hljs-doctag {
2014-11-28 16:26:41 +01:00
color: #d14;
2014-10-13 19:46:57 +02:00
}
.hljs-title,
.hljs-section,
.hljs-selector-id {
2014-10-13 19:46:57 +02:00
color: #900;
2014-11-28 16:26:41 +01:00
font-weight: bold;
2014-10-13 19:46:57 +02:00
}
.hljs-subst {
2014-11-28 16:26:41 +01:00
font-weight: normal;
2014-10-13 19:46:57 +02:00
}
2014-11-28 16:26:41 +01:00
.hljs-type,
.hljs-class .hljs-title {
2014-10-13 19:46:57 +02:00
color: #458;
2014-11-28 16:26:41 +01:00
font-weight: bold;
2014-10-13 19:46:57 +02:00
}
.hljs-tag,
.hljs-name,
.hljs-attribute {
2014-10-13 19:46:57 +02:00
color: #000080;
2014-11-28 16:26:41 +01:00
font-weight: normal;
2014-10-13 19:46:57 +02:00
}
.hljs-regexp,
.hljs-link {
2014-11-28 16:26:41 +01:00
color: #009926;
2014-10-13 19:46:57 +02:00
}
.hljs-symbol,
.hljs-bullet {
2014-11-28 16:26:41 +01:00
color: #990073;
2014-10-13 19:46:57 +02:00
}
.hljs-built_in,
.hljs-builtin-name {
2014-11-28 16:26:41 +01:00
color: #0086b3;
2014-10-13 19:46:57 +02:00
}
.hljs-meta {
2014-10-13 19:46:57 +02:00
color: #999;
2014-11-28 16:26:41 +01:00
font-weight: bold;
2014-10-13 19:46:57 +02:00
}
.hljs-deletion {
2014-11-28 16:26:41 +01:00
background: #fdd;
2014-10-13 19:46:57 +02:00
}
.hljs-addition {
2014-11-28 16:26:41 +01:00
background: #dfd;
2014-10-13 19:46:57 +02:00
}
.hljs-emphasis {
font-style: italic;
2014-10-13 19:46:57 +02:00
}
.hljs-strong {
font-weight: bold;
2014-10-13 19:46:57 +02:00
}