-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.less
108 lines (89 loc) · 2.09 KB
/
main.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/** Globales Cyfex CSS für Markdown */
@import (inline) "fonts.less";
@import "abstract.less";
@import "acknowledgement.less";
@import "button.less";
@import "code.less";
@import "collapsable-list.less";
@import "defines.less";
@import "github.less";
@import "header.less";
@import "images.less";
@import "links.less";
@import "lists.less";
@import "math.less";
@import "numbered-headings.less";
@import "quotes.less";
@import "references.less";
@import "rulers.less";
@import "scrollbar.less";
@import "sidenav.less";
@import "table.less";
@import "toc.less";
.define-title-style() {
h1,
h2,
h3,
h4,
h5,
h6 {
color: @main-heading-color;
font-family: @main-font-headers, "Fira Sans", "Helvetica", sans-serif;
font-weight: bold;
}
}
.define-markdown-style() {
/* base style */
.github(#1d1d1d, #fdf6e3, #08c, @main-font-text, @main-font-size, @main-line-height);
.define-title-style();
p {
text-align: justify;
text-justify: auto;
}
.define-header();
.define-acknowledgement();
.define-abstract();
.define-images();
.define-math();
.define-definition-list();
.define-quotes();
.define-blockquote();
.define-tables();
.define-rulers();
.define-references();
// custom styles applied
// with pandoc attributing in 2.10
.define-centering();
.define-code();
}
html {
.define-scrollbar();
#main {
font-family: @main-font-text, "Fira Sans", "Helvetica", serif;
.define-button();
.define-sidenav();
.define-links();
#sidenav-content > #TOC {
.define-toc-style(@main-heading-color, 1.2*@main-font-size);
.define-collapsable-list(18pt, @topShift:2.5pt);
padding-left: 3ex;
padding-right: 2ex;
padding-bottom: 3em;
}
}
#main-markdown {
max-width: 21cm - 2 * 1.5cm;
margin: auto;
#nav-content > #TOC {
.define-toc-style(@main-heading-color, @main-font-size);
}
.define-markdown-style();
}
#main-markdown-numbered {
max-width: 21cm - 2 * 1.5cm;
margin: auto;
.define-markdown-style();
.define-numbered-headings();
.define-numbered-images();
}
}