rust/doc/tutorial/web/style.css
Marijn Haverbeke e8e2cd44f4 Add syntax highlighting to the code snippets in the tutorial
Using the CodeMirror Rust mode.
2011-11-01 12:46:46 +01:00

35 lines
465 B
CSS

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 0;
padding: .4em .4em .4em 1em;
font-size: 120%;
}
p.head {
font-size: 80%;
font-style: italic;
text-align: right;
}
a, a:visited, a:link {
text-decoration: none;
color: #00438a;
}