-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.less
88 lines (67 loc) · 1.68 KB
/
style.less
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
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// style UI elements inside atom-text-editor
atom-text-editor .cursor {
// border-color: red;
}
/*
* markdown-preview-enhanced custom style
*/
.markdown-preview.markdown-preview {
// please write your custom style here
// eg:
// color: blue; // change font color
// font-size: 14px; // change font size
// remove space between line and lists
p { margin-bottom: 0; }
p + p { margin-top: 15px;}
// remove space between sub-lists
ul { margin-bottom: 0; }
ul + p { margin-top: 15px;}
// remove space between sub-lists
ol { margin-bottom: 0; }
ol + p { margin-top: 15px;}
// remove space when finishing sub-list
li > ul + p {margin: 0px;}
font-size: 18px;
// custom pdf output style
@media print {
font-size: 12px;
}
// custom prince pdf export style
&.prince {
}
// custom phantomjs png/jpeg export style
&.phantomjs-image {
}
//custom phantomjs pdf export style
&.phantomjs-pdf {
}
// custom presentation style
.preview-slides .slide,
&[data-presentation-mode] {
// eg
// background-color: #000;
}
}