GeezerVison is showing github.com — * update prism.js style · Goooler/AboutLibraries@0bb4d2c
File treeExpand file treeCollapse file tree Open diff view settings DEV/definition-file-builder
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: DEV/definition-file-builder/css/prism.css +18-8Lines changed: 18 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,7 +15,7 @@ pre[class*="language-"] { | 15 | 15 | white-space: pre; | 16 | 16 | word-spacing: normal; | 17 | 17 | word-break: normal; | 18 | | - | | 18 | + line-height: 1.5; | 19 | 19 |
| 20 | 20 | -moz-tab-size: 4; | 21 | 21 | -o-tab-size: 4; | @@ -84,25 +84,27 @@ pre[class*="language-"] { | 84 | 84 | .token.boolean, | 85 | 85 | .token.number, | 86 | 86 | .token.constant, | 87 | | -.token.symbol { | | 87 | +.token.symbol, | | 88 | +.token.deleted { | 88 | 89 | color: #905; | 89 | 90 | } | 90 | 91 |
| 91 | 92 | .token.selector, | 92 | 93 | .token.attr-name, | 93 | 94 | .token.string, | 94 | | -.token.builtin { | | 95 | +.token.char, | | 96 | +.token.builtin, | | 97 | +.token.inserted { | 95 | 98 | color: #690; | 96 | 99 | } | 97 | 100 |
| 98 | 101 | .token.operator, | 99 | 102 | .token.entity, | 100 | 103 | .token.url, | 101 | 104 | .language-css .token.string, | 102 | | -.style .token.string, | 103 | | -.token.variable { | | 105 | +.style .token.string { | 104 | 106 | color: #a67f59; | 105 | | - background: hsla(0,0%,100%,.5); | | 107 | + background: hsla(0, 0%, 100%, .5); | 106 | 108 | } | 107 | 109 |
| 108 | 110 | .token.atrule, | @@ -111,15 +113,23 @@ pre[class*="language-"] { | 111 | 113 | color: #07a; | 112 | 114 | } | 113 | 115 |
| | 116 | +.token.function { | | 117 | + color: #DD4A68; | | 118 | +} | 114 | 119 |
| 115 | 120 | .token.regex, | 116 | | -.token.important { | | 121 | +.token.important, | | 122 | +.token.variable { | 117 | 123 | color: #e90; | 118 | 124 | } | 119 | 125 |
| 120 | | -.token.important { | | 126 | +.token.important, | | 127 | +.token.bold { | 121 | 128 | font-weight: bold; | 122 | 129 | } | | 130 | +.token.italic { | | 131 | + font-style: italic; | | 132 | +} | 123 | 133 |
| 124 | 134 | .token.entity { | 125 | 135 | cursor: help; | |
Collapse file Copy file name to clipboardExpand all lines: DEV/definition-file-builder/js/prism.js +3-3Lines changed: 3 additions & 3 deletions
|