Mercurial
comparison third_party/highlight/styles/base16/nord.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 Theme: Nord | |
| 11 Author: arcticicestudio | |
| 12 License: ~ MIT (or more permissive) [via base16-schemes-source] | |
| 13 Maintainer: @highlightjs/core-team | |
| 14 Version: 2021.09.0 | |
| 15 */ | |
| 16 /* | |
| 17 WARNING: DO NOT EDIT THIS FILE DIRECTLY. | |
| 18 | |
| 19 This theme file was auto-generated from the Base16 scheme nord | |
| 20 by the Highlight.js Base16 template builder. | |
| 21 | |
| 22 - https://github.com/highlightjs/base16-highlightjs | |
| 23 */ | |
| 24 /* | |
| 25 base00 #2E3440 Default Background | |
| 26 base01 #3B4252 Lighter Background (Used for status bars, line number and folding marks) | |
| 27 base02 #434C5E Selection Background | |
| 28 base03 #4C566A Comments, Invisibles, Line Highlighting | |
| 29 base04 #D8DEE9 Dark Foreground (Used for status bars) | |
| 30 base05 #E5E9F0 Default Foreground, Caret, Delimiters, Operators | |
| 31 base06 #ECEFF4 Light Foreground (Not often used) | |
| 32 base07 #8FBCBB Light Background (Not often used) | |
| 33 base08 #BF616A Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted | |
| 34 base09 #D08770 Integers, Boolean, Constants, XML Attributes, Markup Link Url | |
| 35 base0A #EBCB8B Classes, Markup Bold, Search Text Background | |
| 36 base0B #A3BE8C Strings, Inherited Class, Markup Code, Diff Inserted | |
| 37 base0C #88C0D0 Support, Regular Expressions, Escape Characters, Markup Quotes | |
| 38 base0D #81A1C1 Functions, Methods, Attribute IDs, Headings | |
| 39 base0E #B48EAD Keywords, Storage, Selector, Markup Italic, Diff Changed | |
| 40 base0F #5E81AC Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> | |
| 41 */ | |
| 42 pre code.hljs { | |
| 43 display: block; | |
| 44 overflow-x: auto; | |
| 45 padding: 1em | |
| 46 } | |
| 47 code.hljs { | |
| 48 padding: 3px 5px | |
| 49 } | |
| 50 .hljs { | |
| 51 color: #E5E9F0; | |
| 52 background: #2E3440 | |
| 53 } | |
| 54 .hljs::selection, | |
| 55 .hljs ::selection { | |
| 56 background-color: #434C5E; | |
| 57 color: #E5E9F0 | |
| 58 } | |
| 59 /* purposely do not highlight these things */ | |
| 60 .hljs-formula, | |
| 61 .hljs-params, | |
| 62 .hljs-property { | |
| 63 | |
| 64 } | |
| 65 /* base03 - #4C566A - Comments, Invisibles, Line Highlighting */ | |
| 66 .hljs-comment { | |
| 67 color: #4C566A | |
| 68 } | |
| 69 /* base04 - #D8DEE9 - Dark Foreground (Used for status bars) */ | |
| 70 .hljs-tag { | |
| 71 color: #D8DEE9 | |
| 72 } | |
| 73 /* base05 - #E5E9F0 - Default Foreground, Caret, Delimiters, Operators */ | |
| 74 .hljs-subst, | |
| 75 .hljs-punctuation, | |
| 76 .hljs-operator { | |
| 77 color: #E5E9F0 | |
| 78 } | |
| 79 .hljs-operator { | |
| 80 opacity: 0.7 | |
| 81 } | |
| 82 /* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */ | |
| 83 .hljs-bullet, | |
| 84 .hljs-variable, | |
| 85 .hljs-template-variable, | |
| 86 .hljs-selector-tag, | |
| 87 .hljs-name, | |
| 88 .hljs-deletion { | |
| 89 color: #BF616A | |
| 90 } | |
| 91 /* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */ | |
| 92 .hljs-symbol, | |
| 93 .hljs-number, | |
| 94 .hljs-link, | |
| 95 .hljs-attr, | |
| 96 .hljs-variable.constant_, | |
| 97 .hljs-literal { | |
| 98 color: #D08770 | |
| 99 } | |
| 100 /* base0A - Classes, Markup Bold, Search Text Background */ | |
| 101 .hljs-title, | |
| 102 .hljs-class .hljs-title, | |
| 103 .hljs-title.class_ { | |
| 104 color: #EBCB8B | |
| 105 } | |
| 106 .hljs-strong { | |
| 107 font-weight: bold; | |
| 108 color: #EBCB8B | |
| 109 } | |
| 110 /* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */ | |
| 111 .hljs-code, | |
| 112 .hljs-addition, | |
| 113 .hljs-title.class_.inherited__, | |
| 114 .hljs-string { | |
| 115 color: #A3BE8C | |
| 116 } | |
| 117 /* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */ | |
| 118 /* guessing */ | |
| 119 .hljs-built_in, | |
| 120 .hljs-doctag, | |
| 121 .hljs-quote, | |
| 122 .hljs-keyword.hljs-atrule, | |
| 123 .hljs-regexp { | |
| 124 color: #88C0D0 | |
| 125 } | |
| 126 /* base0D - Functions, Methods, Attribute IDs, Headings */ | |
| 127 .hljs-function .hljs-title, | |
| 128 .hljs-attribute, | |
| 129 .ruby .hljs-property, | |
| 130 .hljs-title.function_, | |
| 131 .hljs-section { | |
| 132 color: #81A1C1 | |
| 133 } | |
| 134 /* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */ | |
| 135 /* .hljs-selector-id, */ | |
| 136 /* .hljs-selector-class, */ | |
| 137 /* .hljs-selector-attr, */ | |
| 138 /* .hljs-selector-pseudo, */ | |
| 139 .hljs-type, | |
| 140 .hljs-template-tag, | |
| 141 .diff .hljs-meta, | |
| 142 .hljs-keyword { | |
| 143 color: #B48EAD | |
| 144 } | |
| 145 .hljs-emphasis { | |
| 146 color: #B48EAD; | |
| 147 font-style: italic | |
| 148 } | |
| 149 /* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */ | |
| 150 /* | |
| 151 prevent top level .keyword and .string scopes | |
| 152 from leaking into meta by accident | |
| 153 */ | |
| 154 .hljs-meta, | |
| 155 .hljs-meta .hljs-keyword, | |
| 156 .hljs-meta .hljs-string { | |
| 157 color: #5E81AC | |
| 158 } | |
| 159 /* for v10 compatible themes */ | |
| 160 .hljs-meta .hljs-keyword, | |
| 161 .hljs-meta-keyword { | |
| 162 font-weight: bold | |
| 163 } |