-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
49 lines (47 loc) · 3.21 KB
/
styles.css
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
/* Base styles for zoom levels */
.zoom-10, .workspace-leaf-content.zoom-10 .markdown-preview-view, .workspace-leaf-content.zoom-10 .cm-content { font-size: 10% !important; }
.zoom-20, .workspace-leaf-content.zoom-20 .markdown-preview-view, .workspace-leaf-content.zoom-20 .cm-content { font-size: 20% !important; }
.zoom-30, .workspace-leaf-content.zoom-30 .markdown-preview-view, .workspace-leaf-content.zoom-30 .cm-content { font-size: 30% !important; }
.zoom-40, .workspace-leaf-content.zoom-40 .markdown-preview-view, .workspace-leaf-content.zoom-40 .cm-content { font-size: 40% !important; }
.zoom-50, .workspace-leaf-content.zoom-50 .markdown-preview-view, .workspace-leaf-content.zoom-50 .cm-content { font-size: 50% !important; }
.zoom-60, .workspace-leaf-content.zoom-60 .markdown-preview-view, .workspace-leaf-content.zoom-60 .cm-content { font-size: 60% !important; }
.zoom-70, .workspace-leaf-content.zoom-70 .markdown-preview-view, .workspace-leaf-content.zoom-70 .cm-content { font-size: 70% !important; }
.zoom-80, .workspace-leaf-content.zoom-80 .markdown-preview-view, .workspace-leaf-content.zoom-80 .cm-content { font-size: 80% !important; }
.zoom-90, .workspace-leaf-content.zoom-90 .markdown-preview-view, .workspace-leaf-content.zoom-90 .cm-content { font-size: 90% !important; }
.zoom-100, .workspace-leaf-content.zoom-100 .markdown-preview-view, .workspace-leaf-content.zoom-100 .cm-content { font-size: 100% !important; }
/* Heading styles using em units with increased specificity */
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h1,
.workspace-leaf-content[class*="zoom-"] .cm-header-1 {
font-size: 2em !important;
}
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h2,
.workspace-leaf-content[class*="zoom-"] .cm-header-2 {
font-size: 1.5em !important;
}
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h3,
.workspace-leaf-content[class*="zoom-"] .cm-header-3 {
font-size: 1.3em !important;
}
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h4,
.workspace-leaf-content[class*="zoom-"] .cm-header-4 {
font-size: 1.2em !important;
}
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h5,
.workspace-leaf-content[class*="zoom-"] .cm-header-5 {
font-size: 1.1em !important;
}
.workspace-leaf-content[class*="zoom-"] .markdown-preview-view h6,
.workspace-leaf-content[class*="zoom-"] .cm-header-6 {
font-size: 1em !important;
}
/* Styles for .cm-lapel with absolute scaling */
.workspace-leaf-content.zoom-10 .cm-lapel { font-size: 11px !important; }
.workspace-leaf-content.zoom-20 .cm-lapel { font-size: 11px !important; }
.workspace-leaf-content.zoom-30 .cm-lapel { font-size: 11px !important; }
.workspace-leaf-content.zoom-40 .cm-lapel { font-size: 11px !important; }
.workspace-leaf-content.zoom-50 .cm-lapel { font-size: 11px !important; }
.workspace-leaf-content.zoom-60 .cm-lapel { font-size: 12px !important; }
.workspace-leaf-content.zoom-70 .cm-lapel { font-size: 13px !important; }
.workspace-leaf-content.zoom-80 .cm-lapel { font-size: 14px !important; }
.workspace-leaf-content.zoom-90 .cm-lapel { font-size: 15px !important; }
.workspace-leaf-content.zoom-100 .cm-lapel { font-size: 16px !important; }