File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ body {
2
+ padding : 1em ;
3
+ margin : 0 ;
4
+ font-family : "Helvetica Neue" , Helvetica, sans-serif;
5
+ }
6
+
7
+ body {
8
+ padding : 1em 6em ;
9
+ max-width : 50em ;
10
+ }
11
+
12
+ h1 { font-size : 22pt ; }
13
+ h2 { font-size : 17pt ; }
14
+ h3 { font-size : 14pt ; }
15
+
16
+ pre {
17
+ margin : 1.1em 0 ;
18
+ padding : .4em .4em .4em 1em ;
19
+ font-size : 120% ;
20
+ }
21
+
22
+ a , a : visited , a : link {
23
+ text-decoration : none;
24
+ color : # 00438a ;
25
+ }
Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ doc/rust.html: rust.md doc/version.md doc/keywords.md
19
19
--section-divs \
20
20
--number-sections \
21
21
--from =markdown --to=html \
22
+ --css=rust.css \
22
23
--output=$@ \
23
24
$<
25
+ @$(call E, cp: $(S)doc/rust.css)
26
+ -$(Q)cp -a $(S)doc/rust.css doc/rust.css 2> /dev/null
27
+
24
28
25
29
ifdef CFG_PDFLATEX
26
30
@@ -50,7 +54,7 @@ ifdef CFG_NODE
50
54
doc/tutorial/web/index.html : \
51
55
$(wildcard $(S)doc/tutorial/*.md)
52
56
@$(call E, cp: $(S)doc/tutorial)
53
- $(Q)cp -a $(S)doc/tutorial doc/
57
+ - $(Q)cp -a $(S)doc/tutorial doc/ 2> /dev/null
54
58
@$(call E, node: build.js)
55
59
$(Q)cd doc/tutorial && $(CFG_NODE) build.js
56
60
You can’t perform that action at this time.
0 commit comments