diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-31 16:18:59 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-31 16:21:39 +0100 |
| commit | 0b4f0a4caa6e765226c5f9d5609289dccb1072ce (patch) | |
| tree | 05bc8ec0e832959fa0b0fbd7c1f2a1a1e45dffb5 /doc/tutorial/web | |
| parent | 80c926c5e253d6db299698cfd4932dbcb61cd1bd (diff) | |
| download | rust-0b4f0a4caa6e765226c5f9d5609289dccb1072ce.tar.gz rust-0b4f0a4caa6e765226c5f9d5609289dccb1072ce.zip | |
Add a first stab at a tutorial
You build it with `cd doc/tutorial; node build.js`, and then point your browser at doc/tutorial/web/index.html. Not remotely ready for publicity yet.
Diffstat (limited to 'doc/tutorial/web')
| -rw-r--r-- | doc/tutorial/web/style.css | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/tutorial/web/style.css b/doc/tutorial/web/style.css new file mode 100644 index 00000000000..a71180027f0 --- /dev/null +++ b/doc/tutorial/web/style.css @@ -0,0 +1,36 @@ +body { + padding: 1em; + margin: 0; + font-family: "Helvetica Neue", Helvetica, sans-serif; +} + +#content { + padding: 1em 6em; + max-width: 50em; +} + +h1 { font-size: 22pt; } +h2 { font-size: 17pt; } +h3 { font-size: 14pt; } + +code { + color: #033; +} + +pre { + margin: 1.1em 12px; + border: 1px solid #CCCCCC; + padding: .4em; + font-size: 120%; +} + +p.head { + font-size: 80%; + font-style: italic; + text-align: right; +} + +a, a:visited, a:link { + text-decoration: none; + color: #00438a; +} |
