github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/themes/docsy/static/css/prism.css (about) 1 /* PrismJS 1.21.0 2 https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard */ 3 /** 4 * prism.js default theme for JavaScript, CSS and HTML 5 * Based on dabblet (http://dabblet.com) 6 * @author Lea Verou 7 */ 8 9 code[class*="language-"], 10 pre[class*="language-"] { 11 color: black; 12 background: none; 13 text-shadow: 0 1px white; 14 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; 15 font-size: 1em; 16 text-align: left; 17 white-space: pre; 18 word-spacing: normal; 19 word-break: normal; 20 word-wrap: normal; 21 line-height: 1.5; 22 23 -moz-tab-size: 4; 24 -o-tab-size: 4; 25 tab-size: 4; 26 27 -webkit-hyphens: none; 28 -moz-hyphens: none; 29 -ms-hyphens: none; 30 hyphens: none; 31 } 32 33 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, 34 code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { 35 text-shadow: none; 36 background: #b3d4fc; 37 } 38 39 pre[class*="language-"]::selection, pre[class*="language-"] ::selection, 40 code[class*="language-"]::selection, code[class*="language-"] ::selection { 41 text-shadow: none; 42 background: #b3d4fc; 43 } 44 45 @media print { 46 code[class*="language-"], 47 pre[class*="language-"] { 48 text-shadow: none; 49 } 50 } 51 52 /* Code blocks */ 53 pre[class*="language-"] { 54 padding: 1em; 55 margin: .5em 0; 56 overflow: auto; 57 } 58 59 :not(pre) > code[class*="language-"], 60 pre[class*="language-"] { 61 background: #f5f2f0; 62 } 63 64 /* Inline code */ 65 :not(pre) > code[class*="language-"] { 66 padding: .1em; 67 border-radius: .3em; 68 white-space: normal; 69 } 70 71 .token.comment, 72 .token.prolog, 73 .token.doctype, 74 .token.cdata { 75 color: slategray; 76 } 77 78 .token.punctuation { 79 color: #999; 80 } 81 82 .token.namespace { 83 opacity: .7; 84 } 85 86 .token.property, 87 .token.tag, 88 .token.boolean, 89 .token.number, 90 .token.constant, 91 .token.symbol, 92 .token.deleted { 93 color: #905; 94 } 95 96 .token.selector, 97 .token.attr-name, 98 .token.string, 99 .token.char, 100 .token.builtin, 101 .token.inserted { 102 color: #690; 103 } 104 105 .token.operator, 106 .token.entity, 107 .token.url, 108 .language-css .token.string, 109 .style .token.string { 110 color: #9a6e3a; 111 /* This background color was intended by the author of this theme. */ 112 background: hsla(0, 0%, 100%, .5); 113 } 114 115 .token.atrule, 116 .token.attr-value, 117 .token.keyword { 118 color: #07a; 119 } 120 121 .token.function, 122 .token.class-name { 123 color: #DD4A68; 124 } 125 126 .token.regex, 127 .token.important, 128 .token.variable { 129 color: #e90; 130 } 131 132 .token.important, 133 .token.bold { 134 font-weight: bold; 135 } 136 .token.italic { 137 font-style: italic; 138 } 139 140 .token.entity { 141 cursor: help; 142 } 143 144 div.code-toolbar { 145 position: relative; 146 } 147 148 div.code-toolbar > .toolbar { 149 position: absolute; 150 top: .3em; 151 right: .2em; 152 transition: opacity 0.3s ease-in-out; 153 opacity: 0; 154 } 155 156 div.code-toolbar:hover > .toolbar { 157 opacity: 1; 158 } 159 160 /* Separate line b/c rules are thrown out if selector is invalid. 161 IE11 and old Edge versions don't support :focus-within. */ 162 div.code-toolbar:focus-within > .toolbar { 163 opacity: 1; 164 } 165 166 div.code-toolbar > .toolbar .toolbar-item { 167 display: inline-block; 168 } 169 170 div.code-toolbar > .toolbar a { 171 cursor: pointer; 172 } 173 174 div.code-toolbar > .toolbar button { 175 background: none; 176 border: 0; 177 color: inherit; 178 font: inherit; 179 line-height: normal; 180 overflow: visible; 181 padding: 0; 182 -webkit-user-select: none; /* for button */ 183 -moz-user-select: none; 184 -ms-user-select: none; 185 } 186 187 div.code-toolbar > .toolbar a, 188 div.code-toolbar > .toolbar button, 189 div.code-toolbar > .toolbar span { 190 color: #bbb; 191 font-size: .8em; 192 padding: 0 .5em; 193 background: #f5f2f0; 194 background: rgba(224, 224, 224, 0.2); 195 box-shadow: 0 2px 0 0 rgba(0,0,0,0.2); 196 border-radius: .5em; 197 } 198 199 div.code-toolbar > .toolbar a:hover, 200 div.code-toolbar > .toolbar a:focus, 201 div.code-toolbar > .toolbar button:hover, 202 div.code-toolbar > .toolbar button:focus, 203 div.code-toolbar > .toolbar span:hover, 204 div.code-toolbar > .toolbar span:focus { 205 color: inherit; 206 text-decoration: none; 207 } 208