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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
export const noteStyle = {
'.katex': { overflowX: 'scroll' },
h1: { color: 'black', lineHeight: '1.2', fontSize: '20', fontWeight: 'bold', marginBottom: 3 },
h2: {
fontSize: '18',
marginBottom: 2,
color: 'black',
},
h3: {
fontSize: '16',
fontWeight: '600 !important',
marginBottom: '.5em',
color: 'black',
},
h4: {
fontSize: '14',
fontWeight: '500 !important',
marginBottom: '.25em',
fontStyle: 'italic',
color: 'black',
},
ol: {
paddingLeft: '5',
},
ul: {
paddingLeft: '5',
},
p: {
fontSize: '14',
fontWeight: '500 !important',
paddingBottom: '.5em',
},
div: {
hyphens: 'auto !important',
},
'.title': {
textAlign: 'center',
marginBottom: '.2em',
},
'.subtitle': {
textAlign: 'center',
fontSize: 'medium',
fontWeight: 'bold',
marginTop: 0,
},
'.TODO': { color: 'red.500' },
'.equationContainer': {
display: 'table',
textAlign: 'center',
width: '100%',
},
'.equation': {
verticalAlign: 'middle',
},
'.equation-label': {
display: 'tableCell',
textAlign: 'right',
verticalAlign: 'middle',
},
'.inlinetask': {
padding: '10px',
border: '2px solid gray',
margin: '10px',
background: '#ffffcc',
},
'#org-div-home-and-up': {
textAlign: 'right',
fontSize: '70 % ',
whiteSpace: 'nowrap',
},
textarea: { overflowX: 'auto' },
'.linenr': { fontSize: 'smaller' },
'.org-info-js_info-navigation': { borderStyle: 'none' },
'#org-info-js_console-label': {
fontSize: '10px',
fontWeight: 'bold',
whiteSpace: 'nowrap',
},
'.org-info-js_search-highlight': {
backgroundColor: '#ffff00',
color: '#000000',
fontWeight: 'bold',
},
'.org-svg': { width: '90%' },
'.DONE': { color: 'green' },
'.priority': { fontFamily: 'monospace', color: 'orange' },
'.tag': {
backgroundColor: 'white',
fontFamily: 'monospace',
padding: '2px',
fontSize: '80%',
fontWeight: 'normal',
},
'.timestamp': { color: '#bebebe' },
'.timestamp-kwd': { color: '#5f9ea0' },
'.org-right': { marginLeft: 'auto', marginRight: '0px', textAlign: 'right' },
'.org-left': { marginLeft: '0px', marginRight: 'auto', textAlign: 'left' },
'.org-center': { marginLeft: 'auto', marginRight: 'auto', textAlign: 'center' },
'.underline': { textDecoration: 'underline' },
'#postamble p': { fontSize: '90%', margin: '.2em' },
'#preamble p': { fontSize: '90%', margin: '.2em' },
'p.verse': { marginLeft: '3%' },
pre: {
//border: '1px solid #e6e6e6',
borderRadius: '3px',
backgroundColor: 'white',
padding: '8pt',
fontFamily: 'monospace',
overflow: 'auto',
margin: '1.2em',
},
'pre.src': {
position: 'relative',
overflow: 'auto',
},
'pre.src:before': {
display: 'none',
position: 'absolute',
top: '-8px',
right: '12px',
padding: '3px',
//color: '#555',
backgroundColor: 'white',
},
'caption.t-above': { captionSide: 'top' },
'caption.t-bottom': { captionSide: 'bottom' },
'th.org-right': { textAlign: 'center' },
'th.org-left': { textAlign: 'center' },
'th.org-center': { textAlign: 'center' },
'td.org-right': { textAlign: 'right' },
'td.org-left': { textAlign: 'left' },
'td.org-center': { textAlign: 'center' },
'.footpara': { display: 'inline' },
'.footdef': { marginBottom: '1em' },
'.figure': { padding: '1em' },
'.figure p': { textAlign: 'center' },
}
export default noteStyle
|