80 lines
2.2 KiB
CSS
80 lines
2.2 KiB
CSS
/**
|
|
* prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
|
|
* Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
|
|
* @author Tim Shedor
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #000;
|
|
--code-c-bg: #fdfdfd;
|
|
--code-c-highlight-bg: #f2efef;
|
|
--code-c-line-number: rgba(0, 0, 0, 0.67);
|
|
}
|
|
[data-theme=light] div[class*=language-] pre ::selection {
|
|
background: #b3d4fc;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.block-comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.cdata {
|
|
color: #7d8b99;
|
|
}
|
|
[data-theme=light] .token.punctuation {
|
|
color: #5f6364;
|
|
}
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.tag,
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.number,
|
|
[data-theme=light] .token.function-name,
|
|
[data-theme=light] .token.constant,
|
|
[data-theme=light] .token.symbol,
|
|
[data-theme=light] .token.deleted {
|
|
color: #c92c2c;
|
|
}
|
|
[data-theme=light] .token.selector,
|
|
[data-theme=light] .token.attr-name,
|
|
[data-theme=light] .token.string,
|
|
[data-theme=light] .token.char,
|
|
[data-theme=light] .token.function,
|
|
[data-theme=light] .token.builtin,
|
|
[data-theme=light] .token.inserted {
|
|
color: #2f9c0a;
|
|
}
|
|
[data-theme=light] .token.operator,
|
|
[data-theme=light] .token.entity,
|
|
[data-theme=light] .token.url,
|
|
[data-theme=light] .token.variable {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
color: #a67f59;
|
|
}
|
|
[data-theme=light] .token.atrule,
|
|
[data-theme=light] .token.attr-value,
|
|
[data-theme=light] .token.keyword,
|
|
[data-theme=light] .token.class-name {
|
|
color: #1990b8;
|
|
}
|
|
[data-theme=light] .token.regex,
|
|
[data-theme=light] .token.important {
|
|
color: #e90;
|
|
}
|
|
[data-theme=light] .language-css .token.string,
|
|
[data-theme=light] .style .token.string {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
color: #a67f59;
|
|
}
|
|
[data-theme=light] .token.important {
|
|
font-weight: normal;
|
|
}
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.entity {
|
|
cursor: help;
|
|
}
|
|
[data-theme=light] .token.namespace {
|
|
opacity: 0.7;
|
|
} |