comparison third_party/highlight/styles/idea.css @ 157:2db6253f355d

[ThirdParty] Added highlight library for better readability on blog.
author June Park <parkjune1995@gmail.com>
date Tue, 13 Jan 2026 19:18:47 -0800
parents
children
comparison
equal deleted inserted replaced
156:cd35e600ae34 157:2db6253f355d
1 pre code.hljs {
2 display: block;
3 overflow-x: auto;
4 padding: 1em
5 }
6 code.hljs {
7 padding: 3px 5px
8 }
9 /*
10
11 Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]>
12
13 */
14 .hljs {
15 color: #000;
16 background: #fff
17 }
18 .hljs-subst,
19 .hljs-title {
20 font-weight: normal;
21 color: #000
22 }
23 .hljs-comment,
24 .hljs-quote {
25 color: #808080;
26 font-style: italic
27 }
28 .hljs-meta {
29 color: #808000
30 }
31 .hljs-tag {
32 background: #efefef
33 }
34 .hljs-section,
35 .hljs-name,
36 .hljs-literal,
37 .hljs-keyword,
38 .hljs-selector-tag,
39 .hljs-type,
40 .hljs-selector-id,
41 .hljs-selector-class {
42 font-weight: bold;
43 color: #000080
44 }
45 .hljs-attribute,
46 .hljs-number,
47 .hljs-regexp,
48 .hljs-link {
49 font-weight: bold;
50 color: #0000ff
51 }
52 .hljs-number,
53 .hljs-regexp,
54 .hljs-link {
55 font-weight: normal
56 }
57 .hljs-string {
58 color: #008000;
59 font-weight: bold
60 }
61 .hljs-symbol,
62 .hljs-bullet,
63 .hljs-formula {
64 color: #000;
65 background: #d0eded;
66 font-style: italic
67 }
68 .hljs-doctag {
69 text-decoration: underline
70 }
71 .hljs-variable,
72 .hljs-template-variable {
73 color: #660e7a
74 }
75 .hljs-addition {
76 background: #baeeba
77 }
78 .hljs-deletion {
79 background: #ffc8bd
80 }
81 .hljs-emphasis {
82 font-style: italic
83 }
84 .hljs-strong {
85 font-weight: bold
86 }