Mercurial
comparison third_party/highlight/styles/base16/cupertino.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: Cupertino | |
| 11 Author: Defman21 | |
| 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 cupertino | |
| 20 by the Highlight.js Base16 template builder. | |
| 21 | |
| 22 - https://github.com/highlightjs/base16-highlightjs | |
| 23 */ | |
| 24 /* | |
| 25 base00 #ffffff Default Background | |
| 26 base01 #c0c0c0 Lighter Background (Used for status bars, line number and folding marks) | |
| 27 base02 #c0c0c0 Selection Background | |
| 28 base03 #808080 Comments, Invisibles, Line Highlighting | |
| 29 base04 #808080 Dark Foreground (Used for status bars) | |
| 30 base05 #404040 Default Foreground, Caret, Delimiters, Operators | |
| 31 base06 #404040 Light Foreground (Not often used) | |
| 32 base07 #5e5e5e Light Background (Not often used) | |
| 33 base08 #c41a15 Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted | |
| 34 base09 #eb8500 Integers, Boolean, Constants, XML Attributes, Markup Link Url | |
| 35 base0A #826b28 Classes, Markup Bold, Search Text Background | |
| 36 base0B #007400 Strings, Inherited Class, Markup Code, Diff Inserted | |
| 37 base0C #318495 Support, Regular Expressions, Escape Characters, Markup Quotes | |
| 38 base0D #0000ff Functions, Methods, Attribute IDs, Headings | |
| 39 base0E #a90d91 Keywords, Storage, Selector, Markup Italic, Diff Changed | |
| 40 base0F #826b28 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: #404040; | |
| 52 background: #ffffff | |
| 53 } | |
| 54 .hljs::selection, | |
| 55 .hljs ::selection { | |
| 56 background-color: #c0c0c0; | |
| 57 color: #404040 | |
| 58 } | |
| 59 /* purposely do not highlight these things */ | |
| 60 .hljs-formula, | |
| 61 .hljs-params, | |
| 62 .hljs-property { | |
| 63 | |
| 64 } | |
| 65 /* base03 - #808080 - Comments, Invisibles, Line Highlighting */ | |
| 66 .hljs-comment { | |
| 67 color: #808080 | |
| 68 } | |
| 69 /* base04 - #808080 - Dark Foreground (Used for status bars) */ | |
| 70 .hljs-tag { | |
| 71 color: #808080 | |
| 72 } | |
| 73 /* base05 - #404040 - Default Foreground, Caret, Delimiters, Operators */ | |
| 74 .hljs-subst, | |
| 75 .hljs-punctuation, | |
| 76 .hljs-operator { | |
| 77 color: #404040 | |
| 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: #c41a15 | |
| 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: #eb8500 | |
| 99 } | |
| 100 /* base0A - Classes, Markup Bold, Search Text Background */ | |
| 101 .hljs-title, | |
| 102 .hljs-class .hljs-title, | |
| 103 .hljs-title.class_ { | |
| 104 color: #826b28 | |
| 105 } | |
| 106 .hljs-strong { | |
| 107 font-weight: bold; | |
| 108 color: #826b28 | |
| 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: #007400 | |
| 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: #318495 | |
| 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: #0000ff | |
| 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: #a90d91 | |
| 144 } | |
| 145 .hljs-emphasis { | |
| 146 color: #a90d91; | |
| 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: #826b28 | |
| 158 } | |
| 159 /* for v10 compatible themes */ | |
| 160 .hljs-meta .hljs-keyword, | |
| 161 .hljs-meta-keyword { | |
| 162 font-weight: bold | |
| 163 } |