summaryrefslogtreecommitdiff
path: root/stylesheets/code/codepen-embed.css
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-03-03 15:34:45 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-03-03 15:34:45 +0900
commita69bc13ba21482b9376cf6071425a64eed31c746 (patch)
treeef1728218786cb63ef5454729a4f1ca0f5a8fbcf /stylesheets/code/codepen-embed.css
parent2c678488eee09e51578bf67215ae4a5625af17da (diff)
Change code hightlighting to highlight.js from google-code prettify.js
Diffstat (limited to 'stylesheets/code/codepen-embed.css')
-rw-r--r--stylesheets/code/codepen-embed.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/stylesheets/code/codepen-embed.css b/stylesheets/code/codepen-embed.css
new file mode 100644
index 00000000..195c4a07
--- /dev/null
+++ b/stylesheets/code/codepen-embed.css
@@ -0,0 +1,60 @@
+/*
+ codepen.io Embed Theme
+ Author: Justin Perry <http://github.com/ourmaninamsterdam>
+ Original theme - https://github.com/chriskempson/tomorrow-theme
+*/
+
+.hljs {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #222;
+ color: #fff;
+}
+
+.hljs-comment,
+.hljs-quote {
+ color: #777;
+}
+
+.hljs-variable,
+.hljs-template-variable,
+.hljs-tag,
+.hljs-regexp,
+.hljs-meta,
+.hljs-number,
+.hljs-built_in,
+.hljs-builtin-name,
+.hljs-literal,
+.hljs-params,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-link,
+.hljs-deletion {
+ color: #ab875d;
+}
+
+.hljs-section,
+.hljs-title,
+.hljs-name,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-type,
+.hljs-attribute {
+ color: #9b869b;
+}
+
+.hljs-string,
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-addition {
+ color: #8f9c6c;
+}
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
+}