Skip to content

Commit c3f9b72

Browse files
committed
docs: Tweak style
1 parent 863c60e commit c3f9b72

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

doc/rust.css

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
body {
22
padding: 1em;
33
margin: 0;
4+
margin-bottom: 4em;
45
font-family: "Helvetica Neue", Helvetica, sans-serif;
56
background-color: white;
67
color: black;
8+
line-height: 1.6em;
79
}
810

911
body {
@@ -12,12 +14,16 @@ body {
1214
}
1315

1416
h1 {
15-
font-size: 22pt;
17+
font-size: 20pt;
1618
margin-top: 2em;
17-
border-bottom: 2px solid silver;
19+
border-bottom: 1px solid silver;
20+
line-height: 1.6em;
1821
}
19-
h2 { font-size: 17pt; }
20-
h3 { font-size: 14pt; }
22+
h2 {
23+
font-size: 15pt;
24+
margin-top: 2em;
25+
}
26+
h3 { font-size: 13pt; }
2127

2228
pre {
2329
margin: 1.1em 0;
@@ -27,7 +33,7 @@ pre {
2733

2834
a, a:visited, a:link {
2935
text-decoration: none;
30-
color: #00438a;
36+
color: rgb(0, 105, 214);
3137
}
3238

3339
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
@@ -54,20 +60,12 @@ h3 a:link, h3 a:visited { color: black; }
5460
.cm-s-default span.cm-tag {color: #170;}
5561
.cm-s-default span.cm-attribute {color: #00c;}
5662

57-
h1.title {
58-
background-image: url('http://www.rust-lang.org/logos/rust-logo-32x32-blk.png');
59-
background-repeat: no-repeat;
60-
background-position: right;
61-
}
62-
6363
#versioninfo {
6464
position: fixed;
6565
bottom: 0px;
6666
right: 0px;
6767

6868
background-color: white;
69-
border-left: solid 1px black;
70-
border-top: solid 1px black;
7169
padding: 0.5em;
7270
}
7371

@@ -99,3 +97,8 @@ td {
9997
#TOC ul ul {
10098
display: none;
10199
}
100+
101+
#TOC ul {
102+
list-style: none;
103+
padding-left: 0px;
104+
}

0 commit comments

Comments
 (0)