comparison third_party/highlight/styles/xcode.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 XCode style (c) Angel Garcia <[email protected]>
12
13 */
14 .hljs {
15 background: #fff;
16 color: black
17 }
18 /* Gray DOCTYPE selectors like WebKit */
19 .xml .hljs-meta {
20 color: #c0c0c0
21 }
22 .hljs-comment,
23 .hljs-quote {
24 color: #007400
25 }
26 .hljs-tag,
27 .hljs-attribute,
28 .hljs-keyword,
29 .hljs-selector-tag,
30 .hljs-literal,
31 .hljs-name {
32 color: #aa0d91
33 }
34 .hljs-variable,
35 .hljs-template-variable {
36 color: #3F6E74
37 }
38 .hljs-code,
39 .hljs-string,
40 .hljs-meta .hljs-string {
41 color: #c41a16
42 }
43 .hljs-regexp,
44 .hljs-link {
45 color: #0E0EFF
46 }
47 .hljs-title,
48 .hljs-symbol,
49 .hljs-bullet,
50 .hljs-number {
51 color: #1c00cf
52 }
53 .hljs-section,
54 .hljs-meta {
55 color: #643820
56 }
57 .hljs-title.class_,
58 .hljs-class .hljs-title,
59 .hljs-type,
60 .hljs-built_in,
61 .hljs-params {
62 color: #5c2699
63 }
64 .hljs-attr {
65 color: #836C28
66 }
67 .hljs-subst {
68 color: #000
69 }
70 .hljs-formula {
71 background-color: #eee;
72 font-style: italic
73 }
74 .hljs-addition {
75 background-color: #baeeba
76 }
77 .hljs-deletion {
78 background-color: #ffc8bd
79 }
80 .hljs-selector-id,
81 .hljs-selector-class {
82 color: #9b703f
83 }
84 .hljs-doctag,
85 .hljs-strong {
86 font-weight: bold
87 }
88 .hljs-emphasis {
89 font-style: italic
90 }