-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.less
83 lines (63 loc) · 1.46 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
/* Please visit the URL below for more information: */
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
.markdown-preview.markdown-preview {
// modify your style here
// eg: background-color: blue;
h1,h2,h3,h4,h5,h6{
font-weight:bold;
color:purple;
line-height:1em;
}
h2,h3{
border-bottom: 4px solid #f7f7f7;
}
.title{
font-weight:bold;
font-size:1.8em;
text-align: center;
}
.author{
text-align: center
}
.date{
text-align: center
}
h4,h5,h6{ font-weight: bold; }
h1{ font-size:1.5em; }
h2{ font-size:1.3em; }
h3{ font-size:1.1em; }
h4{ font-size:1em; }
h5{ font-size:1em; }
h6{ font-size:0.9em; }
h1 { counter-increment: h1 }
h1 {
counter-reset: h2
}
h2 {
counter-reset: h3
}
h3 {
counter-reset: h4
}
h4 {
counter-reset: h5
}
h5 {
counter-reset: h6
}
h1:before {
content: counter(h1) " "
}
h2:before {
counter-increment: h2;
content: counter(h1) "." counter(h2) " "
}
h3:before {
counter-increment: h3;
content: counter(h1) "." counter(h2) "." counter(h3) " "
}
h4:before {
counter-increment: h4;
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) " "
}
}