giblish 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.adoc +67 -0
- data/Rakefile +11 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/giblish +7 -0
- data/lib/giblish.rb +22 -0
- data/lib/giblish/application.rb +34 -0
- data/lib/giblish/buildindex.rb +454 -0
- data/lib/giblish/cmdline.rb +190 -0
- data/lib/giblish/core.rb +375 -0
- data/lib/giblish/pathtree.rb +122 -0
- data/lib/giblish/utils.rb +149 -0
- data/lib/giblish/version.rb +3 -0
- data/resources/css/giblish.css +1979 -0
- data/resources/fonts/Ubuntu-B.ttf +0 -0
- data/resources/fonts/Ubuntu-BI.ttf +0 -0
- data/resources/fonts/Ubuntu-R.ttf +0 -0
- data/resources/fonts/Ubuntu-RI.ttf +0 -0
- data/resources/fonts/mplus1p-regular-fallback.ttf +0 -0
- data/resources/images/giblish_logo.png +0 -0
- data/resources/images/giblish_logo.svg +179 -0
- data/resources/themes/giblish.yml +327 -0
- metadata +154 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,179 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
10
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13
|
+
width="210mm"
|
14
|
+
height="297mm"
|
15
|
+
viewBox="0 0 744.09448819 1052.3622047"
|
16
|
+
id="svg2"
|
17
|
+
version="1.1"
|
18
|
+
inkscape:version="0.91 r13725"
|
19
|
+
sodipodi:docname="giblish_logo.svg">
|
20
|
+
<defs
|
21
|
+
id="defs4">
|
22
|
+
<linearGradient
|
23
|
+
inkscape:collect="always"
|
24
|
+
id="linearGradient5056">
|
25
|
+
<stop
|
26
|
+
style="stop-color:#78b670;stop-opacity:1;"
|
27
|
+
offset="0"
|
28
|
+
id="stop5058" />
|
29
|
+
<stop
|
30
|
+
style="stop-color:#78b670;stop-opacity:0;"
|
31
|
+
offset="1"
|
32
|
+
id="stop5060" />
|
33
|
+
</linearGradient>
|
34
|
+
<linearGradient
|
35
|
+
inkscape:collect="always"
|
36
|
+
id="linearGradient5048">
|
37
|
+
<stop
|
38
|
+
style="stop-color:#f3b433;stop-opacity:1;"
|
39
|
+
offset="0"
|
40
|
+
id="stop5050" />
|
41
|
+
<stop
|
42
|
+
style="stop-color:#f3b433;stop-opacity:0;"
|
43
|
+
offset="1"
|
44
|
+
id="stop5052" />
|
45
|
+
</linearGradient>
|
46
|
+
<linearGradient
|
47
|
+
inkscape:collect="always"
|
48
|
+
id="linearGradient5032">
|
49
|
+
<stop
|
50
|
+
style="stop-color:#5659c3;stop-opacity:1;"
|
51
|
+
offset="0"
|
52
|
+
id="stop5034" />
|
53
|
+
<stop
|
54
|
+
style="stop-color:#5659c3;stop-opacity:0;"
|
55
|
+
offset="1"
|
56
|
+
id="stop5036" />
|
57
|
+
</linearGradient>
|
58
|
+
<inkscape:perspective
|
59
|
+
sodipodi:type="inkscape:persp3d"
|
60
|
+
inkscape:vp_x="-10.101527 : 255.4602 : 1"
|
61
|
+
inkscape:vp_y="0 : 999.99998 : 0"
|
62
|
+
inkscape:vp_z="651.16045 : 467.59224 : 1"
|
63
|
+
inkscape:persp3d-origin="279.11321 : 292.19854 : 1"
|
64
|
+
id="perspective4194" />
|
65
|
+
<inkscape:perspective
|
66
|
+
sodipodi:type="inkscape:persp3d"
|
67
|
+
inkscape:vp_x="82.832509 : 314.04906 : 1"
|
68
|
+
inkscape:vp_y="0 : 1000 : 0"
|
69
|
+
inkscape:vp_z="744.09449 : 526.1811 : 1"
|
70
|
+
inkscape:persp3d-origin="372.04724 : 350.7874 : 1"
|
71
|
+
id="perspective4136" />
|
72
|
+
<linearGradient
|
73
|
+
inkscape:collect="always"
|
74
|
+
xlink:href="#linearGradient5032"
|
75
|
+
id="linearGradient5038"
|
76
|
+
x1="92.434036"
|
77
|
+
y1="233.12849"
|
78
|
+
x2="388.39857"
|
79
|
+
y2="233.12849"
|
80
|
+
gradientUnits="userSpaceOnUse"
|
81
|
+
gradientTransform="matrix(1,0,0,0.75663717,0,69.239885)" />
|
82
|
+
<linearGradient
|
83
|
+
inkscape:collect="always"
|
84
|
+
xlink:href="#linearGradient5048"
|
85
|
+
id="linearGradient5054"
|
86
|
+
x1="413.66257"
|
87
|
+
y1="141.20461"
|
88
|
+
x2="325.76913"
|
89
|
+
y2="141.20461"
|
90
|
+
gradientUnits="userSpaceOnUse"
|
91
|
+
gradientTransform="matrix(1,0,0,0.74999999,2,54.534662)" />
|
92
|
+
<linearGradient
|
93
|
+
inkscape:collect="always"
|
94
|
+
xlink:href="#linearGradient5056"
|
95
|
+
id="linearGradient5062"
|
96
|
+
x1="307.0864"
|
97
|
+
y1="318.99146"
|
98
|
+
x2="308.09653"
|
99
|
+
y2="163.42796"
|
100
|
+
gradientUnits="userSpaceOnUse"
|
101
|
+
gradientTransform="matrix(1,0,0,0.80128206,0,40.476069)" />
|
102
|
+
</defs>
|
103
|
+
<sodipodi:namedview
|
104
|
+
id="base"
|
105
|
+
pagecolor="#ffffff"
|
106
|
+
bordercolor="#666666"
|
107
|
+
borderopacity="1.0"
|
108
|
+
inkscape:pageopacity="0.0"
|
109
|
+
inkscape:pageshadow="2"
|
110
|
+
inkscape:zoom="0.98994949"
|
111
|
+
inkscape:cx="356.84935"
|
112
|
+
inkscape:cy="715.0064"
|
113
|
+
inkscape:document-units="px"
|
114
|
+
inkscape:current-layer="layer1"
|
115
|
+
showgrid="false"
|
116
|
+
inkscape:window-width="2560"
|
117
|
+
inkscape:window-height="1416"
|
118
|
+
inkscape:window-x="0"
|
119
|
+
inkscape:window-y="24"
|
120
|
+
inkscape:window-maximized="1" />
|
121
|
+
<metadata
|
122
|
+
id="metadata7">
|
123
|
+
<rdf:RDF>
|
124
|
+
<cc:Work
|
125
|
+
rdf:about="">
|
126
|
+
<dc:format>image/svg+xml</dc:format>
|
127
|
+
<dc:type
|
128
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
129
|
+
<dc:title></dc:title>
|
130
|
+
</cc:Work>
|
131
|
+
</rdf:RDF>
|
132
|
+
</metadata>
|
133
|
+
<g
|
134
|
+
inkscape:label="Layer 1"
|
135
|
+
inkscape:groupmode="layer"
|
136
|
+
id="layer1">
|
137
|
+
<rect
|
138
|
+
style="opacity:1;fill:url(#linearGradient5038);fill-opacity:1;stroke:none"
|
139
|
+
id="rect4196"
|
140
|
+
width="294.96454"
|
141
|
+
height="172.73608"
|
142
|
+
x="92.934036"
|
143
|
+
y="159.26552"
|
144
|
+
inkscape:export-xdpi="41.47076"
|
145
|
+
inkscape:export-ydpi="41.47076" />
|
146
|
+
<rect
|
147
|
+
style="opacity:1;fill:url(#linearGradient5062);fill-opacity:1;stroke:none"
|
148
|
+
id="rect4198"
|
149
|
+
width="357.59399"
|
150
|
+
height="126.26907"
|
151
|
+
x="135.36044"
|
152
|
+
y="171.42796"
|
153
|
+
inkscape:export-xdpi="41.47076"
|
154
|
+
inkscape:export-ydpi="41.47076" />
|
155
|
+
<rect
|
156
|
+
style="opacity:1;fill:url(#linearGradient5054);fill-opacity:1;stroke:none"
|
157
|
+
id="rect4200"
|
158
|
+
width="90.913727"
|
159
|
+
height="115.15739"
|
160
|
+
x="327.26913"
|
161
|
+
y="114.98125"
|
162
|
+
inkscape:export-xdpi="41.47076"
|
163
|
+
inkscape:export-ydpi="41.47076" />
|
164
|
+
<text
|
165
|
+
xml:space="preserve"
|
166
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
167
|
+
x="142.87822"
|
168
|
+
y="257.16913"
|
169
|
+
id="text5083"
|
170
|
+
sodipodi:linespacing="125%"
|
171
|
+
inkscape:export-xdpi="41.47076"
|
172
|
+
inkscape:export-ydpi="41.47076"><tspan
|
173
|
+
sodipodi:role="line"
|
174
|
+
id="tspan5085"
|
175
|
+
x="142.87822"
|
176
|
+
y="257.16913"
|
177
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:100px;line-height:125%;font-family:Sawasdee;-inkscape-font-specification:'Sawasdee, Normal';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1">Giblish</tspan></text>
|
178
|
+
</g>
|
179
|
+
</svg>
|
@@ -0,0 +1,327 @@
|
|
1
|
+
# define colors
|
2
|
+
primecolor: [114,165,83]
|
3
|
+
primelightcolor: [192,236,188]
|
4
|
+
primedarkcolor: [81,109,68]
|
5
|
+
secondcolor: [162,101,194]
|
6
|
+
secondlightcolor: [239,207,228]
|
7
|
+
seconddarkcolor: [134,86,111]
|
8
|
+
thirdcolor: [197,124,61]
|
9
|
+
thirdlightcolor: [234,224,180]
|
10
|
+
thirddarkcolor: [129,93,66]
|
11
|
+
linkcolor: [96,151,206]
|
12
|
+
linkdarkcolor: [82,102,150]
|
13
|
+
white: [255, 255, 255]
|
14
|
+
black: [0, 0, 0]
|
15
|
+
|
16
|
+
# define fonts
|
17
|
+
font:
|
18
|
+
catalog:
|
19
|
+
# The default giblish font
|
20
|
+
giblish:
|
21
|
+
normal: Ubuntu-R.ttf
|
22
|
+
bold: Ubuntu-B.ttf
|
23
|
+
italic: Ubuntu-RI.ttf
|
24
|
+
bold_italic: Ubuntu-BI.ttf
|
25
|
+
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic,
|
26
|
+
# Vietnamese, Japanese & an assortment of symbols
|
27
|
+
# It also provides arrows for ->, <-, => and <= replacements in case these
|
28
|
+
# glyphs are missing from font
|
29
|
+
M+ 1p Fallback:
|
30
|
+
normal: mplus1p-regular-fallback.ttf
|
31
|
+
bold: mplus1p-regular-fallback.ttf
|
32
|
+
italic: mplus1p-regular-fallback.ttf
|
33
|
+
bold_italic: mplus1p-regular-fallback.ttf
|
34
|
+
fallbacks:
|
35
|
+
- M+ 1p Fallback
|
36
|
+
main_font_family: giblish
|
37
|
+
|
38
|
+
topmargin: 2cm
|
39
|
+
rightmargin: 2cm
|
40
|
+
bottommargin: 2cm
|
41
|
+
leftmargin: 2cm
|
42
|
+
# define page properties
|
43
|
+
page:
|
44
|
+
background_color: $white
|
45
|
+
layout: portrait
|
46
|
+
margin: [$topmargin, $rightmargin, $bottommargin, $leftmargin]
|
47
|
+
# margin_inner and margin_outer keys are used for recto/verso print margins when media=press
|
48
|
+
margin_inner: 2.2cm
|
49
|
+
margin_outer: 1.4cm
|
50
|
+
size: A4
|
51
|
+
base:
|
52
|
+
align: justify
|
53
|
+
# color as hex string (leading # is optional)
|
54
|
+
font_color: 333333
|
55
|
+
# color as RGB array
|
56
|
+
#font_color: [51, 51, 51]
|
57
|
+
# color as CMYK array (approximated)
|
58
|
+
#font_color: [0, 0, 0, 0.92]
|
59
|
+
#font_color: [0, 0, 0, 92%]
|
60
|
+
font_family: $main_font_family
|
61
|
+
# choose one of these font_size/line_height_length combinations
|
62
|
+
#font_size: 14
|
63
|
+
#line_height_length: 20
|
64
|
+
#font_size: 11.25
|
65
|
+
#line_height_length: 18
|
66
|
+
#font_size: 11.2
|
67
|
+
#line_height_length: 16
|
68
|
+
font_size: 10.5
|
69
|
+
line_height_length: 12
|
70
|
+
# correct line height for Noto Serif metrics
|
71
|
+
#line_height_length: 12
|
72
|
+
#font_size: 11.25
|
73
|
+
#line_height_length: 18
|
74
|
+
line_height: $base_line_height_length / $base_font_size
|
75
|
+
font_size_large: round($base_font_size * 1.25)
|
76
|
+
font_size_small: round($base_font_size * 0.85)
|
77
|
+
font_size_min: $base_font_size * 0.75
|
78
|
+
font_style: normal
|
79
|
+
border_color: $primecolor
|
80
|
+
border_radius: 4
|
81
|
+
border_width: 0.25
|
82
|
+
# FIXME vertical_rhythm is weird; we should think in terms of ems
|
83
|
+
vertical_rhythm: $base_line_height_length * 2 / 3
|
84
|
+
# correct line height for Noto Serif metrics (comes with built-in line height)
|
85
|
+
#vertical_rhythm: $base_line_height_length
|
86
|
+
horizontal_rhythm: $base_line_height_length
|
87
|
+
# QUESTION should vertical_spacing be block_spacing instead?
|
88
|
+
vertical_spacing: $vertical_rhythm
|
89
|
+
link:
|
90
|
+
font_color: $linkcolor
|
91
|
+
# literal is currently used for inline monospaced in prose and table cells
|
92
|
+
literal:
|
93
|
+
font_color: $seconddarkcolor
|
94
|
+
font_family: M+ 1p Fallback
|
95
|
+
menu_caret_content: " <font size=\"1.15em\"><color rgb=\"b12146\">\u203a</color></font> "
|
96
|
+
heading:
|
97
|
+
align: left
|
98
|
+
font_color: $primecolor
|
99
|
+
font_color: $base_font_color
|
100
|
+
font_family: $base_font_family
|
101
|
+
font_style: bold
|
102
|
+
# h1 is used for part titles (book doctype only)
|
103
|
+
h1_font_size: floor($base_font_size * 2.6)
|
104
|
+
# h2 is used for chapter titles (book doctype only)
|
105
|
+
h2_font_size: floor($base_font_size * 1.7)
|
106
|
+
h2_font_color: $primecolor
|
107
|
+
h3_font_size: round($base_font_size_large)
|
108
|
+
h3_font_color: $primecolor
|
109
|
+
h4_font_size: $base_font_size_large
|
110
|
+
h4_font_color: $primecolor
|
111
|
+
h5_font_size: $base_font_size
|
112
|
+
h5_font_color: $primecolor
|
113
|
+
h6_font_size: $base_font_size_small
|
114
|
+
h6_font_color: $primecolor
|
115
|
+
#line_height: 1.4
|
116
|
+
# correct line height for Noto Serif metrics (comes with built-in line height)
|
117
|
+
line_height: 1
|
118
|
+
margin_top: $vertical_rhythm * 0.4
|
119
|
+
margin_bottom: $vertical_rhythm * 0.9
|
120
|
+
title_page:
|
121
|
+
align: right
|
122
|
+
logo:
|
123
|
+
top: 1%
|
124
|
+
image: image:../images/giblish_logo.png[pdfwidth=20%]
|
125
|
+
title:
|
126
|
+
top: 55%
|
127
|
+
font_size: $heading_h1_font_size
|
128
|
+
font_color: $primecolor
|
129
|
+
line_height: 1.3
|
130
|
+
subtitle:
|
131
|
+
font_size: $heading_h3_font_size
|
132
|
+
font_color: $secondcolor
|
133
|
+
font_style: bold_italic
|
134
|
+
line_height: 1
|
135
|
+
authors:
|
136
|
+
margin_top: $base_font_size * 1.25
|
137
|
+
font_size: $base_font_size_large
|
138
|
+
font_color: 181818
|
139
|
+
revision:
|
140
|
+
margin_top: $base_font_size * 1.25
|
141
|
+
block:
|
142
|
+
margin_top: 0
|
143
|
+
margin_bottom: $vertical_rhythm
|
144
|
+
caption:
|
145
|
+
align: left
|
146
|
+
font_style: italic
|
147
|
+
font_color: $primecolor
|
148
|
+
# FIXME perhaps set line_height instead of / in addition to margins?
|
149
|
+
margin_inside: $vertical_rhythm / 3
|
150
|
+
#margin_inside: $vertical_rhythm / 4
|
151
|
+
margin_outside: 0
|
152
|
+
lead:
|
153
|
+
font_size: $base_font_size_large
|
154
|
+
line_height: 1.4
|
155
|
+
abstract:
|
156
|
+
border_color: $primecolor
|
157
|
+
border_width: 2
|
158
|
+
font_color: 5c6266
|
159
|
+
font_size: $base_font_size * 0.9
|
160
|
+
font_style: italic
|
161
|
+
first_line_font_style: bold
|
162
|
+
line_height: $base_line_height
|
163
|
+
padding: [0cm, 5cm, 0cm, 1cm]
|
164
|
+
admonition:
|
165
|
+
padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
|
166
|
+
border_color: $base_border_color
|
167
|
+
column_rule:
|
168
|
+
color: $primecolor
|
169
|
+
width: $base_border_width * 2
|
170
|
+
label:
|
171
|
+
text_transform: none
|
172
|
+
font_style: bold
|
173
|
+
vertical_align: middle
|
174
|
+
icon:
|
175
|
+
note:
|
176
|
+
name: fa-info-circle
|
177
|
+
stroke_color: $thirdcolor
|
178
|
+
tip:
|
179
|
+
name: fa-wrench
|
180
|
+
stroke_color: $thirdcolor
|
181
|
+
important:
|
182
|
+
name: fa-exclamation-triangle
|
183
|
+
stroke_color: $thirdcolor
|
184
|
+
warning:
|
185
|
+
name: fa-bullhorn
|
186
|
+
stroke_color: $thirdcolor
|
187
|
+
caution:
|
188
|
+
name: fa-life-ring
|
189
|
+
stroke_color: $thirdcolor
|
190
|
+
|
191
|
+
blockquote:
|
192
|
+
font_color: $base_font_color
|
193
|
+
font_size: $base_font_size
|
194
|
+
border_color: $base_border_color
|
195
|
+
border_width: $base_border_width * 2
|
196
|
+
padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_width / 2]
|
197
|
+
cite_font_size: $base_font_size_small
|
198
|
+
cite_font_color: 999999
|
199
|
+
# code is used for source blocks (perhaps change to source or listing?)
|
200
|
+
code:
|
201
|
+
font_color: $base_font_color
|
202
|
+
font_family: $literal_font_family
|
203
|
+
font_size: ceil($base_font_size)
|
204
|
+
padding: $code_font_size
|
205
|
+
line_height: 1.25
|
206
|
+
background_color: f5f5f5
|
207
|
+
border_color: cccccc
|
208
|
+
border_radius: $base_border_radius
|
209
|
+
border_width: 0.75
|
210
|
+
conum:
|
211
|
+
font_family: $main_font_family
|
212
|
+
font_color: $literal_font_color
|
213
|
+
font_size: $base_font_size
|
214
|
+
line_height: 4 / 3
|
215
|
+
example:
|
216
|
+
border_color: $base_border_color
|
217
|
+
border_radius: $base_border_radius
|
218
|
+
border_width: 0.25
|
219
|
+
background_color: $thirdlightcolor
|
220
|
+
# FIXME reenable margin bottom once margin collapsing is implemented
|
221
|
+
padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
|
222
|
+
image:
|
223
|
+
align: left
|
224
|
+
prose:
|
225
|
+
margin_top: $block_margin_top
|
226
|
+
margin_bottom: $block_margin_bottom * 0.9
|
227
|
+
sidebar:
|
228
|
+
border_color: $page_background_color
|
229
|
+
border_radius: $base_border_radius
|
230
|
+
border_width: $base_border_width
|
231
|
+
background_color: $primelightcolor
|
232
|
+
# FIXME reenable margin bottom once margin collapsing is implemented
|
233
|
+
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
|
234
|
+
title:
|
235
|
+
align: center
|
236
|
+
font_color: $heading_font_color
|
237
|
+
font_family: $heading_font_family
|
238
|
+
font_size: $heading_h4_font_size
|
239
|
+
font_style: $heading_font_style
|
240
|
+
thematic_break:
|
241
|
+
border_color: $primelightcolor
|
242
|
+
border_style: solid
|
243
|
+
border_width: $base_border_width
|
244
|
+
margin_top: $vertical_rhythm * 0.5
|
245
|
+
margin_bottom: $vertical_rhythm * 2.5
|
246
|
+
description_list:
|
247
|
+
term_font_style: bold
|
248
|
+
term_font_color: $giblish_green
|
249
|
+
term_spacing: $vertical_rhythm / 4
|
250
|
+
description_indent: $horizontal_rhythm * 1.25
|
251
|
+
outline_list:
|
252
|
+
indent: $horizontal_rhythm * 1.5
|
253
|
+
# NOTE item_spacing applies to list items that do not have complex content
|
254
|
+
item_spacing: $vertical_rhythm / 4
|
255
|
+
marker_font_color: $giblish_green
|
256
|
+
table:
|
257
|
+
border_color: $primecolor
|
258
|
+
border_width: $base_border_width * 0.25
|
259
|
+
grid_color: $primecolor
|
260
|
+
body:
|
261
|
+
background_color: $primelightcolor
|
262
|
+
stripe_background_color: $secondlightcolor
|
263
|
+
# HACK accounting for line-height
|
264
|
+
cell_padding: [3, 3, 6, 3]
|
265
|
+
head:
|
266
|
+
background_color: $primecolor
|
267
|
+
font_style: bold
|
268
|
+
font-color: $white
|
269
|
+
foot:
|
270
|
+
background_color: $secondcolor
|
271
|
+
font-color: $white
|
272
|
+
font_style: italic
|
273
|
+
toc:
|
274
|
+
font_color: $secondcolor
|
275
|
+
dot_leader_color: $secondcolor
|
276
|
+
#dot_leader_content: '. '
|
277
|
+
indent: $horizontal_rhythm
|
278
|
+
line_height: 1.4
|
279
|
+
|
280
|
+
header:
|
281
|
+
# NOTE if background_color is set, background and border will span width of page
|
282
|
+
border_color: $primecolor
|
283
|
+
border_width: 0.25
|
284
|
+
height: $topmargin - 0.25cm
|
285
|
+
line_height: 1
|
286
|
+
padding: [$base_line_height_length / 2, 1, 0, 1]
|
287
|
+
vertical_align: bottom
|
288
|
+
image_vertical_align: 10
|
289
|
+
recto:
|
290
|
+
right:
|
291
|
+
content: image:../images/giblish_logo.png[width=80]
|
292
|
+
verso:
|
293
|
+
left:
|
294
|
+
content: $header_recto_right_content
|
295
|
+
|
296
|
+
footer:
|
297
|
+
font_size: $base_font_size_small
|
298
|
+
border_color: $primecolor
|
299
|
+
border_width: 0.25
|
300
|
+
height: $bottommargin - 0.1cm
|
301
|
+
line_height: 1
|
302
|
+
padding: [$base_line_height_length / 2, 1, 0, 1]
|
303
|
+
vertical_align: top
|
304
|
+
#image_vertical_align: <alignment> or <number>
|
305
|
+
# additional attributes for content:
|
306
|
+
# * {page-count}
|
307
|
+
# * {page-number}
|
308
|
+
# * {document-title}
|
309
|
+
# * {document-subtitle}
|
310
|
+
# * {chapter-title}
|
311
|
+
# * {section-title}
|
312
|
+
# * {section-or-chapter-title}
|
313
|
+
recto:
|
314
|
+
#columns: "<50%,0%,>50%"
|
315
|
+
right:
|
316
|
+
#content: '{page-number}'
|
317
|
+
#content: '{section-or-chapter-title} | {page-number}'
|
318
|
+
content: '{document-title} | {page-number}'
|
319
|
+
#center:
|
320
|
+
# content: '{page-number}'
|
321
|
+
verso:
|
322
|
+
#columns: "<50%,0%,>50%"
|
323
|
+
left:
|
324
|
+
content: '{page-number} | {document-title}'
|
325
|
+
#content: '{page-number} | {chapter-title}'
|
326
|
+
#center:
|
327
|
+
# content: '{page-number}'
|