summaryrefslogtreecommitdiff
path: root/css/highlight/idea.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
committermuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
commit7e2f3fca091c08771486df0b870ce187f869d363 (patch)
tree025e1b18a0d94c940a85eb631a7f48951efbc18d /css/highlight/idea.css
parent2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff)
downloadblog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
Diffstat (limited to 'css/highlight/idea.css')
-rw-r--r--css/highlight/idea.css78
1 files changed, 78 insertions, 0 deletions
diff --git a/css/highlight/idea.css b/css/highlight/idea.css
new file mode 100644
index 00000000..bc499b39
--- /dev/null
+++ b/css/highlight/idea.css
@@ -0,0 +1,78 @@
+/*
+
+Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]>
+
+*/
+.highlight {
+ color: #000;
+ background: #fff;
+}
+.highlight .code .subst,
+.highlight .code .title {
+ font-weight: normal;
+ color: #000;
+}
+.highlight .code .comment,
+.highlight .code .quote {
+ color: #808080;
+ font-style: italic;
+}
+.highlight .code .meta {
+ color: #808000;
+}
+.highlight .code .tag {
+ background: #efefef;
+}
+.highlight .code .section,
+.highlight .code .name,
+.highlight .code .literal,
+.highlight .code .keyword,
+.highlight .code .selector-tag,
+.highlight .code .type,
+.highlight .code .selector-id,
+.highlight .code .selector-class {
+ font-weight: bold;
+ color: #000080;
+}
+.highlight .code .attribute,
+.highlight .code .number,
+.highlight .code .regexp,
+.highlight .code .link {
+ font-weight: bold;
+ color: #00f;
+}
+.highlight .code .number,
+.highlight .code .regexp,
+.highlight .code .link {
+ font-weight: normal;
+}
+.highlight .code .string {
+ color: #008000;
+ font-weight: bold;
+}
+.highlight .code .symbol,
+.highlight .code .bullet,
+.highlight .code .formula {
+ color: #000;
+ background: #d0eded;
+ font-style: italic;
+}
+.highlight .code .doctag {
+ text-decoration: underline;
+}
+.highlight .code .variable,
+.highlight .code .template-variable {
+ color: #660e7a;
+}
+.highlight .code .addition {
+ background: #baeeba;
+}
+.highlight .code .deletion {
+ background: #ffc8bd;
+}
+.highlight .code .emphasis {
+ font-style: italic;
+}
+.highlight .code .strong {
+ font-weight: bold;
+}