File tree Expand file tree Collapse file tree 2 files changed +61
-2
lines changed Expand file tree Collapse file tree 2 files changed +61
-2
lines changed Original file line number Diff line number Diff line change @@ -23,29 +23,38 @@ pdf: $(name).pdf
2323html : $(name ) .html
2424
2525% .pdf : $(name ) .html
26+ cp tutorial-simple.css tutorial.css
2627 ebook-convert $< $@ \
27- --margin-bottom 30 \
28- --margin-top 30 \
28+ --margin-bottom 25 \
29+ --margin-top 25 \
2930 --margin-left 20 \
3031 --margin-right 20 \
3132 --no-chapters-in-toc \
3233 --book-producer ' agentzh' \
34+ --pdf-default-font-size 1 \
35+ --pdf-mono-font-size 1 \
36+ --paper-size a4 \
3337 --output-profile kindle \
3438 --title " $( title) " --publisher ' agentzh' \
3539 --language $(lang2 ) --authors ' agentzh'
40+ git co tutorial.css
3641
3742% .mobi : $(name ) .html
43+ cp tutorial-simple.css tutorial.css
3844 ebook-convert $< $@ \
3945 --output-profile kindle_dx --no-inline-toc \
4046 --title " $( title) " --publisher ' agentzh' \
4147 --language $(lang2 ) --authors ' agentzh'
48+ git co tutorial.css
4249
4350% .epub : $(name ) .html
51+ cp tutorial-simple.css tutorial.css
4452 ebook-convert $< $@ \
4553 --no-default-epub-cover \
4654 --output-profile kindle_dx \
4755 --title " $( title) " --publisher ' agentzh' \
4856 --language $(lang2 ) --authors ' agentzh'
57+ git co tutorial.css
4958
5059$(name ) .html : $(htmlfiles ) ./utils/gen-html-index-$(lang2 ) .pl
5160 ./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