Skip to content

Commit 0e5e81b

Browse files
jshaJoshua Nelson
authored and
Joshua Nelson
committed
Make crates page closer to rustdoc pages.
- Align the whole page to the left, rather than center. - Change the "Docs.rs" link on the rustdoc page to use three cubes, like other pages do.
1 parent 38ba774 commit 0e5e81b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

templates/rustdoc/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</div>
1818

1919
<a href="/" class="pure-menu-heading pure-menu-link">
20-
{{ "cube" | fas(fw=true) }} <span class="title">Docs.rs</span>
20+
{{ "cubes" | fas(fw=true) }} <span class="title">Docs.rs</span>
2121
</a>
2222

2323
<ul class="pure-menu-list">

templates/style/base.scss

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pre {
7070

7171
div.container {
7272
max-width: 1160px;
73-
margin: 0 auto;
7473
text-align: left;
7574
}
7675

0 commit comments

Comments
 (0)