PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.6.0
Code Block Pro – Beautiful Syntax Highlighting v1.6.0
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
code-block-pro / src / editor / editor.css

editor.css in Code Block Pro – Beautiful Syntax Highlighting 1.6.0, at src/editor/editor.css

50 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .code-block-pro-editor {
2 --tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
3 --tw-ring-offset-width: 0px;
4 --tw-ring-offset-color: transparent;
5 --tw-ring-color: var(--wp-admin-theme-color);
6 --tw-translate-x: 0;
7 --tw-translate-y: 0;
8 --tw-rotate: 0;
9 --tw-skew-x: 0;
10 --tw-skew-y: 0;
11 --tw-scale-x: 1;
12 --tw-scale-y: 1;
13 }
14 .code-block-pro-editor *,
15 .code-block-pro-editor *:after,
16 .code-block-pro-editor *:before {
17 box-sizing: border-box;
18 border: 0 solid #e5e7eb;
19 }
20 @tailwind base;
21 @tailwind components;
22 @tailwind utilities;
23 /* Add more styles here specific to the editor only */
24 .code-block-pro-editor .npm__react-simple-code-editor__textarea {
25 @apply shadow-none;
26 }
27 .code-block-pro-editor pre,
28 .code-block-pro-editor pre * {
29 font-family: inherit !important;
30 font-size: inherit !important;
31 line-height: inherit !important;
32 }
33 .code-block-pro-editor textarea,
34 .code-block-pro-editor pre {
35 @apply m-0 text-left;
36 direction: ltr !important;
37 }
38 .code-block-pro-editor code {
39 font-family: inherit !important;
40 @apply m-0 p-0 text-inherit bg-transparent;
41 }
42 @font-face {
43 font-family: 'Code-Pro-Fira-Code';
44 src: url('../fonts/Code-Pro-Fira-Code.woff2') format('woff2');
45 }
46 @font-face {
47 font-family: 'Code-Pro-JetBrains-Mono';
48 src: url('../fonts/Code-Pro-JetBrains-Mono.woff2') format('woff2');
49 }
50