File tree 2 files changed +61
-2
lines changed
2 files changed +61
-2
lines changed Original file line number Diff line number Diff line change @@ -23,29 +23,38 @@ pdf: $(name).pdf
23
23
html : $(name ) .html
24
24
25
25
% .pdf : $(name ) .html
26
+ cp tutorial-simple.css tutorial.css
26
27
ebook-convert $< $@ \
27
- --margin-bottom 30 \
28
- --margin-top 30 \
28
+ --margin-bottom 25 \
29
+ --margin-top 25 \
29
30
--margin-left 20 \
30
31
--margin-right 20 \
31
32
--no-chapters-in-toc \
32
33
--book-producer ' agentzh' \
34
+ --pdf-default-font-size 1 \
35
+ --pdf-mono-font-size 1 \
36
+ --paper-size a4 \
33
37
--output-profile kindle \
34
38
--title " $( title) " --publisher ' agentzh' \
35
39
--language $(lang2 ) --authors ' agentzh'
40
+ git co tutorial.css
36
41
37
42
% .mobi : $(name ) .html
43
+ cp tutorial-simple.css tutorial.css
38
44
ebook-convert $< $@ \
39
45
--output-profile kindle_dx --no-inline-toc \
40
46
--title " $( title) " --publisher ' agentzh' \
41
47
--language $(lang2 ) --authors ' agentzh'
48
+ git co tutorial.css
42
49
43
50
% .epub : $(name ) .html
51
+ cp tutorial-simple.css tutorial.css
44
52
ebook-convert $< $@ \
45
53
--no-default-epub-cover \
46
54
--output-profile kindle_dx \
47
55
--title " $( title) " --publisher ' agentzh' \
48
56
--language $(lang2 ) --authors ' agentzh'
57
+ git co tutorial.css
49
58
50
59
$(name ) .html : $(htmlfiles ) ./utils/gen-html-index-$(lang2 ) .pl
51
60
./utils/gen-html-index-$(lang2 ) .pl -v $(ver ) -o $@ $(htmlfiles )
Original file line number Diff line number Diff line change
1
+ div .thumb img .thumbimage {
2
+ background-color : # FFFFFF ;
3
+ }
4
+
5
+ html .thumbimage {
6
+ border : 1px solid # CCCCCC ;
7
+ }
8
+
9
+ img {
10
+ vertical-align : middle;
11
+ }
12
+
13
+ div .thumbinner {
14
+ background-color : # F9F9F9 ;
15
+ border : 1px solid # CCCCCC ;
16
+ font-size : 94% ;
17
+ overflow : hidden;
18
+ padding : 3px !important ;
19
+ text-align : center;
20
+ min-width : 100px ;
21
+ }
22
+
23
+ .thumbcaption {
24
+ text-align : left;
25
+ border : medium none;
26
+ font-size : 94% ;
27
+ line-height : 1.4em ;
28
+ padding : 3px !important ;
29
+ }
30
+
31
+ div .tright {
32
+ margin : 0.5em 1.3em 1.3em 1.4em ;
33
+ }
34
+
35
+ div .thumb {
36
+ background-color : transparent;
37
+ width : auto;
38
+ }
39
+
40
+ div .tright , div .floatright , table .floatright {
41
+ clear : right;
42
+ float : right;
43
+ }
44
+
45
+ .magnify {
46
+ float : right;
47
+ background : none repeat scroll 0 0 transparent !important ;
48
+ border : medium none !important ;
49
+ direction : ltr;
50
+ }
You can’t perform that action at this time.
0 commit comments