-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor-style.css
More file actions
68 lines (60 loc) · 1.46 KB
/
Copy patheditor-style.css
File metadata and controls
68 lines (60 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/**
* Editor Styles for WordPress Block Editor
* Ensures the editor matches the frontend appearance
*
* @package CivicSignals
*/
/* Import theme fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Base Editor Styles */
.editor-styles-wrapper {
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #ffffff;
color: #1a1a1a;
padding: 20px;
}
.editor-styles-wrapper p,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
color: #1a1a1a;
}
/* Chapter Styles in Editor */
.editor-styles-wrapper .cs-chapter-label {
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #6c757d;
margin-bottom: 16px;
font-weight: 600;
opacity: 0.7;
}
.editor-styles-wrapper .cs-chapter-title {
font-size: clamp(32px, 5vw, 48px);
font-weight: 700;
margin-bottom: 24px;
color: #1a1a1a;
line-height: 1.1;
letter-spacing: -0.02em;
}
/* Card Styles in Editor */
.editor-styles-wrapper .cs-card,
.editor-styles-wrapper .cs-card-plain {
background: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.08);
padding: 32px 36px;
}
.editor-styles-wrapper .cs-metric-value {
font-size: 32px;
font-weight: 700;
color: #1a1a1a;
}
.editor-styles-wrapper .cs-metric-label {
font-size: 11px;
color: #6c757d;
text-transform: uppercase;
letter-spacing: 0.15em;
}