PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / gutenberg / ai-shared / preview.scss

preview.scss in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/gutenberg/ai-shared/preview.scss

59 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // ===== ai-shared/preview.scss — typography for the rendered HTML preview =====
2 // Shared by the Write-with-AI and Edit-with-AI bundles (the `.bd-ai-doc-preview`
3 // surface rendered by ai-shared/PreviewAccept.js). Requires tokens.scss.
4
5 .bd-ai-scope {
6 .bd-ai-doc-preview {
7 h1, h2, h3, h4 {
8 color: var(--ink);
9 line-height: 1.3;
10 margin: 18px 0 8px;
11 font-weight: 700;
12 }
13 h2 { font-size: 17px; }
14 h3 { font-size: 15px; }
15 p { margin: 0 0 10px; }
16 ul, ol { margin: 0 0 10px; padding-left: 22px; }
17 li { margin: 4px 0; }
18 a { color: var(--ai); }
19 code {
20 background: #f1f4f8;
21 padding: 1px 5px;
22 border-radius: 4px;
23 font-size: 0.9em;
24 }
25 pre {
26 background: #0f172a;
27 color: #e2e8f0;
28 padding: 12px 14px;
29 border-radius: 8px;
30 overflow: auto;
31 font-size: 12.5px;
32 }
33 table {
34 border-collapse: collapse;
35 width: 100%;
36 margin: 0 0 12px;
37 font-size: 13px;
38 }
39 th, td {
40 border: 1px solid var(--border);
41 padding: 6px 10px;
42 text-align: left;
43 }
44 th { background: #f4f6f8; font-weight: 700; }
45 blockquote {
46 margin: 0 0 12px;
47 padding: 6px 14px;
48 border-left: 3px solid var(--ai-100);
49 color: var(--muted);
50 }
51 .highlight {
52 background: linear-gradient(transparent 60%, var(--ai-50) 60%);
53 color: inherit;
54 }
55 > *:first-child { margin-top: 0; }
56 > *:last-child { margin-bottom: 0; }
57 }
58 }
59